test-quality-auditor

test-quality-auditor is an agent for Claude Code from choiyounggi/dev-loop. It costs 88 tokens per session (1,034 once invoked), scanned A, original, MIT.

A read-only reviewer that checks whether a code change’s tests genuinely verify the changed behavior.

In plain words
What is it for?
Auditing a task’s diff and test files for missing coverage, disabled tests, empty assertions, and expected results copied from the implementation.
Why use it?
It prevents the same coding session that wrote the tests from judging their quality and missing gaps.

Agent for Claude Code

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

Part of the dev-loop plugin — 9 skills, 11 agents, 6 hooks, 1 MCP server shipped together

Good fit Auditing a task’s diff and test files for missing coverage, disabled tests, empty assertions, and expected results copied from the implementation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/choiyounggi/dev-loop/test-quality-auditor
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/choiyounggi/dev-loop

Made for: Claude Code.

Or install dev-loop, the plugin that ships this one along with the rest of its 9 skills, 11 agents, 6 hooks, 1 MCP server.

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-quality-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/choiyounggi/dev-loop/test-quality-auditor/github.svg)](https://agentmods.dev/agents/choiyounggi/dev-loop/test-quality-auditor)
Your own site
<a href="https://agentmods.dev/agents/choiyounggi/dev-loop/test-quality-auditor"><img src="https://agentmods.dev/badge/agents/choiyounggi/dev-loop/test-quality-auditor/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 test-quality-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/choiyounggi/dev-loop/test-quality-auditor"><img src="https://agentmods.dev/badge/agents/choiyounggi/dev-loop/test-quality-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,034 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.00088 $0.01034
Opus 5.5 $0.00035 $0.00414
Sonnet 5.5 $0.00018 $0.00207
Haiku 4.5 $0.00009 $0.00103

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

Security

Grade A, and why

test-quality-auditor 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 8d 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.

agents/test-quality-auditor.md · 79 lines

How it starts

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

Coordinator note (issue #200): this agent's frontmatter pins its model and effort (orchestrate's Tier to pipeline profile table; the -r1 copy runs the same body one effort step lower, never below high, for R1 and R0). If the Agent call dies with an HTTP 429 naming a model limit, that error is not a VERDICT — the caller re-runs it once with the Agent tool's model override set to whichever of opus and fable the 429 does not name, then escalates — never below Opus.

You are an independent test-quality auditor for loop-orchestrator. You DO NOT modify code or tests — you are read-only with respect to repo state: no commits, no source edits that survive. Running the tests (step 4 below) DOES temporarily mutate the working tree, so never run a build/test suite or a second agent concurrently on the same tree while you do, and restore the tree exactly afterward (verify git status --porcelain shows an empty diff against your entry state). Your only job is to judge whether the tests genuinely verify the change.

Working-tree safety

NEVER git stash (any subcommand). refs/stash is repository-global — every linked worktree shares one stash stack, so a parallel worker's stash pop can retrieve YOUR uncommitted work (git-worktree(5): only refs/bisect, refs/worktree, refs/rewritten are per-worktree). If you need to snapshot or restore working-tree state, use, in order: (1) git diff > <scratch>/baseline.patch

  • git apply to restore; (2) a throwaway WIP commit on the task branch (reset/amend after).

Inputs you are given (in the prompt): the task brief, the change diff, and the test file path(s). If any are missing, ask for them rather than guessing.

Audit procedure

  1. From the diff, determine the runtime behavior that actually changed.
  2. Check the tests truly verify that behavior. FAIL on any of:
    • a test with no assertion, or a tautology such as expect(true).toBe(true)
    • cases disabled via skip / only / commenting-out
    • no test covering the changed behavior at all
    • tests asserting the implementation's current output without an independent expected value (rubber-stamping)
  3. Quantitative gate (for newly added test files):
    • = 3 cases per file (at least 1 normal + 1 error + 1 boundary)

    • = 1 error case per file (toThrow / assertThrows / failure scenario)

    • = 1 boundary case per file (empty input / null / 0 / empty array / max)

    • = 1 assertion per test For pure-function / snapshot / integration-only areas where this gate is a poor fit, apply its spirit using the repo's local convention instead.

  4. When feasible, actually run the tests (Bash) to confirm they pass — a green run is part of PASS, not an assumption.

Read the full file on GitHub · 79 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. 8d ago Changed · +1 lines 98eb58fded81
  2. 10d ago Changed · +4 lines 8a08290a0727
  3. 1mo ago Changed · -3 lines c748f6106441
  4. 1mo ago Changed · +15 lines · +32 tokens per session 056bf6323e43
  5. 1mo ago First seen · 62 lines · 56 tokens per session scan A 967bc53d046c

Subscribe to this mod's changes

test-quality-auditor is an agent published in the GitHub repository choiyounggi/dev-loop (6 stars, last pushed yesterday), licensed MIT. It adds 88 tokens to every session and 1,034 once invoked, about $0.0004 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

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

eval-curator

Authors and maintains the brooks-lint eval suite in evals/evals.json — the benchmark scenarios covering R1–R6 (code decay) and T1–T6 (test decay), including the false-positive / tradeoff cases that must NOT be flagged. Ensures every new risk code or skill gets paired coverage and that the suite passes npm run evals.…

hyhmrright/brooks-lint · 97 tokens

test-gap-finder

Finds missing, weak, or stale test coverage in a diff. Use during review when production logic, user flows, error paths, or acceptance criteria changed.

HoangNguyen0403/agent-skills-standard · 37 tokens

codebase-explorer

Explores a codebase to discover implementation details for a specific feature or system. Finds entry points, core logic, data models, configuration, tests, and feature-type-specific artifacts. Use when thorough, multi-angle codebase discovery is needed for documentation or understanding. Does not research options or…

testdouble/han · 75 tokens

triage-agent

Triage incoming issues and PRs — categorize, verify, check redundancy and prior rejection, write agent-ready briefs. No source-code writes. Routes: TRIAGE workflow.

romiluz13/cc10x · 38 tokens

architecture-scanner

Scan the codebase for deepening opportunities — shallow modules, pass-throughs, semantic duplicates. Read-only. Produces a visual HTML report with before/after diagrams. Routes: CODEBASE-HEALTH workflow.

romiluz13/cc10x · 47 tokens