qa
QA
Drive a website with a real browser, judge how well it does the thing the user asked about, and return a score from 1 (broken) to 5 (excellent) with evidence. The deliverable is a verdict, not a screenshot dump.
Inputs
From the user's invocation (the text after /qa, or their message):
- Target — a URL (
https://…) or a local dev server (localhost:5173,:3000, "the app on 5173"). Required — if absent, ask for it before doing anything else. - What to test (optional) — a flow or focus ("the signup", "search + filters"). If omitted, test the most obvious happy path and say so in the report.
Can you see images? (decide this first)
This skill's verdict is visual — you judge the app by looking at screenshots. So before anything else, check whether *you* — the agent running this skill — can actually see images:
- You have vision (multimodal / image input) → you can judge screenshots yourself. Continue to "Single flow vs. fan-out" below and choose by scale.
- You have no vision (text-only model, no image support) → you cannot judge screenshots, and neither can same-model subagents you'd spawn. You must hand the visual judgment to Browser Use v2 cloud agents, whose own LLM looks at the page server-side and returns a text verdict (
judgepass/fail + a 1–5structuredOutput). Use v2 for every flow — even a single one — perreferences/browser-use-v2.md. Do not drivebrowser-useyourself to read screenshots, and do not fan out to your own (equally blind) subagents. The single-flow-vs-fan-out choice below does not apply to you — it's v2 either way.
If you're unsure whether you can see images, assume you can't and use v2.
Single flow vs. fan-out (only if you can see images)
Scale the approach to the ask:
- Testing one flow / one thing? Don't bother with subagents — drive the
browser-useCLI directly yourself, followingreferences/methodology.md. That's the right, lowest-overhead tool for a single test, and it's how the rest of this skill works. - Testing many flows / a lot at once? Fan out to subagents — one per flow — so they run in parallel. Here the user has a choice of subagent type (ask if unclear; recommend v2):
- Browser Use v2 cloud agents — recommended. Each flow becomes an autonomous v2 task with
judge(pass/fail) +structuredOutput(1–5 score), running server-side and in parallel, returning step-by-step screenshot evidence. Spends Browser Use credits (~$0.01/task + ~$0.006/step + $0.06/hr browser). Per-task flow + how to fan out:references/browser-use-v2.md. - Your harness's built-in subagents — spawn Claude Code subagents (the Agent tool), each driving
browser-usethroughreferences/methodology.md. No Browser Use *task* credits; uses your agent's own usage.
Rule of thumb (vision agents only — text-only agents use v2 for everything, see above): one flow → browser-use directly; many flows → subagents (v2 recommended). Either way the browser-use CLI is required — as the direct driver, the subagent driver, and the v2 key store.
Dependency: the Browser Use CLI (required — install it yourself)
This skill runs the test through the Browser Use CLI (browser-use). It is not optional; QA must run on a real Browser Use cloud browser, never the user's local Chrome.
Before anything else, verify it's available:
command -v browser-use && browser-use --version # must print browser-use 1.x (browser-harness …)If browser-use is not on PATH, or it prints an older version (0.x has no browser-use <<'PY' mode), install it yourself — don't make the user do it. QA runs on a *cloud* browser, so the CLI is all you need: none of the local-browser setup (chrome://inspect, --remote-debugging-port, the "Allow remote debugging" popup) applies here — skip all of it. The install is one-time (~30s) and replaces an older install:
command -v uv || curl -LsSf https://astral.sh/uv/install.sh | sh # the uv installer, only if missing
uv tool install browser-use
command -v browser-use # verify it's on PATH now(No uv and can't curl | sh? Install uv per https://docs.astral.sh/uv/getting-started/installation/ then re-run the uv tool install line — or pipx install browser-use.)
The only other thing a run needs is a Browser Use API key, and that also auto-resolves with no human — see references/methodology.md step 0 (it can self-sign-up for a free key). So a fresh machine goes from "just installed qa" to a working test without the user doing any setup.
If you genuinely can't install it (no network, no Python): stop and tell the user. Never fall back to the user's local Chrome.
Do not attempt to QA with anything other than browser-use + a cloud browser.
Procedure
- Confirm the target is reachable (
curl -s -o /dev/null -w "%{http_code}" <url>), and identify what the app is (title, README) so you can frame a sensible test task. - Run it — first apply the vision gate from "Can you see images?" above:
- No vision (text-only)? → use v2 cloud agents for every flow (one v2 task per flow, each with
judge+ a 1–5structuredOutput), perreferences/browser-use-v2.md. Skip the single-flow/subagent split below — it's v2 regardless of scale. Tunnel alocalhosttarget and pass the publicstartUrl. - Vision, one flow → drive
browser-usedirectly per `refe
