Create Agent Skills that comply with the agentskills.io specification. Use when the user asks to create a new skill, add agent capabilities, or build reusable instructions.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill Instructions
name: skill-creator description: Create Agent Skills that comply with the agentskills.io specification. Use when the user asks to create a new skill, add agent capabilities, or build reusable instructions.
Skill creator
Create Agent Skills following the agentskills.io specification.
When to use this skill
Use this skill when:
- The user wants to create a new skill
- You need to package reusable instructions for agents
- Building capabilities that should be discoverable and shareable
Design principles
Context efficiency
The context window is a shared resource. Only include information the agent doesn't already have. Challenge every inclusion: does it justify its token cost?
Include:
- Domain-specific knowledge the agent lacks
- Exact formats or templates required
- Decision criteria for edge cases
Exclude:
- General programming knowledge
- Common patterns the agent knows
- Redundant explanations
Appropriate specificity
Match constraint levels to task fragility:
| Task type | Approach |
|---|---|
| Flexible (summaries, analysis) | Text instructions |
| Preferred patterns | Pseudocode or examples |
| Error-prone operations | Specific scripts |
Progressive disclosure
Load content in phases to minimize token usage:
- Metadata (~100 tokens) - Always loads
- SKILL.md (<5000 tokens) - When skill activates
- References - Only when explicitly needed
Directory structure
skills/<skill-name>/
├── SKILL.md # Required: main instructions
├── references/ # Detailed docs, loaded on demand
├── scripts/ # Executable code for deterministic tasks
└── assets/ # Templates, images, boilerplate
Creation process
Step 1: Understand
Start with concrete examples of the task. What inputs? What outputs? What decisions along the way?
Step 2: Plan
Identify reusable components:
- Scripts for deterministic operations
- References for detailed guidance
- Assets for templates or boilerplate
Step 3: Initialize
python scripts/init_skill.py my-skill -d "Description of what this skill does"
This creates the directory structure and a SKILL.md template.
Step 4: Edit
Write the skill content:
- Frontmatter (name, description)
- When to use section
- Key directives
- Process steps
- Validation checklist
Step 5: Validate
python scripts/quick_validate.py skills/my-skill
Checks:
- Frontmatter completeness
- Name format and directory match
- Line count under 500
- Reference file existence
Step 6: Package
python scripts/package_skill.py skills/my-skill -o dist
Creates a distributable bundle with manifest.
Specification requirements
Required frontmatter
---
name: my-skill-name
description: What the skill does and when to use it.
---
Name: Max 64 chars, lowercase letters/numbers/hyphens, must match directory.
Description: Max 1024 chars, include trigger keywords.
Optional frontmatter
license: MIT
compatibility: Python 3.10+
metadata:
author: your-name
version: "1.0.0"
allowed-tools: Read Write Bash
Writing effective content
Descriptions
Structure: [Action verb] [what] [when to use]
Good: Create API integrations with retry logic. Use when building tools that call external services.
Bad: A utility for API stuff.
Instructions
Be specific about:
- Trigger conditions (when to activate)
- Required outputs (what to produce)
- Constraints (what to avoid)
Avoid:
- Auxiliary files (README.md, CHANGELOG.md)
- General knowledge the agent has
- Redundant explanations
Validation checklist
Before delivering a skill:
- Frontmatter has
nameanddescription - Name matches directory name
- Name is lowercase with hyphens (no underscores)
- Description under 1024 characters
- SKILL.md under 500 lines
- Has "When to use" section
- Has clear process steps
- References use relative paths
- All referenced files exist
References
- Output patterns - Templates and examples
- Workflow patterns - Sequential and conditional flows
- Agent Skills specification
More by mpuig
View allDiscover AWS infrastructure and save to JSON. Use when user asks to "discover AWS", "explore AWS account", "scan AWS infrastructure", or "create infrastructure JSON".
Generate AWS architecture diagrams from infrastructure JSON. Use when user asks to "generate diagram", "create AWS diagram", "visualize infrastructure", or "draw architecture".
Guide for creating structured plans with numbered steps and quality gates
Creating reusable tools in tools/ directory that workflows can import and use
