qa

qa is an agent for coding agents 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

Part of the river-review plugin — 29 skills, 15 commands, 5 agents, 2 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 agents/s977043/river-review/qa
Clone the repo
git clone --depth 1 https://github.com/s977043/river-review

Or install river-review, the plugin that ships this one along with the rest of its 29 skills, 15 commands, 5 agents, 2 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.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.svg" alt="Measured on agentmods" 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. 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.00014 $0.00353
Opus 5 $0.00007 $0.00177
Sonnet 5 $0.00003 $0.00071
Haiku 4.5 $0.00001 $0.00035

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

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. 3d 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 (3 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 353 once invoked, about $0.0001 per session on Opus 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

finding-verifier

Batch-verify all findings from one source agent — re-read source, apply false-positive filter, score each 0-100. One verifier per source agent (not per finding).

ncoevoet/claude-review-all · 40 tokens

harness-spec-evaluator

Harness Spec Evaluator — reviews spec.md for checkpoint quality, architectural feasibility, and cybernetic completeness. Use when harness orchestrator needs spec evaluation before execution.

stone16/harness-engineering-skills · 37 tokens

review-all-shared-rules

Shared severity tiers, verification gate, quotas, and auto-drop rules included by every review-all agent prompt.

ncoevoet/claude-review-all · 28 tokens

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

eval-failure-analyzer

Analyze Logic-Lens benchmark/eval failures. Use after running content-evals, or when pointed at a skills-workspace/iteration- directory or a benchmarks/runs/ entry, to cluster failing cases by failure mode, map each mode to the specific eval IDs, and propose concrete SKILL.md disambiguation-rule changes. Read-only…

hyhmrright/logic-lens · 90 tokens

bugs-and-security

Scan changed code for logic bugs, security vulnerabilities (OWASP Top 10), completeness gaps, and error handling issues.

ncoevoet/claude-review-all · 28 tokens