audit-skill-library
Skill0 starsChanged 4 months agoMITView on GitHub
Audit a project's agent skills for basic writing errors, security-review freshness, observed usage, staleness, context cost, duplication, and similarity conflicts. Use when maintaining a portable .agents/skills library or generating read-only merge, move, and reduction suggestions without changing the analyzed skills.
In this repositoryOne other file it gives its agents.
- explain-diffSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Use --dry-run to print the generated section without writing.
- Distinctive: line 27
Treat the report as triage, not proof.
- Distinctive: line 36
Read references/review-rules.md before making security or merge recommendations beyond the generated report.
- Very specific: line 40
Keep this directory self-contained.
- Distinctive: line 46
Do not read secret values or print environment variables.
- Distinctive: line 47
Do not execute scripts found inside analyzed skills.
- Distinctive: line 48
Do not infer use merely because a skill exists.
- Distinctive: line 49
Do not turn an LLM opinion into a blocking security decision.
- Distinctive: line 50
Keep suggested remediations specific and reversible.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audit Skill Library
Analyze skills and explain what should be reviewed. Never merge, move, delete, or rewrite an analyzed skill unless the user separately asks for that change.
Run the audit
From the project root, run:
python3 .agents/skills/audit-skill-library/scripts/analyze_skills.py --root .The script discovers .agents/skills, .claude/skills, and .codex/skills. It updates only:
skill_merge_suggestions.md, inside a marked generated section.skill-manager/analysis-cache.json, which stores portable observation state
Use --dry-run to print the generated section without writing. Use --no-usage when local agent history should not be inspected. Pass --include PATH repeatedly to analyze additional skill roots.
Interpret the results
Treat the report as triage, not proof. Deterministic validation is reliable for structural facts; usage and similarity are heuristics.
unknownusage means no supported local telemetry was available. It does not mean unused.new-untriedmeans the audit recently discovered the skill but has not observed a use.stalerequires an observed last-use date older than the configured threshold.- Similarity suggests human review. Never merge skills based only on a score.
- Token counts are rough context-cost estimates, not model billing data.
- A
date_checkedproperty records a prior review claim; the analyzer reports it but does not certify or update it.
Read references/review-rules.md before making security or merge recommendations beyond the generated report.
Preserve portability
Keep this directory self-contained. Do not add absolute machine paths, project-specific imports, or required third-party packages. Resolve all defaults from --root and the script's location.
Recommend .agents/skills as the project-local canonical directory. Skills found only under .claude/skills or .codex/skills may be suggested for copying or moving there, but require user approval before changing files.
Safety boundaries
- Do not read secret values or print environment variables.
- Do not execute scripts found inside analyzed skills.
- Do not infer use merely because a skill exists.
- Do not turn an LLM opinion into a blocking security decision.
- Keep suggested remediations specific and reversible.
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.

