What problem does it solve?
This Skill addresses the challenge of managing large, complex AI commands and agents by automatically identifying and extracting reusable components (scripts, references, assets) into modular, standalone skills. This saves development time, improves code maintainability, and promotes reusability across your AI ecosystem.
Core Features & Use Cases
- Automated Component Analysis: Scans existing commands/agents to detect large code blocks, documentation, and templates suitable for extraction.
- Structured Skill Generation: Creates properly formatted skill directories with
SKILL.md, scripts/, references/, and assets/ as needed.
- Detailed Migration Reports: Provides step-by-step guidance on how to update your original command/agent to reference the newly extracted skill, ensuring a smooth transition.
- Use Case: You have a "Content Creator" agent with embedded writing style guides, boilerplate article templates, and a Python script for SEO keyword analysis. Use this skill to extract these into a "Writing Tools" skill, making them accessible to other content-related agents and simplifying your main agent's logic.
Quick Start
To analyze and extract components from an existing command:
Analyze a command: @skill-extractor analyze --input ~/.claude/commands/mine/my-command.md
Extract components: @skill-extractor extract analysis.json --name my-new-skill --output ./my-skills