qa

qa is an agent for Claude Code from s977043/river-review. It costs 14 tokens per session (353 once invoked), scanned A, original, MIT.

A code-review agent focused on the quality and completeness of automated tests. It checks coverage of normal inputs, boundary cases, errors, asynchronous behavior, and test isolation.

In plain words
What is it for?
Use it to review a diff for missing assertions, edge-case tests, flaky patterns, shared state, and concrete test-case suggestions.
Why use it?
It points out where a code change could break existing behavior without the tests noticing, and where tests themselves may be unreliable.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the river-review plugin — 139 skills, 18 commands, 5 agents, 3 hooks shipped together

Good fit Use it to review a diff for missing assertions, edge-case tests, flaky patterns, shared state, and concrete test-case suggestions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/s977043/river-review/qa
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/s977043/river-review

Made for: Claude Code.

Or install river-review, the plugin that ships this one along with the rest of its 139 skills, 18 commands, 5 agents, 3 hooks.

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/agents/s977043/river-review/qa/github.svg)](https://agentmods.dev/agents/s977043/river-review/qa)
Your own site
<a href="https://agentmods.dev/agents/s977043/river-review/qa"><img src="https://agentmods.dev/badge/agents/s977043/river-review/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/agents/s977043/river-review/qa"><img src="https://agentmods.dev/badge/agents/s977043/river-review/qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 353 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.00014 $0.00353
Opus 5.5 $0.00006 $0.00141
Sonnet 5.5 $0.00003 $0.00071
Haiku 4.5 $0.00001 $0.00035

Measured 2mo ago against content hash 2e417e9e40c6, 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 2mo 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.

.github/agents/qa.agent.md · 41 lines

What it actually says

You are the "qa" review agent.

Focus: Test coverage gaps, missing edge cases, flaky test patterns, missing assertions, and test isolation failures.

Checklist

For every diff, ask:

  1. Does every new public function or exported symbol have at least one test covering the happy path?
  2. Are boundary values tested (empty input, null/undefined, maximum length, zero, negative numbers)?
  3. Are error paths and thrown exceptions explicitly asserted, or only the success branch?
  4. Do tests use real I/O, timers, or network calls that could make them flaky? If so, are they properly mocked or marked as integration tests?
  5. Is each test fully isolated — no shared mutable state, no order dependency between tests?
  6. Does the diff delete or comment out existing tests without a documented reason?
  7. For async code, are all promises awaited and rejections asserted?

Output

  • Findings in priority order (High/Med/Low).
  • Include missing tests as concrete test-case suggestions (function name, input, expected output).

When to Escalate

Escalate to human reviewer when:

  • A test gap reveals that the expected behavior for an edge case is undefined in the spec or requirements — this is a requirements gap, not just a test gap.
  • The diff removes a test that was the only coverage for a critical code path.
  • Flaky patterns (e.g., setTimeout, non-deterministic ordering) are introduced in CI-blocking test suites and cannot be fixed without rearchitecting the feature.
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. 2mo ago First seen · 41 lines · 14 tokens per session scan A 2e417e9e40c6

Subscribe to this mod's changes

qa is an agent published in the GitHub repository s977043/river-review (7 stars, last pushed 2d ago), licensed MIT. It adds 14 tokens to every session and 353 once invoked, about $0.0001 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-08-31.

Related

Other agents, from other repositories

iteration-guard

The verify gate of the Logic-Lens iteration loop. Given a baseline iteration and a candidate iteration, compares their summary.json (overall, logic vs format subscores, per-mode, per-language), accounts for single-run variance, and returns a SHIP / ROLLBACK / RERUN recommendation with evidence. Use after…

hyhmrright/logic-lens · 99 tokens

harness-evaluator

Harness Evaluator — independent code evaluation with Tier 1 deterministic checks and Tier 2 deep logic analysis. Use when harness orchestrator needs checkpoint evaluation.

stone16/harness-engineering-skills · 35 tokens

harness-generator

Harness Generator — implements checkpoint code with TDD and atomic commits. Use when harness orchestrator needs code generation for a checkpoint.

stone16/harness-engineering-skills · 29 tokens

test-reviewer

Review-only agent for test quality — whether tests protect critical behavior and catch realistic regressions; mock/fixture drift, test layering, missing critical scenarios. P0–P2.

akholod/consensus-review · 40 tokens

consistency-qa

The brooks-lint verification gate. Runs npm run validate, npm test, and npm run evals, then cross-checks the documents the validator can't fully diff — the four plugin manifests, all six README badges, the docs landing-page JSON-LD, CHANGELOG, AGENTS.md, GEMINI.md, and the derived book count — for drift. Reports…

hyhmrright/brooks-lint · 123 tokens

edge-case-explorer

Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…

testdouble/han · 135 tokens