Creating Agent Skills
Learn how to create custom agent skills that package domain expertise into reusable, shareable formats.Why Create Custom Skills?
Codify Expertise
Capture domain knowledge and best practices in a reusable format
Consistent Quality
Ensure agents follow the same high standards every time
Easy Sharing
Share skills across teams, projects, or the entire community
Reduce Prompting
Stop repeating the same instructions - package them once
Skill Structure
Required Files
Every skill must have aSKILL.md file:
Optional Files
Creating SKILL.md
Basic Template
YAML Frontmatter Fields
- name
- description
- license
- metadata
Required | StringUnique identifier for the skill. Use lowercase with hyphens.
Writing Effective Instructions
1. Define the Role Clearly
Start with a clear role definition:- Sets expertise level
- Defines scope of responsibility
- Establishes authority
2. Specify Triggers Precisely
- Good Triggers
- Poor Triggers
- Specific task descriptions
- Clear keywords to match
- Covers multiple scenarios
3. Use Structured Formats
Checklists
Checklists
Great for systematic processes:
Priority Levels
Priority Levels
Help agents prioritize:
Examples
Examples
Show good and bad patterns:✅ Correct:
4. Define Output Formats
Show agents exactly what output should look like:5. Include Examples
Show the skill in action:Advanced: Rules-Based Skills
For complex domains, organize rules separately:Directory Structure
SKILL.md Points to Rules
AGENTS.md Compiles All Rules
Create a comprehensive reference document:Best Practices
Do’s
Be Specific
Clear, actionable instructions are better than general advice
Show Examples
Demonstrate both correct and incorrect patterns
Prioritize
Use CRITICAL, HIGH, MEDIUM, LOW to guide agent focus
Include Context
Explain why something matters, not just what to do
Don’ts
Avoid Ambiguity
Vague instructions lead to inconsistent agent behavior
Don't Overload
Too many instructions reduce effectiveness - focus on essentials
Skip Jargon
Unless necessary for the domain, use clear language
No Contradictions
Ensure instructions don’t conflict with each other
Testing Your Skill
1. Test Activation
Verify the skill activates for expected triggers:2. Test Quality
Evaluate agent output:- Does it follow all instructions?
- Does output match expected format?
- Are examples helpful and correct?
- Is priority correctly applied?
3. Test Edge Cases
Try ambiguous or boundary cases:Publishing Your Skill
1. Choose a Repository
Options:- Your own GitHub repository
- Fork awesome-agent-skills
- Submit to a skill marketplace
2. Add Documentation
Include:- README.md - How to use the skill
- LICENSE - Clear licensing (MIT recommended)
- Examples - Demo of skill in action
3. Share
- Submit to awesome-agent-skills via PR
- Share on social media
- Add to agentskills.io directory
- Blog about your skill
Skill Template
Use this as a starting point:Resources
Agent Skills Specification
Official specification for skill format
Awesome Agent Skills
Collection of example skills to learn from
Vercel Agent Skills
Official examples from Vercel
Community Discord
Get help creating skills
Next Steps
Browse Existing Skills
Learn from existing skill implementations
Coding Skills
See examples of coding skills
Research Skills
Explore research skill patterns
Writing Skills
Review writing skill structures
