Audit a repo's agent-facing prose (AGENTS.md, CLAUDE.md, skills, cursor rules, architecture and spec docs), replace what a machine can check with lints, types and tests, and prove what remains with a blinded ablation eval.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Goal: cut agent-facing prose in this repo (AGENTS.md, CLAUDE.md, skills, cursor rules, architecture/spec docs) down to what earns its context window. Replace what you can with code, types, lints and tests. Prove the rest with a blinded ablation.
Tag the current commit text-baseline. Every comparison below uses this exact
text, before any pruning.
audit/inventory.csvOne row per claim, not per file. Columns: file, bytes, claim (≤1 line), category, evidence, action.
| Category | Meaning | Evidence | Action |
|---|---|---|---|
| restates | Code or types already say this | path:line | Delete |
| stale | Contradicts the code | path:line | Delete, record as a finding |
| enforceable | A machine could check it | — | Convert, then delete |
| judgment | No check can catch it | — | Keep only if it fits in one line |
| untested | You can't tell what it governs | — | Flag, don't delete |
Also log which files any agent tooling loads automatically and which load only on demand.
For each enforceable claim, use the cheapest mechanism first: a rule in the existing linter config, then compiler or type settings, then a test, then a custom script.
Each new check must:
text-baselineDelete the prose only after its check passes in CI. Skip a check that would cost more than the mistake it prevents, and log the skip.
audit/prereg.md before any runtext-baseline3 replicates per condition per task. Each replicate gets a fresh clone, no memory, the same model and settings, and no network beyond package registries. Before launching every replicate, reruns included, strip the git history past the task's base commit and keep the hidden tests outside the clone, so the agent can't read the answer.
From each transcript, list every file the agent opened. Mark which text files were loaded automatically, which were opened deliberately, and which were never touched. Throw out a run that read the hidden tests or the future history, then rerun it.
Hidden tests and probes run automatically. A judge model different from the agent model sees only the task, the rubric and the diff plus build output. Strip branch names, SHAs, commit messages and agent notes, and shuffle the order.
audit/report.mdDelete whatever fails the pre-registered rule. Turn each recurring failure into a test or lint. Don't answer it with new prose.
What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/adhdUse when the user asks for ADHD-friendly answers, says they have ADHD, feels overwhelmed, loses focus in long replies, or asks for responses that are shorter, easier to scan, or "just tell me what to do." Shapes replies so the answer comes first, steps are small and numbered, and nothing buries the next action./bruhRestate the last message in plain human language, with no jargon./create-prGroup uncommitted changes into logical conventional commits, push them to a feature branch, and open a GitHub pull request with a release-please friendly description. Use when the user types /create-pr or asks to commit their changes and open a PR./evidence-reviewReview a code change against its spec and the repo's own conventions, and report only findings you have proven: reproduced bugs, unmet requirements, code nothing needs, and broken house rules, ending in a PASS or FIX verdict./explainExplain any topic simply for a newcomer — a concept, a system, a process, or part of a codebase — and save it as an HTML page with compiled architecture, workflow, sequence, data-flow, and lifecycle diagrams. Use when the user types /explain <topic>./minimalistUse before writing, editing, fixing, refactoring, or reviewing ANY code, including small routine changes you could make without help: those are exactly where over-building slips in. Keeps the change minimal: YAGNI, reuse what the codebase already has, stdlib and native platform features before custom code or new dependencies, shortest working diff. Also use when the user asks for the simplest way, invokes YAGNI, or complains about over-engineering or bloat. Not for non-coding requests.
/agent-skills:context-auditfrom agent-skills
npx claudepluginhub itsmostafa/agent-skills --plugin agent-skills