audit-skills
Skill1 starsChanged 4 months agoMITView on GitHub
Efficiency audit of a skill library on four measured axes — token cost, ceremony/duplication bloat, trigger-description precision, and overlap clusters — plus usage axes when invocation telemetry exists. Every claim carries a number; findings land as diffs and budgets, not advice. Use before tightening skills, after adding many, or as a periodic library health check.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- LandonTomaine/LT-Agentstheir own version, first seen Oct 20, 2026
- MusserLab/lab-claude-skillstheir own version, first seen Oct 13, 2026
- tejastn10/workbenchtheir own version, first seen Oct 13, 2026
- RuoJi6/java-audit-skillstheir own version, first seen Oct 8, 2026
- pixee/pixee-clitheir own version, first seen Aug 18, 2026
- RuoJi6/audit-skillstheir own version, first seen Jun 16, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- RuoJi6/audit-skills★ 1ksame name
- RuoJi6/java-audit-skills★ 1ksame name
- pixee/pixee-cli★ 31same name
- geemus/hax-yax★ 4same name
- MusserLab/lab-claude-skills★ 4same name
- Tharun-Balaji/audit-skills★ 4same name
- Yesterday-AI/skills★ 2same name
- tejastn10/workbench★ 1same name
- LandonTomaine/LT-Agents★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
/audit-skills — A Number or It Didn't Happen
Skills are input tokens paid on every invocation. "This skill feels bloated" is a claim; this skill replaces it with measurements — and marks what it cannot measure UNVERIFIED instead of guessing.
Invocation
/audit-skills # audit the high-traffic set
/audit-skills --all # every skill in the libraryProcedure
- Measure (
python3 scripts/audit_skills.py --json out.json— works on anyskills/<name>/SKILL.mdtree): per skill, token estimate, bloat % (preamble + cross-skill duplicated boilerplate), trigger-description flags, and overlap clusters (shingle Jaccard, no heavy deps). - Fold in usage only if real telemetry exists (an invocation log). Absent that, dead-weight and trigger-precision are reported UNVERIFIED — fire counts are never invented.
- Classify before cutting — the heuristics lie sometimes:
dense procedure (big, low ceremony) → keep; deliberate shared blocks →
keep; extractable payload (verbatim templates, catalogs) → move to
references/with a read-on-demand stub; true overlap → merge. - Bank the result as a budget: record each audited skill's size + ~10% headroom and wire a lint check that fails on re-bloat. Prove the gate: append filler, watch it fail, revert.
- Refute your own edit — measure the before/after token delta and run the library's full check suite before claiming "tighter, behavior unchanged". End with ONE verdict line, logged to the ledger:
AUDIT: skills | <n> in scope | <before>→<after> tok | tightened: <list> | UNVERIFIED: <axes or none>Rules
- Size alone is not bloat; dense forced procedure is the product.
- "Dead" requires a fire count; "overlapping" requires a similarity score AND a human-verified same-job read.
- UNVERIFIED axes stay UNVERIFIED until telemetry exists. Re-run then.
Composes with
/refute— step 5 is a forced refutation of the audit's own claim./gate— the per-skill budget is a standing gate./verdict—AUDIT:lines land in the ledger; the next audit diffs against the last.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

