/core:har --input capture.harfrom core
Records, searches, filters and redacts HAR captures and turns them into scrapers. Use when the user has or needs a HAR capture. Not for non-capture JSON or HTML.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
CANARY: har-loaded-2026-08-30-7f3a91c4-2b6d4e8a1c9f0b73
A browser capture holds every request, header and response body of a session, in 5–500 MB of JSON. The few hundred bytes that matter — which endpoint returns the data, which parameter pages it, which header authenticates it — are reached through these scripts rather than by reading the file.
.har file has to be searched, summarised, filtered, reduced or made safe
to commit.A JSON or HTML file that did not come out of a capture needs none of this.
uv run --with playwright python3 "${CLAUDE_SKILL_DIR}/scripts/capture_har.py" \
--url https://jobs.example.com/search --output capture.har
It records into a fresh browser context, so no operator cookie or login ends up
in the file, and writes the HAR even when navigation times out. --headed to
watch, --wait S for late XHR. Read references/capturing.md before changing
any of that.
Paste a string that was visible on the page; get back the request that returned it, then its shape:
python3 "${CLAUDE_SKILL_DIR}/scripts/query_har.py" --input capture.har \
--response-match "Senior Rust Engineer"
python3 "${CLAUDE_SKILL_DIR}/scripts/query_har.py" --input capture.har --show 4 --schema
--schema prints keys, types and array lengths, often 100× smaller than the
body. On an unfamiliar capture, run analyze_har.py --input capture.har first:
its XHR/JSON count says whether to look for endpoints or parse rendered HTML.
| Script | What it answers |
|---|---|
query_har.py | Which entries match, what one contains, and getting bodies out |
analyze_har.py | What is in here and how to iterate it; --endpoints finds pagination, --index builds the sidecar |
validate_har.py | Is this capture usable, and what did its exporter leave out |
create_repro.py | One entry to a runnable curl or Python requests snippet (--id N --format curl|python) |
create_har.py | A derived capture — filtered, redacted, bodies dropped — small enough to commit |
compare_har.py | What changed between two captures: the scraper's early-warning test |
capture_har.py | Record a capture when nobody is at the browser |
The readers share --input, --json and one selection grammar (--url,
--host, --status, --type, --param, --response-match, …), and each runs
--help for its flags. Output is capped at 20 rows / 4096 bytes and says so;
--limit 0 or --output PATH gives the full result. Files written to disk
carry redacted credentials; create_repro.py --secrets and
create_har.py --keep-bodies opt back in and say the result is as sensitive as
the capture.
Run validate_har.py --input capture.har before concluding the endpoint is
absent. It reports whether bodies were recorded, whether they are base64, and
whether _resourceType exists, which separates a bad capture from a bad query.
A no body captured result is a reason to re-export, not evidence the endpoint
is elsewhere.
| File | Load when |
|---|---|
references/commands.md | Composing a query: analyze_har.py modes, extraction flags, the index, output caps and redaction rules |
references/filters.md | Selecting entries: every flag, how they compose, and the three that behave differently from how they look |
references/recipes.md | Walking the whole path from a capture to a request that runs in a loop |
references/capturing.md | Recording a capture without a person at the browser |
evals/loading_verification.json (opens in a new tab)references/capturing.md (opens in a new tab)references/commands.md (opens in a new tab)references/filters.md (opens in a new tab)references/recipes.md (opens in a new tab)scripts/_filters.py (opens in a new tab)scripts/_harlib.py (opens in a new tab)scripts/analyze_har.py (opens in a new tab)scripts/capture_har.py (opens in a new tab)scripts/compare_har.py (opens in a new tab)scripts/create_har.py (opens in a new tab)scripts/create_repro.py (opens in a new tab)scripts/query_har.py (opens in a new tab)scripts/validate_har.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nuncaeslupus/claude-arsenal --plugin coreOther plugins' skills for the same job
23 skills in this plugin
/arsenal-initRuns the claude-arsenal installer (the init skill) under a name that does not collide with Claude Code's built-in /init. Use when the user types /arsenal-init. Not for writing a CLAUDE.md./bugreportReads Android bugreports (dumpstate .txt or .zip) through a byte-offset index — device summary, ranked checkup, section lookup, merged timeline, redacted copies, report diffs. Use when the user has a bugreport to read or diagnose. Not for live-device adb sessions or logcat-only files./coverage-gapsRanks the most valuable missing tests from coverage.py's coverage.json. Use when the user asks which tests are missing. Not for non-Python code.