Skills skill-audit
Audit all installed skills for quality, duplicates, structural issues, and best-practice compliance. Use when asked to review, audit, lint, or check skills for problems. Triggers on "audit skills", "skill quality", "check my skills", "skill duplicates", "skill hygiene".
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/bill492/unblocklabs-skill-audit" ~/.claude/skills/openclaw-skills-skill-audit && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/bill492/unblocklabs-skill-audit" ~/.openclaw/skills/openclaw-skills-skill-audit && rm -rf "$T"
manifest:
skills/bill492/unblocklabs-skill-audit/SKILL.mdsource content
skill-audit
Scans all skill locations (global, workspace, project) and produces a structured audit report.
What It Checks
Structural Quality (per skill)
- Description quality — Is the
field trigger-oriented (tells the model when to use it) vs a vague summary?description - Gotchas section — Does the SKILL.md include a Gotchas/Pitfalls/Common Issues section? (Highest-signal content per Anthropic)
- Progressive disclosure — Does the skill use subdirectories (scripts/, references/, assets/, examples/) or is it a flat SKILL.md?
- File structure — Are there scripts, templates, or reference files the agent can discover?
- YAML frontmatter — Does it have
,name
, and optionallydescription
?compatibility - Category fit — Does it map cleanly to one of the 9 skill categories (Library/API, Verification, Data, Automation, Scaffolding, Code Quality, CI/CD, Runbooks, Infrastructure)?
Cross-Skill Issues
- Duplicates — Same skill name or overlapping functionality across global/workspace/project dirs
- Orphan files — Stale
files, empty dirs, leftover copies.skill - Category gaps — Which of the 9 categories have no skills at all?
- Stale skills — Skills that reference missing tools, dead paths, or deprecated APIs
How to Run
Tell the agent: "audit my skills" or "run skill-audit"
The agent will:
- Run
to scan all skill locations and collect metadatascripts/audit.sh - Score each skill (0-10) based on the checks above
- Produce a summary report with:
- Per-skill scorecard
- Top issues to fix (sorted by impact)
- Category coverage map
- Duplicate/orphan findings
Output
Results are written to
.sub-agent-results/skill-audit-report.md and summarized in chat.
Scoring
| Points | Criteria |
|---|---|
| +2 | Has YAML frontmatter with name + description |
| +2 | Description is trigger-oriented (contains "use when", "trigger", action verbs) |
| +2 | Has a Gotchas/Pitfalls/Common Issues section |
| +2 | Uses progressive disclosure (has subdirs with scripts/references/assets) |
| +1 | Has at least one script or executable file |
| +1 | SKILL.md is between 200-5000 chars (not too sparse, not bloated) |
Scores: 8-10 = Good, 5-7 = Needs work, 0-4 = Poor
References
- Anthropic: Lessons from Building Claude Code Skills — Thariq's 9 categories, gotchas sections, progressive disclosure
- Ole Lehmann: Auto-improve Skills — Autoresearch loop (future enhance mode)