Loading...
Loading...
Audit existing skills (global and project-level) for agent-friendliness, consistency, and best practices. Use when asked to "audit my skills", "review skill setup", "analyze skill quality", "check skill health", "improve my skills", or when wanting an assessment of the overall skill ecosystem. Provides actionable recommendations for improving skill effectiveness.
npx skill4agent add petekp/claude-code-setup skill-auditor~/.claude/skills/*/SKILL.md./skills/*/SKILL.md./.claude/skills/*/SKILL.md| Criterion | Check |
|---|---|
| Description completeness | Does it explain both WHAT and WHEN? |
| Trigger coverage | Are all reasonable trigger phrases included? |
| Description length | Sufficient detail without being excessive (50-300 words ideal) |
| Non-standard fields | Any fields beyond name/description? (often unnecessary) |
| Criterion | Check |
|---|---|
| Line count | Under 500 lines? (Over suggests need for reference split) |
| Progressive disclosure | Does it use reference files for detailed content? |
| Actionability | Are instructions concrete and procedural? |
| Output contracts | Does it specify expected output format? |
| Examples | Does it include good/bad examples where helpful? |
| Criterion | Check |
|---|---|
| Reference organization | Are references in |
| Script availability | Are reusable operations scripted? |
| Internal links | Are reference files linked from SKILL.md? |
| Naming consistency | Do file names follow conventions? |
# Skill Ecosystem Audit
**Generated**: [timestamp]
**Skills audited**: [count] global, [count] project-level
## Executive Summary
[2-3 sentences: overall health, biggest opportunities, critical issues if any]
**Health Score**: [X/100]
## Quick Stats
| Metric | Value | Assessment |
|--------|-------|------------|
| Total skills | [n] | — |
| Avg SKILL.md lines | [n] | [Good/High/Concerning] |
| Skills over 500 lines | [n] | [Needs attention if >0] |
| Skills with references | [n]% | [Good if >30%] |
| Skills with scripts | [n]% | — |
| Duplicate coverage areas | [n] | [Needs review if >0] |
## Top Recommendations
### Priority 1: [Most impactful improvement]
[Specific action with affected skills]
### Priority 2: [Second improvement]
[Specific action with affected skills]
### Priority 3: [Third improvement]
[Specific action with affected skills]
## Individual Skill Assessments
### [skill-name] — [Grade: A/B/C/D]
**Strengths:**
- [What works well]
**Issues:**
- [Specific problem] → [Specific fix]
**Quick wins:**
- [ ] [Actionable improvement]
[Repeat for each skill, ordered by grade (worst first for attention)]
## Domain Coverage Map
| Domain | Skills | Coverage |
|--------|--------|----------|
| [e.g., Design] | [list] | [Complete/Partial/Gap] |
| [e.g., Code Quality] | [list] | [Complete/Partial/Gap] |
## Overlap Analysis
[If overlaps exist, describe which skills overlap and recommend consolidation]
## Ecosystem Recommendations
### Organization
- [Recommendations for how skills are organized]
### Consistency
- [Recommendations for standardizing across skills]
### Missing Skills
- [Suggestions for skills that would complement the ecosystem]| Grade | Criteria |
|---|---|
| A | Clear triggers, concise content (<300 lines), uses references appropriately, has output contract, well-organized |
| B | Good triggers, reasonable length, mostly organized, minor improvements possible |
| C | Triggers could be better, content somewhat long, organization issues, needs work |
| D | Weak triggers, bloated content (>500 lines), poor organization, significant rewrite needed |
references/namedescription# Count skills and sizes
find ~/.claude/skills -name "SKILL.md" -exec wc -l {} \; | sort -n
find ./skills -name "SKILL.md" -exec wc -l {} \; 2>/dev/null | sort -n