harness-audit
Skill0 starsChanged 2 months agoMITView on GitHub
Measure whether installed harness assets (skills, commands, templates) are actually invoked, using session logs rather than opinions, then archive dead assets, harvest improvements back to the template, and keep the installed set under the recovery-rate cap. Use for “which skills are unused”, “too many skills”, “harness check”, “why doesn't this skill trigger”, “정비”. Unlike absorb, this removes and consolidates what exists.
22 other projects use a version of this.
Adopted by
Most recently taken up by
- venhdev/skillstheir own version, first seen Nov 8, 2026
- DaeSeokSong/oh-my-ouroborostheir own version, first seen Nov 1, 2026
- AnastasiyaW/codex-claude-code-configtheir own version, first seen Oct 30, 2026
- fernandopetry/keelsontheir own version, first seen Oct 23, 2026
- simp5layer/harness-audit-plugintheir own version, first seen Oct 20, 2026
- iberi22/skillstheir own version, first seen Oct 15, 2026
Used with
Projects with it also use project-init, autopilot and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
u9401066Skillproject-init
Initialize new projects using this template. Triggers: init, new, 新專案, 初始化, create project, 建立專案, bootstrap, scaffold project.
Also in 3 projects that use this
ibahgatSkillautopilot
Run autonomous multi-stage execution loops until acceptance criteria pass or blockers are reached.
Also in 3 projects that use this
Microsoft AzureSkilltest
Also in 3 projects that use this
nicolasestremSkillbrainstorm
Structured idea generation and solution exploration with systematic analysis.
Also in 3 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- AnastasiyaW/claude-code-config★ 214same name
- AnastasiyaW/codex-claude-code-config★ 214same name
- Kanevry/session-orchestrator★ 53same name
- fabianmartinelli-fm/harness-audit★ 7same name
- fmslutions/harness-audit★ 7same name
- fernandopetry/keelson★ 5same name
- DaeSeokSong/oh-my-ouroboros★ 3same name
- Sagargupta16/agent-brain★ 2same name
- sattva2020/skills★ 2same name
- contextosai/skills★ 1same name
12 more not listed
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.
In this repository9 other files it gives its agents.
- absorbSkill
- agent-starterSkill
- aim-before-buildSkill
- converge-planSkill
- decision-sheetSkill
- evidence-auditSkill
- goal-contractSkill
- morning-briefSkill
- phase-loopSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
Install selectively: Never push the whole template into a project.
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Harness Audit
Creating assets is easy; removing them is what nobody does. This stage checks one thing: were the assets we installed ever called?
Principles
- Dead means zero invocations AND no entry point. Both conditions. A skill with no log hits can still be alive if a command names it or a living skill links to it; moving it breaks that path. Catalog listings (README, INDEX) do not count as entry points.
- Two invocation paths. The model's
Skilltool calls and the user's typed slash commands. Counting only one produces false deaths. - Modification time is not usage. Good skills are invoked for months without edits, and checkouts overwrite mtime anyway.
- Templates are warehouses, not workers. Scaffold and template directories are expected to have zero invocations; measure recovery only in projects that do real work.
- Read recovery rate together with session count. Zero sessions means the project is resting, not that its skills are dead.
- Fewer installed assets recover better. One operator's measurement across 14 repositories (August 2026): projects holding 18 or fewer skills recovered 33–83% of them; projects holding 26–27 recovered 19–30%. This stage keeps the per-project set at 18 or fewer.
Run
python3 scripts/audit.py # current project against Claude Code session logs
python3 scripts/audit.py --root ~/code # every project under a root
python3 scripts/audit.py --jsonThe script reports, per project: sessions, installed skills, invocations per skill (tool calls plus slash commands), entry points found in commands and other skills, and a verdict per skill (ALIVE, LINKED, DEAD). Session logs are read from ~/.claude/projects/**/*.jsonl; other runtimes need an adapter.
Reading the result
| Signal | Meaning | Action |
| Recovery below 20% | Skills compete and matching collapsed | Archive dead ones first |
| Dead but zero sessions | Project is idle | Do nothing |
| Global invocations far exceed local | The real workers are global skills | Stop adding project skills |
| Copies of one skill differ across projects | Someone fixed only one copy | Restore the canonical one |
Actions
- Archive dead skills with
git mvinto_archive/; never delete. Record the recovery numbers in the commit message. - Harvest project-side improvements back into the shared template.
- Promote assets that exist identically in three or more projects into the template.
- Install selectively. Never push the whole template into a project; pick the shared commands plus what that project will actually call.
Pitfalls
- A new check produces false positives first. Open three samples by hand before reporting a number; a false alarm hides the real ones.
- Verdicts are only valid for the period the logs cover. A fresh machine makes everything look dead — the session column is the guard.
- Logs can be gigabytes. Run wide audits in the background.
Next
A dead asset with no replacement goes to absorb. A dead asset that died because nobody knew when to call it needs an entry point (a ## Next baton or a command), not a rewrite.
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.

