qa

qa is a command for Claude Code from MadAppGang/magus. It costs 59 tokens per session (4,583 once invoked), scanned A, original, MIT.

A command that writes behaviour tests from a specification or public contract without giving the test writer access to the implementation, then runs the tests and a negative control.

In plain words
What is it for?
Use it to generate and run independent quality-assurance tests for a feature, API, or other publicly defined behaviour.
Why use it?
It helps keep tests focused on what users or callers can observe rather than on how the code happens to work. It also stops when the required specification or contract is missing.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dev plugin — 19 skills, 15 commands, 12 agents shipped together

Good fit Use it to generate and run independent quality-assurance tests for a feature, API, or other publicly defined behaviour.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add MadAppGang/magus
Claude Code
/plugin install dev

Made for: Claude Code.

Or install dev, the plugin that ships this one along with the rest of its 19 skills, 15 commands, 12 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qa

README.md
[![agentmods](https://agentmods.dev/badge/commands/madappgang/magus/qa/github.svg)](https://agentmods.dev/commands/madappgang/magus/qa)
Your own site
<a href="https://agentmods.dev/commands/madappgang/magus/qa"><img src="https://agentmods.dev/badge/commands/madappgang/magus/qa/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qa

Your own site · 80×15
<a href="https://agentmods.dev/commands/madappgang/magus/qa"><img src="https://agentmods.dev/badge/commands/madappgang/magus/qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00059 $0.04583
Opus 5.5 $0.00024 $0.01833
Sonnet 5.5 $0.00012 $0.00917
Haiku 4.5 $0.00006 $0.00458

Measured 4d ago against content hash 671d3214de2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qa scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dev/commands/qa.md · 279 lines

How it starts

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

If --spec or --contract is missing, or a path does not exist, stop with BLOCKED — <what is missing>. Never search the repo for a spec to substitute.

    | Stack | Copy, when found |
    |---|---|
    | go | `${CLAUDE_PLUGIN_ROOT}/../go/knowledge/roles/tester/` and `…/go/knowledge/references/testing-patterns.md`, or the same under `${CLAUDE_PLUGIN_ROOT}/../../go/*/` |
    | bun | `${CLAUDE_PLUGIN_ROOT}/../bunjs/skills/testing/`, or `${CLAUDE_PLUGIN_ROOT}/../../bunjs/*/skills/testing/` |
    | ui | `${CLAUDE_PLUGIN_ROOT}/skills/testing/ui-playwright/` and `${CLAUDE_PLUGIN_ROOT}/knowledge/frontend/testing-frontend.md` |
    | always | `${CLAUDE_PLUGIN_ROOT}/skills/core/testing-strategies/` |

Read the full file on GitHub · 279 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. 4d ago Changed · +10 lines 671d3214de2f
  2. 11d ago Changed 4c056247d889
  3. 19d ago Changed · +1 lines 093dea7f2aa8
  4. 29d ago Changed · +12 lines d1f2f8dd7e9c
  5. 1mo ago Changed · +66 lines · +8 tokens per session e50e018f68a4
  6. 1mo ago Changed · +41 lines aa9894f59e3a
  7. 1mo ago Changed · +2 lines 3c99cc085e21
  8. 1mo ago Changed · +4 lines 30b7fd6f8da4
  9. 2mo ago Changed · -1 lines 70caabe0c067
  10. 2mo ago First seen · 144 lines · 51 tokens per session scan A 2b626ae8a919

Subscribe to this mod's changes

qa is a command published in the GitHub repository MadAppGang/magus (16 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 4,583 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.

Related

qa compared with commands from other repositories

qa next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
qaMadAppGang/magusCommand16todayMITA59Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code