kavo: Agent for Claude Code

.claude/agents/kavo-test-auditor.md

kavo-test-auditor is an agent for Claude Code from kavo-labs/kavo. It costs 56 tokens per session (919 once invoked), scanned A, original, MIT.

A read-only guide for checking whether a code change has enough useful tests, including tests for errors and edge cases. It also explains where tests belong and how to run them.

In plain words
What is it for?
Auditing test coverage and test quality for a Kavo change without editing the tests.
Why use it?
It finds gaps and weak assertions before a change is treated as adequately tested.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is kavo-labs/kavo's own configuration. It tells Claude Code how to work on kavo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kavo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kavo-labs/kavo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kavo-labs/kavo/main/.claude/agents/kavo-test-auditor.md
Clone the repo
git clone --depth 1 https://github.com/kavo-labs/kavo

Made for: Claude Code.

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 kavo-test-auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/kavo-labs/kavo/kavo-test-auditor"><img src="https://agentmods.dev/badge/agents/kavo-labs/kavo/kavo-test-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 919 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.00056 $0.00919
Opus 5 $0.00028 $0.00460
Sonnet 5 $0.00011 $0.00184
Haiku 4.5 $0.00006 $0.00092

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

Security

Grade A, and why

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

.claude/agents/kavo-test-auditor.md · 74 lines

How it starts

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

You audit tests for Kavo. You judge whether a change is actually pinned down by its tests. You do not write or edit tests — you report the gaps precisely enough that someone else can close them.

How testing works here

  • Tests live in each package's tests/ directory, never in src/, so they are not shipped in dist/.
  • Vitest aliases @kavo/* to package src/ directly (see vitest.config.ts), so tests exercise sources — there is no stale-dist hazard, and no test should ever import from dist/.
  • The SWC vitest plugin is required: TypeORM entities and Nest DI need decorator metadata that esbuild cannot emit. A test that mysteriously loses metadata is usually a transform problem, not a logic problem.
  • Run one file: pnpm vitest run packages/core/tests/filter-parser.spec.ts. Run by name: pnpm vitest run -t "coerces JavaScript number syntax". A -t filter matching nothing skips every test and still exits 0 — check the passed count, not the exit code.

Procedure

  1. Get the change: git diff main...HEAD --stat and read the source diff. If nothing is committed on the branch yet, read the uncommitted working-tree diff instead (/implement does not commit — this is the normal case).
  2. Find the tests that cover it — by path convention and by grepping for the changed symbols. Run them and report the real result.
  3. For each behavior the change introduces or alters, ask which test would fail if that behavior silently regressed. If you cannot name one, that is the finding. Do not accept "it's covered indirectly" without naming the test.

What counts as a gap

  • Error paths untested. Every new *Exception needs a test asserting the thrown type and its KAVO_SNAKE_CASE code — the code is a public contract, and a test that only checks the message lets the code drift.
  • Edge cases untested. Empty results, null vs. absent, boundary pagination values, the recursion cap, unknown include paths, non-allowlisted filter fields, disabled operations.
  • Only the happy path. A single success-case test for a change with branches is a gap, not coverage.
  • No regression test on a bugfix. A fix without a test that fails on the old code is unfinished work.
  • Wire-level behavior unpinned. Query-string parsing, operator token mapping, serialization shape and problem-details output are contracts with consumers; they need assertions on the actual shape.

Read the full file on GitHub · 74 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 First seen · 74 lines · 56 tokens per session scan A 4e221be7a966

Subscribe to this mod's changes

kavo-test-auditor is an agent published in the GitHub repository kavo-labs/kavo (14 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 919 once invoked, about $0.0003 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-02.

Related

Other agents, from other repositories

pr-test-analyzer

Use this agent when you need to review a pull request for test coverage quality and completeness. This agent should be invoked after a PR is created or updated to ensure tests adequately cover new functionality and edge cases. Examples:\n\n \nContext: Daisy has just created a pull request with new…

anthropics/claude-code · 0 tokens

sap-test-plan-reviewer

Adversarial review of a test-case plan produced by design-cases. READS the actual ABAP source snapshot (plus findings.md, flow.md, units.md, and the TC-.md files) to catch branches and MESSAGEs the plan missed, checks total case count against the enumerated minimum, checks every mandatory category has at least one…

marcellourbani/vscode_abap_remote_fs · 161 tokens

ai-hygiene-auditor

Audit codebases for AI-generation warning signs: vibe coding patterns, agent psychosis indicators, slop artifacts, and Tab-completion bloat. Specialized complement to bloat-auditor.

athola/claude-night-market · 48 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

test-reviewer

Reviews test coverage and test quality for code changes.

ai-sdlc-framework/ai-sdlc · 13 tokens

qa-reviewer

Editorial gate. Final pass on phrasing, framework-citation-version accuracy, cross-finding consistency. Flags (never blocks) findings that need author attention.

transilienceai/communitytools · 35 tokens