QA Crawler
An autonomous QA coverage crawler for owned web apps. It treats testing as the inverse of solving
a maze: a maze-solver hunts one hidden exit and throws dead ends away; this maps the whole app and
inspects every node, and the dead ends are the findings. It works with full codebase access, client
only, or none — the access level changes the method, never the standard of proof.
Three ways to use the exact same engine:
- CLI — a complete application on its own: crawl a site, get a report. No agent needed.
- MCP server — drop the engine into any MCP-capable AI agent; the model adds judgment on top of the deterministic crawl.
- Claude Code plugin — the packaged bundle: the MCP engine + a skill (the operating standard) + a slash command + orchestrator/worker subagents for scale.
Why it's built this way
Deterministic machinery in code; judgment in the model. The frontier, dedup, anchor→node replay,
the coverage ledger, and the automatic checks live in TypeScript (they must be deterministic, or things
get skipped and forgotten). The judgment — is this a real issue, what was the correct result, what are
a flow's branches — is the model's job. The two never substitute for each other.
The design rules (the "why") are in the companion documents The Problem-Seeker's Standard and The
Golden QA Session. The short version — six invariants, enforced by the ledger:
- Evidence over assertion · 2. Coverage is enumerated (not estimated) · 3. Access changes method, not standard · 4. Context is volatile, the ledger is durable · 5. Skips are loud · 6. Do no harm.
Install
Requires Node ≥ 20 and pnpm. One native step is unavoidable everywhere: better-sqlite3 compiles a
native module and Playwright downloads Chromium — so every install path ends with sh setup.sh
(= pnpm install && pnpm build) run once inside the plugin directory. (It is a plain shell script, not
a package.json script, because pnpm refuses to run scripts before node_modules exists.)
As a Claude Code plugin (recommended)
# 1. Add the marketplace and install
/plugin marketplace add DevZonayed/qa-crawler # or: /plugin marketplace add https://github.com/DevZonayed/qa-crawler
/plugin install qa-crawler@qa-crawler-marketplace
# 2. One-time build inside the installed plugin directory (native SQLite + Chromium)
cd ~/.claude/plugins/qa-crawler* && sh setup.sh # path shown by /plugin
# 3. Verify
/qa-crawl https://example.com
Working from a clone instead (development / your own machine):
git clone https://github.com/DevZonayed/qa-crawler && cd qa-crawler
sh setup.sh
node dist/cli.js --url https://example.com # smoke: should report ~2 a11y findings
Then register it as a local marketplace: /plugin marketplace add /path/to/qa-crawler.
Resuming an interrupted run
Every run is crash-only: state lives in runs/<runId>/ledger.db, so an interrupted run continues from
its frontier — finished nodes stay finished, interrupted ones are re-queued.
node dist/cli.js my-run.json --resume books-2026-08-22-6cb823
Over MCP: qa_run_init({ config, resumeRunId: "books-2026-08-22-6cb823" }).
1 · CLI (no agent)
# quick, anonymous crawl of a public site
node dist/cli.js --url https://example.com
# a full run from a config (auth, actors, tiers, viewports)
cp examples/config.example.json my-run.json # edit target + creds (creds via ${ENV} vars)
QA_ADMIN_EMAIL=... QA_ADMIN_PASSWORD=... node dist/cli.js my-run.json
Output lands in runs/<runId>/: ledger.db (the resumable coverage ledger), report.html,
report.json, sitemap.json, and evidence/*.png. The run is resumable — the ledger is the truth.
What the deterministic pass finds on its own: non-2xx pages behind a rendered screen, console
errors, failed network requests, broken same-origin links, horizontal overflow at each viewport,
axe-core accessibility violations (mapped to severities), unlabelled form fields, unmasked password
fields, and missing password-recovery paths — plus a full per-screen control inventory so nothing is
silently skipped.
2 · MCP server (any agent)
Point an MCP client at the built server:
// .mcp.json in another project
{ "mcpServers": { "qa-crawler": { "command": "node", "args": ["/abs/path/to/qa-crawler/dist/index.js"] } } }
Tools: qa_run_init · qa_crawl_auto · qa_crawl_next · qa_record_verdict · qa_save_finding ·
qa_replay_to · qa_act · qa_status · qa_report · qa_close. Resource qa://config-schema
describes the config. The agent runs qa_crawl_auto for the baseline, then loops qa_crawl_next to add
judgment, and resumes any interrupted run from qa_status.
3 · Claude Code plugin
The repo is the plugin (.claude-plugin/plugin.json). Install it (e.g. add this directory as a
plugin / to a marketplace), then: