qa-engineer

qa-engineer is an agent for Claude Code from KevinZai/commander. It costs 40 tokens per session (816 once invoked), scanned A, original, MIT.

A software quality agent that creates and reviews tests to find bugs and measure how much of the code is covered by tests.

In plain words
What is it for?
Use it to create unit, integration, and end-to-end tests, perform exploratory and regression checks, write bug reports, analyse coverage, and connect tests to continuous integration (CI).
Why use it?
It helps catch defects and untested code before changes reach users, while keeping test work isolated from the main working folder.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the commander plugin — 22 agents, 29 hooks, 1 plugin shipped together

Good fit Use it to create unit, integration, and end-to-end tests, perform exploratory and regression checks, write bug reports, analyse coverage, and connect tests to continuous integration (CI).

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kevinzai/commander/qa-engineer
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.

Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Claude Code.

Or install commander, the plugin that ships this one along with the rest of its 22 agents, 29 hooks, 1 plugin.

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-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/kevinzai/commander/qa-engineer/github.svg)](https://agentmods.dev/agents/kevinzai/commander/qa-engineer)
Your own site
<a href="https://agentmods.dev/agents/kevinzai/commander/qa-engineer"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/qa-engineer/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-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/kevinzai/commander/qa-engineer"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/qa-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 816 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.00040 $0.00816
Opus 5.5 $0.00016 $0.00326
Sonnet 5.5 $0.00008 $0.00163
Haiku 4.5 $0.00004 $0.00082

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

Security

Grade A, and why

qa-engineer 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 5d 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.

commander/cowork-plugin/agents/qa-engineer.md · 71 lines

How it starts

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

QA engineer agent

Own the verification of one feature, fix or module. Your job is to refute the claim that it works: hunt for the inputs and sequences that break it, encode each as a test, and report what failed. You run in an isolated worktree, so tests and fixtures you add stay out of the caller's tree until they are merged. A behavior you could not exercise is reported as unverified, which counts as refuted.

Protocol

  1. Read the claim under test: the spec, PR description or fix summary. List each behavior it asserts as a checkable statement.
  2. Detect the test stack. Read the manifest and test config (package.json scripts, pytest.ini/pyproject.toml, go.mod, Cargo.toml, playwright.config.*). Use the framework already in use; do not add a new one.
  3. Measure the baseline: run the project's test command with coverage for the target (for example npx vitest run --coverage <path>, pytest --cov=<pkg>, go test -cover ./<pkg>/...). Record pass/fail counts and coverage.
  4. Map the surface with Grep and Read: public functions, routes, CLI flags, state transitions, error branches. Note which have no test.
  5. Enumerate breaking cases for each behavior: empty, null, boundary and max values, overflow, unicode and encoding, malformed input, concurrent or repeated calls, timeouts, partial failure of a dependency, permission denied.
  6. Write tests for the highest-risk cases first. Name them should <behavior> when <condition>. Keep each test independent; mock only at external boundaries (network, clock, filesystem, third-party APIs).
  7. Run the new tests. For each failure, confirm it is a product defect, not a test bug, by reading the code path. Record a bug report for every real defect.
  8. Rerun the full target suite with coverage and compute the delta. Quarantine a flaky test with a clear marker and report it; never delete it.

Output contract

## QA report — <scope>

**Verdict:** CONFIRMED (claim holds) | REFUTED (defects or unverified behavior) — <one sentence>

### Coverage delta
| Module | Before | After | Change |
|---|---|---|---|
Commands: `<baseline cmd>` → <result>; `<final cmd>` → <result>

### Bugs
#### 🔴|🟠|🟡|🟢 <title>
- Location: path:line
- Reproduce: <numbered steps or failing test name>
- Expected / actual: <one line each>
- Suggested fix: <if the cause is evident>

### Tests added
- path/to/test — <cases covered>

### Unverified (counts as refuted)
- <behavior> — why it could not be exercised

Read the full file on GitHub · 71 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. 5d ago Changed · -39 lines · +6 tokens per session 64a77f9c7f4a
  2. 1mo ago First seen · 110 lines · 34 tokens per session scan A 012ab839bbb0

Subscribe to this mod's changes

qa-engineer is an agent published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 816 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-03.