test-audit

test-audit is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 79 tokens per session (610 once invoked), scanned A, original, Apache-2.0.

A testing guide for writing, reviewing, and removing tests. It checks whether each test protects observable behaviour, catches a realistic regression, and adds coverage that existing tests do not already provide.

In plain words
What is it for?
Use it when adding tests, auditing an existing test suite, or pruning low-value tests across a subsystem.
Why use it?
It helps avoid duplicate, brittle, or implementation-dependent tests that add maintenance work without increasing confidence.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the test-audit plugin — 1 skill shipped together

Good fit Use it when adding tests, auditing an existing test suite, or pruning low-value tests across a subsystem.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/test-audit
About the project

claude-codex-settings is a collection of configurations and reusable extensions for Claude Code, OpenAI Codex, Cursor, and related coding tools. Developers use its skills, commands, hooks, agents, plugins, and MCP servers to shape coding-agent workflows and connect alternative model APIs. The catalogue entries are components of this collection that can be installed into supported coding tools.

fcakyon/claude-codex-settings · 1,223 stars · on GitHub · claudesettings.com

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.

Any agent
npx skills add fcakyon/claude-codex-settings --skill test-audit
Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings

Made for: Claude Code.

Or install test-audit, the plugin that ships this one along with the rest of its 1 skill.

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/fcakyon/claude-codex-settings/test-audit/github.svg)](https://agentmods.dev/skills/fcakyon/claude-codex-settings/test-audit)
Your own site
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/test-audit"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/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.

agentmods 80×15 button for test-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/test-audit"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/test-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 610 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.00079 $0.00610
Opus 5.5 $0.00032 $0.00244
Sonnet 5.5 $0.00016 $0.00122
Haiku 4.5 $0.00008 $0.00061

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

Security

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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/surface-candidates.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/test-audit/skills/test-audit/SKILL.md · 59 lines

How it starts

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

Test Audit

  • Authoring gates every new/changed test.
  • Audits: remove low-value proof in coherent owner batches; never chase deletion counts.
  • Whole-subsystem campaign: read references/campaign.md first.

Authoring gate

Before adding test, answer:

  1. Protected observable behavior, invariant, or independent contract?
  2. Credible regression that makes it fail?
  3. Why existing proof misses it? Each contract: one primary owner at strongest boundary. Another layer needs distinct transport/lifecycle risk. Extend tables/shared fixtures; consolidate repeated setup.
  4. Export, flag, wrapper, injection hook with no production caller needed? Move proof to real boundary instead.
  • Use the repository testing guide for boundary and cost decisions.
  • Regressions must fail pre-fix for intended reason, pass after repair; report unavailable baseline proof.
  • One owner regression covers bug; never replay at every crossed layer.
  • Behavior-preserving refactors should not break test.

Junk patterns

  • Reject self-comparisons, copied inventories, source greps, implementation/call-shape assertions, duplicate contracts, test-only seams, subject-generated expected values, mocks supplying asserted behavior.
  • Fixtures must not fabricate owner receipts/order or claim persistence path never writes.
  • Negative controls must fail at intended guard; names must match exercised behavior.
  • Auditing candidates: use full checklist.

Retention bar

  • Keep independent API, SDK, protocol, config, migration, storage, security, platform, default, prompt-byte, generated-language, package, release, architecture, observable-ordering contracts. Static/slow ≠ disposable.
  • Source inspection must survive identifier-only refactors and guard independent user-facing contract.
  • Baseline failures may be bugs to repair, not tests to delete.

Audit and validation

  • Start discovery with candidate surfacing, then apply its audit lessons.
  • Before audit edit: read candidate evidence and workflow; inspect full owners/callers/history; record remaining proof before deletion.
  • Delete obsolete production seams with tests; never optimize for deletion counts.
  • Follow the repository testing guide; preserve active test checkouts; run owner and sibling tests plus required checks, then review the full diff.
  • Report causes, retained contracts, proof/cost, production versus test LOC, follow-ups. Commit/push/land only with task authority.

Read the full file on GitHub · 59 lines

Files

What ships with it

5 files 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.

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. 7d ago Changed · +1 lines c045f86916dc
  2. 1mo ago Changed · -108 lines 3424c0400acd
  3. 2mo ago First seen · 166 lines · 79 tokens per session scan A 0056f0287e45

Subscribe to this mod's changes

test-audit is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,223 stars, last pushed today), licensed Apache-2.0. It adds 79 tokens to every session and 610 once invoked, about $0.0003 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-01.

Related

test-audit compared with skills from other repositories

test-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-auditfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A79Claude Code
github-pr-workflowpaperclipai/paperclipSkill118kyesterdayMITA39Claude Code, Codex
voiceChatCut-Inc/agent-pluginSkill1.1k12d agoApache-2.0A124Claude Code
chatcut-verification-guideChatCut-Inc/agent-pluginSkill1.1k12d agoApache-2.0A31Claude Code, Codex
lov-publish-event-onto-hdxlovstudio/skillsSkill723d agoMITA92Claude Code
dsh-plugin-publisherlovstudio/skillsSkill723d agoMITA82Claude Code
lov-deploy-to-vercellovstudio/skillsSkill723d agoMITA92Claude Code