skill-optimizer
Installation
SKILL.md
Optimize the Claude Code skill at $ARGUMENTS.
Steps
- If
$ARGUMENTSis empty or the path does not contain SKILL.md, report: "Error: Provide a valid skill directory path containing SKILL.md." - Run:
python "$SKILL_DIR/scripts/analyze_skill.py" "$ARGUMENTS" - Read
$SKILL_DIR/resources/CHECKLIST.mdand$SKILL_DIR/resources/PATTERNS.md. - Cross-reference JSON report with CHECKLIST and PATTERNS.
- Present findings: Critical → Recommended → Optional, each with before/after fix.
- Generate optimized SKILL.md resolving all Critical and Recommended issues.
Output
Report issues by severity, then a token budget table (Before/After/Δ), then the full optimized SKILL.md.