The Claude Code plugin¶
The repository doubles as a Claude Code plugin marketplace. Installing the plugin gives Claude a skill,
analysing-har, that switches on when you talk about a HAR capture, and a slash command, /analysing-har. Claude then runs WireTrail
for you, installs it if it is missing, and works through the same steps you would.
Install it¶
In Claude Code, add the marketplace once, then install the plugin:
The plugin name and the marketplace name are both analysing-har, which is why the identifier reads analysing-har@analysing-har. Check
that it is installed:
Use it¶
Describe the problem in plain words, or point at a file:
The slash command takes the path and, optionally, a focus such as errors, auth or duplicates. The skill also switches on by
itself when the conversation mentions "analyse har", "debug har" or wiretrail, when a .har file appears in the conversation or the working
folder, and when you ask about request storms, duplicate calls, retries, errors, slow requests, token refresh, rate limiting, redirects,
searching bodies or comparing with a baseline.
What the plugin tells Claude to do¶
The skill is a written set of defaults, so the agent behaves like an experienced user:
- Make sure WireTrail is installed, and run
cargo install wiretrailif it is not. - Run
autofirst. It prints the summary, ranks the problems and drills into the serious ones, which usually answers the whole question.auto --alladds the low-severity findings. - Go deeper only where
autopoints, or where you named a focus, using the--filterthe recommendation shows. - Report the evidence: entry ids, counts, statuses and excerpts, so you can check them.
- Prefer
--jsonandjqto pick out fields, and never parse the HAR JSON by hand. - Use
--unsafe-include-secretsonly when you need a replayable request, and say so, because the output then holds live credentials.
The full text is in SKILL.md
and analysing-har.md. You can read
them, fork them, or paste them into another agent's instructions.
Update and uninstall¶
Working with an agent¶
Whichever agent runs wiretrail, a few habits make the result more useful and safer:
- Give it the capture path and the question. "Why does the cart sync fail?" is answerable. "Fix my app" is not.
- Check what it quotes. WireTrail masks the secrets it recognizes, and an agent that quotes
searchorextractoutput, or a header it does not know is secret, can repeat a credential. See How redaction works. - Keep captures private. A capture holds session tokens, cookies and personal data. An agent that reads one has read all of it. See Handle captures safely.
- Ask for evidence. Entry ids let you open the same request with
show-entryand check a claim. - Treat a finding as a lead. A ranked finding says a pattern was seen. Whether it is a bug is your decision.
Related¶
- Choose the right command is the same map the skill follows.
- JSON output for what an agent should read.
- Download and install if you want WireTrail on your
PATHwithout the plugin.