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.
npx skills add wunki/dotfiles --skill test-auditgit clone --depth 1 https://github.com/wunki/dotfilesWrote 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.
[](https://agentmods.dev/skills/wunki/dotfiles/test-audit)<a href="https://agentmods.dev/skills/wunki/dotfiles/test-audit"><img src="https://agentmods.dev/badge/skills/wunki/dotfiles/test-audit/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.
<a href="https://agentmods.dev/skills/wunki/dotfiles/test-audit"><img src="https://agentmods.dev/badge/skills/wunki/dotfiles/test-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00115 | $0.01851 |
| Opus 5.5 | $0.00046 | $0.00740 |
| Sonnet 5.5 | $0.00023 | $0.00370 |
| Haiku 4.5 | $0.00012 | $0.00185 |
Grade A, and why
test-audit 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 15d 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.
How it starts
The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Audit
One value bar, three modes:
- Audit (default): a focused sweep for a few high-confidence candidates in one owner area. Land each coherent batch on its own; optimize for confidence, not deletion count.
- Campaign: prune one whole subsystem's test surface (every test file a package, service, or feature area owns). Read CAMPAIGN.md first.
- Authoring gate: judge a new or changed test before it lands.
Orient first
Before judging anything, learn how this repo tests:
- Read root and scoped
AGENTS.md,CLAUDE.md, and contributing docs for test rules. - Find the real test commands in CI config (
.github/workflows,.gitlab-ci.yml, etc.), thenpackage.jsonscripts,Makefile,justfile,mix.exs,pyproject.toml,Cargo.toml, or equivalent. CI is the source of truth. - Note coverage thresholds, test inventories, snapshot directories, and CI sharding that reference test files by path. Deletions must keep these consistent.
- Record the baseline: run the in-scope tests at a pinned commit and note which fail.
Value bar
A test justifies its maintenance cost by protecting observable behavior, a credible regression, or an independently meaningful contract. A test that must change for a behavior-preserving refactor is suspect, not automatically deletable.
Before judging a candidate, read the complete test and its production owner: entry
point, callers, callees, sibling implementations, overlapping tests, and relevant
history (git log -L, git blame, the PR or issue that added it). When a test claims
dependency-backed behavior, check the dependency source or types directly.
Junk patterns
Audits hunt for these; the authoring gate rejects a new test that matches one.
- assertion-free coverage probes (runs code, asserts nothing meaningful);
- self-comparisons and identity copiers;
- copied fixtures, inventories, manifests, or export lists;
- exact source, import, or string greps;
- snapshots of trivial or unstable output that nobody reviews;
- private-function or call-shape tests duplicated at a real boundary;
- duplicate invocations of the same contract, often copy-pasted with one value changed;
- per-caller replays of a shared helper's tests;
- tests whose only purpose is preserving test-only exports, globals, or wrappers;
- dead production code whose only callers are tests;
- expected values computed by the function under test;
- mocks that implement the asserted behavior, or one mock standing in for different APIs;
- fixtures that supply the result, ordering, or callback the code under test should produce, or persistence asserted against a store the path never writes;
- tests that restate a declared config or flag instead of exercising what it promises;
- negative tests that pass for an unrelated reason, such as a different guard rejecting first or an error path production never reaches;
- names that promise more than the assertions check, such as a "clears the cache" test that asserts the cache was not cleared.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 15d ago First seen · 180 lines · 115 tokens per session scan A 010ac0e14868
test-audit is a skill published in the GitHub repository wunki/dotfiles (47 stars, last pushed 10d ago), licensed MIT. It adds 115 tokens to every session and 1,851 once invoked, about $0.0005 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-10-02.
Other skills, from other repositories
test-code
Testing philosophy, test types (unit, integration, golden, fuzz, property, benchmark, smoke, E2E), per-language conventions (Rust, Go, Python, TypeScript), file organization, fixtures/mocks, CI strategy, and what NOT to test. Use when writing tests, reviewing test coverage, setting up test infrastructure, or deciding…
run-eval-harness
Run a project's own eval suite end to end without babysitting: locate the harness, launch it in the background, monitor to completion, parse the report into a normalized summary (pass rate, latency percentiles, tokens, cost), and diff against the previous run with per-case regressions explained. Use when asked to "run…
android-testing
Workflows and ADB commands for testing Android and Wear OS applications. Covers system state simulation (Doze mode, battery levels, network failover, Bluetooth proxy), location and sensor spoofing, health permissions, UI automation guidelines, and Wear OS watch faces and complications. Use when testing Android or Wear…
ralph-loop
An iterative development workflow that moves from requirements to planning to building, with code review and tests required at each stage.
assess-quality
Foundational quality framework: the five questions (readable, easy to start, expands without bloat, consistent, intentional) every other dev skill is judged against, plus the dual-audience and workshop principles. Use when onboarding to a project, defining a quality bar, setting an assessment checklist, or arbitrating…
create-oss-skill
Create well-formed Agent Skills following the agentskills.io specification. Scaffold directories, write SKILL.md files, bundle scripts, and structure instructions for progressive disclosure. Use when creating a new skill, reviewing skill structure, optimizing a skill description, or setting up evals for skill quality.