From optimize-skills
Use when the user asks to "optimize a skill", "restructure a skill", "audit a skill", "split a skill into files", "modularize a skill", "improve skill consistency", "my skill output is inconsistent", or wants to refactor a Claude Code skill file into a modular folder structure. Also trigger when the user mentions that a skill "drifts", "is inconsistent", or "works half the time".
How this skill is triggered — by the user, by Claude, or both
Slash command
/optimize-skills:skill-optimizerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit and restructure Claude Code skill files into modular folder structures where SKILL.md is a pure orchestrator and each distinct section lives in its own reference file.
Audit and restructure Claude Code skill files into modular folder structures where SKILL.md is a pure orchestrator and each distinct section lives in its own reference file.
Ask the user which skill to optimize. Accept:
Read the target SKILL.md file completely.
Read ${CLAUDE_PLUGIN_ROOT}/skills/skill-optimizer/references/audit-checklist.md for the audit methodology.
Analyze the skill file and identify every distinct section. Present the full audit to the user in the format specified by the checklist. Do not make any changes yet — show the audit and wait for confirmation.
Read ${CLAUDE_PLUGIN_ROOT}/skills/skill-optimizer/references/restructure-rules.md for the restructuring rules and conventions.
Read ${CLAUDE_PLUGIN_ROOT}/skills/skill-optimizer/references/examples.md for before/after examples and common patterns.
Based on the audit and the user's confirmation:
references/ directoryAfter creating all files, verify:
Present a summary of what was created and ask the user to test the restructured skill on a real task.
If the user reports that something drifted or broke after restructuring:
references/audit-checklist.md — How to identify and categorize sections in a skill filereferences/restructure-rules.md — Rules for creating the orchestrator and splitting content into filesreferences/examples.md — Before/after examples and common restructuring patternsnpx claudepluginhub jericommerce/claude-plugins --plugin optimize-skillsRefines and validates existing Claude Code skills for clarity, efficiency, and production readiness. Use for improving structure, best practices, token reduction, and production checks.
Audits Claude Code skills for violations, gaps, and improvements in frontmatter, structure, and quality across 7 dimensions. Outputs structured repair plans with severities.
Guides creation and debugging of Claude Code skills: anatomy, frontmatter, progressive disclosure, bundled resources, trigger tuning, and iteration.