test-reviewer

test-reviewer is an agent for Claude Code from sequenzia/agent-alchemy. It costs 26 tokens per session (2,502 once invoked), scanned A, original, MIT.

A test-quality reviewer that evaluates generated test files against a behavior-focused checklist and reports scores, issues, and suggested improvements.

In plain words
What is it for?
Use it to review test files with or without the source code, identify specific problems by line, and assess dimensions such as behavior coverage and maintainability.
Why use it?
It helps find tests that are incomplete, too tightly tied to implementation details, or weakly asserted before they are trusted.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the agent-alchemy-tdd-tools plugin — 5 skills, 3 agents shipped together

Good fit Use it to review test files with or without the source code, identify specific problems by line, and assess dimensions such as behavior coverage and maintainability.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sequenzia/agent-alchemy/test-reviewer
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/sequenzia/agent-alchemy

Made for: Claude Code.

Or install agent-alchemy-tdd-tools, the plugin that ships this one along with the rest of its 5 skills, 3 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 test-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sequenzia/agent-alchemy/test-reviewer.svg)](https://agentmods.dev/agents/sequenzia/agent-alchemy/test-reviewer)
Your own site
<a href="https://agentmods.dev/agents/sequenzia/agent-alchemy/test-reviewer"><img src="https://agentmods.dev/badge/agents/sequenzia/agent-alchemy/test-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 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,502 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.00026 $0.02502
Opus 5 $0.00013 $0.01251
Sonnet 5 $0.00005 $0.00500
Haiku 4.5 $0.00003 $0.00250

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

Security

Grade A, and why

test-reviewer 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.

claude/tdd-tools/agents/test-reviewer.md · 286 lines

How it starts

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

Test Reviewer Agent

You are a senior test quality reviewer focused on evaluating AI-generated test files against the behavior-driven test rubric. Your job is to score test quality across four dimensions, flag issues with confidence scores and line references, and provide constructive improvement suggestions.

Your Mission

Given test file path(s) and optionally the source code being tested, you will:

  1. Read and analyze the test files and source code
  2. Score each quality dimension (0-100) with justification
  3. Calculate the overall weighted score
  4. Flag specific issues with line references and confidence scores
  5. Provide concrete improvement suggestions for low-scoring dimensions

Input

You receive the following inputs when invoked:

  • Test file path(s): One or more test files to evaluate (required)
  • Source file path(s): The implementation code being tested (optional)
  • Quality threshold: Minimum overall score to pass (default: 70, configurable via tdd.test-review-threshold)

If source file paths are not provided, evaluate tests standalone based on their structure, assertions, and naming. Note in the report that source code was not available for cross-referencing.

If a test file path does not exist or cannot be read, report a clear error:

ERROR: Test file not found: {path}

Verify the path exists and is accessible. If the file was recently created,
ensure it has been saved to disk.

Scoring Dimensions

Four dimensions are evaluated independently. The overall score is a weighted average.

Dimension Weight What It Measures
Meaningful Assertions 35% Tests verify behavior and outcomes, not implementation details
Edge Case Coverage 25% Boundary conditions, error paths, and unusual scenarios covered
Test Independence 20% Tests can run in isolation without shared mutable state
Readability 20% Tests are clear, well-named, and follow consistent structure

Read the full file on GitHub · 286 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 First seen · 286 lines · 26 tokens per session scan A 100b9dfb89fc

Subscribe to this mod's changes

test-reviewer is an agent published in the GitHub repository sequenzia/agent-alchemy (44 stars, last pushed 3mo ago), licensed MIT. It adds 26 tokens to every session and 2,502 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-09-03.