qa

qa is a command for coding agents from HigorAlves/orc. It costs 53 tokens per session (2,484 once invoked), scanned A, original, MIT.

A pre-pull-request quality gate for code and web changes. For web work, it also checks the running site in a browser and saves an evidence packet; for other work, it runs checks such as tests, linting, and type-checking.

In plain words
What is it for?
Use it to test, lint, and type-check code, or to exercise web flows in a local environment with either a visible Chrome session or a headless browser validator.
Why use it?
It gives you recorded proof that the change was checked before opening a pull request. It also separates a full quality gate from a quick behavior check that does not produce the same evidence packet.

Command

Part of the orc plugin — 13 skills, 30 commands, 14 agents, 5 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/higoralves/orc/qa
Clone the repo
git clone --depth 1 https://github.com/HigorAlves/orc

Or install orc, the plugin that ships this one along with the rest of its 13 skills, 30 commands, 14 agents, 5 hooks.

Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,484 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00053 $0.02484
Opus 5 $0.00026 $0.01242
Sonnet 5 $0.00011 $0.00497
Haiku 4.5 $0.00005 $0.00248

Measured 3d ago against content hash 8418cca6fb7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qa scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bash(curl:*)
orc/commands/qa.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/orc:qa

Run a quality gate before opening a PR. Two modes:

  • Code/CLI/library change — run tests, lint, type-check; verify with orc:verification-before-completion; do a self-review with orc:caveman-review. No browser.
  • Web change — same as above PLUS browser-driven QA, with a driver chosen per run (Phase 4.1): the agent-browser CLI via the orc-qa-validator agent (headless, richest evidence), or the Claude-in-Chrome extension run inline in this session (the user watches the test live in their own browser). Evidence is saved to .orc/<branch>/files/qa/ either way.

Arguments

  • --auto[=guided|full] — autopilot level for this run (overrides interaction_policy; taxonomy in orc:using-orc). Soft-inward gates consult the resolved policy — guided auto-advances mechanical confirms with a printed one-liner; full pre-approves them from settled decisions (orc:state-protocol), stopping only on escalation-only conditions. Hard-outward gates are unaffected at every level.

  • --web <url> — explicit URL of a running app (skips env provisioning AND the validator's boot path — you're saying it's already up).

  • --no-web — force code-only mode even if web files were touched.

  • --no-env — skip Docker env provisioning; the validator falls back to its legacy dev-script boot.

  • --driver agent-browser|chrome — pick the browser driver up front and skip the Phase 4.1 prompt. agent-browser = headless CLI via orc-qa-validator (criterion-anchored annotated screenshots, WebM recording when ffmpeg is installed, HAR, network mocking). chrome = Claude-in-Chrome extension, run inline so the user watches live in their real browser (real sessions/extensions, GIF recording).

  • The remaining argument is the feature description (used to scope golden-path testing).

Workflow

Phase 0 — Detect context

!orc-workspace-detect --banner

Context is injected above (ORC_* vars are exported for any Bash you run — do not re-run detection).

In workspace mode, resolve targetRepos from flags or via AskUserQuestion. Default in workspace mode is to verify every repo in the active workspace session's repos array. The web-QA target is always one repo — pick from the plan's "Repo touchpoints" section (the entry that owns the web surface) or prompt if ambiguous.

Read the full file on GitHub · 138 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 138 lines · 53 tokens per session scan A 8418cca6fb7a

Subscribe to this mod's changes

qa is a command published in the GitHub repository HigorAlves/orc (6 stars, last pushed 6d ago), licensed MIT. It adds 53 tokens to every session and 2,484 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.