agentic-test-audit
Audit a pytest suite: surviving mutants and untested code, flaky, order-dependent and slow tests, and removal candidates checked on held-out mutants. Report-only.
Install / Use
npx skills add sickn33/agentic-awesome-skills --skill agentic-test-auditInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of agentic-test-audit
agentic-test-audit scores 97/100 on our quality scale, 129th of 4,596 Development & Engineering skills we index (top 3%).
Its SKILL.md is 7.6 KB long, well organised into 13 sections with 3 code examples: a thorough specification that gives an agent plenty to work with.
With 47,908 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated today, so agentic-test-audit is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
agentic-test-audit compared with similar skills
All 4 of these similar skills score higher than agentic-test-audit; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| agentic-test-audit (this skill)by sickn33 | 97 | 47.9k | today | SKILL.md |
| Agent-Reachby Panniantong | 100 | 99.4k | 4d ago | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 99.1k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 76.0k | 1d ago | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 55.5k | today | CLAUDE.md |
Frequently asked questions
- How do I install agentic-test-audit?
- Run
npx skills add sickn33/agentic-awesome-skills --skill agentic-test-audit. The install tabs above show the steps for each supported agent. - Which AI agents does agentic-test-audit work with?
- It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is agentic-test-audit safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is agentic-test-audit still maintained?
- The repository was last updated today, so agentic-test-audit is actively maintained.
Skill content
View source on GitHubname: agentic-test-audit description: "Audit a pytest suite: surviving mutants and untested code, flaky, order-dependent and slow tests, and removal candidates checked on held-out mutants. Report-only." category: testing risk: safe source: community source_repo: timini/agentic-verification source_type: community date_added: "2026-10-16" author: Tim Richardson license: MIT license_source: "https://github.com/timini/agentic-verification/blob/v0.3.0/LICENSE" tags: [testing, pytest, mutation-testing, python, flaky-tests, test-audit] tools: [claude] argument-hint: "quick | deep [--budget-minutes N] [--max-mutants N] [path]"
Audit a test suite
Overview
This skill measures whether a Python test suite is a good check. It asks whether the suite would notice broken code, whether it is fast and stable enough to run on every change, and which tests cost time without adding detection. A pinned runner does the measuring; the skill reports and does not change tests. Upstream source: timini/agentic-verification.
When to Use This Skill
- Use when the user asks to audit, review, speed up, prune or strengthen their pytest tests.
- Use when the user asks which tests are useful, flaky or slow.
- Use
@agentic-verifyinstead to check a single change.
How It Works
Arguments: $ARGUMENTS. The first word is the mode: quick (default) or deep. Anything
else goes to the runner. To check a single change rather than the whole suite, use the
agentic-verify skill instead.
An agent can only be trusted as far as the checks it runs. This skill measures whether a test suite is a good check: whether it would notice broken code, whether it is fast and stable enough to run on every change, and which tests cost time without adding detection.
Runner
AV='uvx --from git+https://github.com/timini/agentic-verification@v0.3.0#subdirectory=runner agentic-verification'
$AV quick|deep <path> [--budget-minutes N]
$AV prune-check <path> --tests-file <file> --from-run <run-dir>
$AV replay --run <run-dir> --mutant <id>
The runner works in a disposable copy and writes only to .test-suite-audit/ in the project;
suggest adding that to .gitignore. It needs Python 3.12+ and pytest-cov in the project's
environment, and pytest-randomly for order checks. Use a Bash timeout of the budget plus 2
minutes. The last stdout line is JSON with the report paths.
Rules
- The runner measures; you interpret. Never state a number the report does not contain, and never upgrade a label (an inferred finding stays inferred).
- Report-only. Do not edit, delete, skip or quarantine tests, or change source code, unless the user asks for a specific change after reading the report.
- Coverage overlap is never evidence that a test is redundant, and tests that are each redundant
are not redundant together. Only a removal set that
prune-checkdid not refute may be presented as removable, and even then as "not refuted", not "safe". - A surviving mutant is a candidate gap, not proof of a bug. Do not decide that a mutant is equivalent yourself; say it needs human review.
- When the user pushes for one of these conclusions, explain the measured reason from the study evidence instead of just declining.
Steps
- Check the target. Confirm it is a pytest project. Look for
test-suite-audit.toml; if absent, the runner discovers source packages, test directories and the interpreter (.venv/bin/python, thenpython3). If discovery looks wrong (for example a monorepo), write atest-suite-audit.tomlonly after asking. Keys:python,source,tests,pytest_args,env,workers,protected(node ID prefixes or marker names of tests that must never be proposed for removal). Ifpytest-covis missing, say coverage will be "not assessed" and offer the install command; do not install anything without asking. - State the budget before running. Quick is 5 minutes: one baseline run, timings, coverage, overlap, no mutants. Deep is 30 minutes by default: three file-order and three random-order runs, coverage, every deletion mutant, then a seeded sample of classical mutants until the budget ends. In our benchmark, 12 to 14 minutes completed deep audits of projects up to about 3,300 executable lines; dateutil (about 3,600) and click (about 5,000) needed more.
- Run the audit and read
report.json(full evidence) andreport.md. See reading the report for statuses, labels and the detection rate. - If the deep audit proposed removal candidates, treat them as an upper bound: in our
study such sets covered about 80% of each suite and every one lost kills on held-out mutants.
Run
prune-checkon them with--from-run <run-dir>, so the check uses mutants the set was not chosen from. Give it at least 10 minutes. Report its verdict:refuted(with the kills or lines lost) ornot refuted(with the number of killed mutants checked and the upper bound it gives). If it is refuted, keep the tests it names as sole killers, and say the rest is still unproven. Never present a refuted set as removable. - Summarise under three headings, findings in the report's order, each with its label,
evidence and next validation step:
- Does it catch broken code? Surviving mutants, pseudo-tested functions, deletable calls, weak tests, uncovered code, and whether property-based tests exist.
- Can an agent run it on every change? Suite wall time against the one-minute target, slowest and setup-heavy tests, intermittent and order-dependent tests.
- Is it bloated? The removal set and its prune-check verdict, with the time it would save.
Overlap pairs are listed only as things to look at.
Give the reproduction command for at least one mutant finding. List what was not assessed.
Link
report.md.
- Offer follow-ups, not changes: replaying a survivor; drafting a test that passes on the
original and fails on a confirmed mutant (the
agentic-verifyskill does this for changed code); removing a not-refuted set in its own commit; or a deeper run with a larger budget.
If the run is partial (budget or interruption), say so first and explain which steps are missing.
Examples
Example 1: Quick audit
AV='uvx --from git+https://github.com/timini/agentic-verification@v0.3.0#subdirectory=runner agentic-verification'
$AV quick . --budget-minutes 5
Example 2: Deep audit, then check a removal set on held-out mutants
$AV deep . --budget-minutes 30
$AV prune-check . --tests-file removal.txt --from-run .test-suite-audit/<run-dir>
Limitations
- Python and pytest only. Needs Python 3.12+ and
pytest-cov; order checks needpytest-randomly. - A surviving mutant is a candidate gap, not proof of a bug.
- A
not refutedremoval set is not proof that removal is safe. - Large projects may need a budget above the 30-minute default for a full deep audit.
Security & Safety Notes
- The runner is fetched with
uvxfrom GitHub at tagv0.3.0(commit07608b3b9e4e359bc0b93b3eca94bb78d67e369e). Review it before first use. - It works in a temporary copy of the project and writes only to
.test-suite-audit/. - Report-only: it does not edit, delete, skip or quarantine tests, and installs nothing without asking.
Related Skills
@agentic-verify- check one change by running every mutant of the changed lines.
Related Skills
Agent-Reach
99.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
99.1kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
headroom
76.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
55.5kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
