test-audit

test-audit is a skill for Claude Code, Codex from greglas75/zuvo. It costs 100 tokens per session (8,329 once invoked), scanned B, original, MIT.

A test-quality audit for unit and integration test files. It checks each test against a detailed checklist and known anti-patterns, then assigns a quality tier.

In plain words
What is it for?
Use it to review test quality across a project, directory, or selected files, including end-to-end tests when requested.
Why use it?
It helps reveal tests that do not cover real behavior, rely on fake or unused mocks, or leave public code untested. This is useful after writing many tests or before a release.

Skill for Claude CodeCodex

Part of the zuvo plugin — 56 skills, 48 agents, 5 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 skills/greglas75/zuvo/test-audit
Any agent
npx skills add greglas75/zuvo --skill test-audit
Clone the repo
git clone --depth 1 https://github.com/greglas75/zuvo

Made for: Claude Code, Codex.

Or install zuvo, the plugin that ships this one along with the rest of its 56 skills, 48 agents, 5 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 test-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/greglas75/zuvo/test-audit.svg)](https://agentmods.dev/skills/greglas75/zuvo/test-audit)
Your own site
<a href="https://agentmods.dev/skills/greglas75/zuvo/test-audit"><img src="https://agentmods.dev/badge/skills/greglas75/zuvo/test-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,329 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00100 $0.08329
Opus 5 $0.00050 $0.04165
Sonnet 5 $0.00020 $0.01666
Haiku 4.5 $0.00010 $0.00833

Measured yesterday against content hash 9c90f587c33c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

test-audit scanned grade B with 1 finding 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 yesterday.

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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf zuvo/audits/.test-audit-batch

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/test-audit/SKILL.md · 648 lines

How it starts

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

zuvo:test-audit — Test Quality Triage

Systematic evaluation of unit and integration test files through the Q1-Q25 binary checklist and AP anti-pattern catalog. Each test file is paired with its production source, scored against behavioral coverage standards, and assigned a tier.

Scope: Unit and integration tests only. E2E tests (*/e2e/*, *.e2e.*) are excluded by default. Use --include-e2e to include them.

When to use: After mass test writing, when test quality is uncertain, before releases, when test failures are hard to diagnose, periodic health check. Out of scope: Single-file code review (use zuvo:review), writing new tests (use zuvo:write-tests), fixing systematic anti-patterns across many files (use zuvo:fix-tests).

Argument Parsing

Argument Effect
all Audit every test file in the project
[path] Audit test files under a specific directory
[file] Audit a single test file with full evidence (forces deep mode)
[file file2 …] Audit exactly the listed test files (space-separated, forces deep mode) — the form the Test Quality Gate (../../shared/includes/test-quality-gate.md, called from build/refactor/execute/write-tests/write-e2e) uses to scope to touched files
--deep Collect evidence and fix recommendations for every file
--quick Binary pass/fail only, skip evidence
--include-e2e Include E2E test files in scope
--details Save per-file reports to zuvo/audits/test-audit-details/
--commit=ask|auto|off Commit behavior after fix workflow (default: ask)
--read-only Report only: skip Phases 4-6 (coverage.md/backlog.md writes) and Phase 7; no repo mutation beyond the zuvo/audits/ report

Default: all --quick --commit=ask

Dispatch is already authorized — do not ask, and do not substitute. Invoking this skill IS the request for the gates it mandates. A session-level instruction like "do not use the Agent tool unless the user asked" does NOT apply here: the user asked, by invoking this skill. Reading it as a prohibition and recording a self-scored result is the substituted gate this step forbids — it happened twice in the field (2026-08-07, 2026-08-08), the second time invented as WARN:substituted-inline, a value no vocabulary defines. If the harness genuinely has no dispatch capability (Cursor, Antigravity — NOT Codex, which dispatches mechanical workers), follow the ONE documented exception in test-quality-gate.md; otherwise dispatch.

Read the full file on GitHub · 648 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. yesterday First seen · 648 lines · 100 tokens per session scan B 9c90f587c33c

Subscribe to this mod's changes

test-audit is a skill published in the GitHub repository greglas75/zuvo (6 stars, last pushed yesterday), licensed MIT. It adds 100 tokens to every session and 8,329 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.