Overview
Skills are markdown files that define specialized agent behaviors and capabilities. Each skill file begins with YAML frontmatter that describes the skill’s purpose, trigger patterns, and metadata.File Structure
Every skill must follow this structure:SKILL.md in uppercase.
Frontmatter Schema
Required Fields
The skill’s unique identifier. Use lowercase with hyphens for multi-word names.Examples:
call-prepaccount-researchdata-explorationcontract-review
A comprehensive description that includes:
- What the skill does
- When to use it
- Trigger patterns that activate the skill
- Start with a clear, concise description of the skill’s purpose
- Include specific use cases
- List trigger patterns using natural language (e.g., “Trigger with ‘research [company]’”)
- Use multi-line YAML format (
>or|) for longer descriptions
Complete Example
Multi-line Description Format
For complex skills with many trigger patterns, use YAML’s multi-line syntax:Trigger Patterns
Trigger patterns tell the system when to activate your skill. Include them in the description field.Pattern Types
Explicit Commands
Direct phrases users type to invoke the skill:"research [company]""prep me for my call with [company]""review this code"
Natural Language Triggers
Conversational phrases that indicate the skill is needed:"I'm meeting with [company] prep me""what do you think of this design""help me evaluate this project"
Context-Based Triggers
Situations where the skill should activate automatically:"when encountering a new dataset""when the user shares code and asks for feedback""when reviewing vendor contracts"
Best Practices for Trigger Patterns
- Use brackets for variables:
[company],[person],[name]indicate user-provided values - Include variations: List different ways users might ask for the same thing
- Be specific: Clear triggers reduce ambiguity about when to use the skill
- Use quotes: Wrap trigger phrases in quotes for clarity
- Separate with commas or “or”: Make the list scannable
Examples from Real Skills
Sales Research Skill:Naming Conventions
Skill Name Guidelines
Use lowercase letters and hyphens to separate words. No spaces, underscores, or special characters.
Keep names concise but descriptive. Most skill names are 2-3 words.
The name should clearly indicate what the skill does.
Examples by Pattern
Action-Object Pattern (most common):account-researchcall-prepcontract-reviewdata-explorationcode-review
brand-voice-enforcementdesign-critiquelegal-risk-assessment
content-creationcompetitive-analysisuser-research-synthesis
scientific-problem-selectioninteractive-dashboard-builder
Validation Rules
The skill loader validates these requirements:
- File must be named
SKILL.md(case-sensitive) - Frontmatter must be valid YAML enclosed in
--- namefield is required and must be a stringdescriptionfield is required and must be a stringnamemust use lowercase letters, numbers, and hyphens only- No other frontmatter fields are currently supported
Directory Organization
Skills are organized by domain or plugin:Next Steps
Skill Examples
See complete skill examples with full markdown content
Plugin Structure
Learn how skills fit into the overall plugin architecture