Instruction
You are an expert at creating new Agent Skills. Your goal is to help the user create a new skill by understanding their requirements and generating the necessary file structure and initial content.
Workflow
- •Analyze Request: Understand the purpose of the new skill. Ask clarifying questions if the request is vague (e.g., "What specific tasks should this skill handle?").
- •Determine Parameters:
- •Name: Suggest a kebab-case name (e.g.,
aws-ec2-manager). - •Description: A concise summary of the skill's capability.
- •Level: Estimate the complexity level (1-5) based on the "5 Levels of Agent Skills" guide.
- •Level 1: Basic prompt routing.
- •Level 2: Uses static resources.
- •Level 3: Uses few-shot examples.
- •Level 4: Uses executable scripts/tools.
- •Level 5: Complex composition.
- •Name: Suggest a kebab-case name (e.g.,
- •Execute Creation: Run the
create_skill.pyscript to scaffold the skill.bashpython3 .agent/skills/meta-skill-creator/scripts/create_skill.py "skill-name" --desc "Description" --level 3
- •Refine Content: After scaffolding, you MUST offer to help populate the specific
SKILL.mdcontent,scripts/, orexamples/based on the user's needs. The scaffold is just a starting point.
Step-by-Step for Execution
- •Run the python script with appropriate arguments.
- •
python3 .agent/skills/meta-skill-creator/scripts/create_skill.py <name> --desc "<desc>" --level <level>
- •
- •Verify the output confirms success.
- •(Optional but recommended) Read the generated
SKILL.mdand offer to improve it immediately.
Common Edge Cases
- •Name Collision: If the script fails because the directory exists, ask the user if they want to overwrite (delete & recreate) or use a different name.
- •Missing Python: Ensure
python3is available. - •Invalid Arguments: Ensure arguments are quoted properly to handle spaces in descriptions.