This document provides detailed information about each example skill, including complete SKILL.md content, structure details, and learning points.
The complete example skills can be accessed from:
- Source Repository: https://github.com/anthropics/skills
- Browse Online: https://github.com/anthropics/skills/tree/main
For local development and study, you can clone the repository:
git clone https://github.com/anthropics/skills.gitThe minimal skill example - just the bare essentials required for a valid skill.
template-skill/
└── SKILL.md
---
name: template-skill
description: A basic template to use as a starting point for new skills
---
# Template Skill
This is a basic skill template demonstrating the minimum requirements for a valid skill.
## Usage
Replace this content with your skill's instructions, guidelines, and examples.
## Structure
Every skill must have:
1. A `SKILL.md` file with YAML frontmatter
2. A `name` field (hyphen-case, matching directory name)
3. A `description` field explaining what the skill does
Optional resources can be added:
- `scripts/` - Executable code
- `references/` - Documentation to load into context
- `assets/` - Files used in output- Minimal requirements: Only SKILL.md with frontmatter is required
- YAML frontmatter: name and description fields are mandatory
- Naming convention: Hyphen-case for skill names
- Directory matching: Skill name must match directory name
- Quick prototyping of new skills
- Simple instruction-only skills with no bundled resources
- Understanding minimum skill requirements
- Teaching skill basics
Workflow-based skill for writing different types of internal communications.
internal-comms/
├── SKILL.md
└── examples/
├── 3p-updates.md
├── company-newsletter.md
├── faq-answers.md
└── general-comms.md
## How to use this skill
1. **Identify the communication type** from the request
2. **Load the appropriate guideline file** from examples/:
- 3p-updates.md - Progress/Plans/Problems team updates
- company-newsletter.md - Company-wide newsletters
- faq-answers.md - Frequently asked questions
- general-comms.md - General communications
3. **Follow the specific instructions** in that file- Decision tree pattern: SKILL.md acts as router to specific guidelines
- Progressive disclosure: Load only the guideline needed for the task
- Multiple workflows: Different files for different communication types
- Context efficiency: Main doc stays concise, details in references
- Skills with multiple distinct workflows or modes
- When different scenarios need different instructions
- To avoid overloading main SKILL.md with all scenarios
- For skills where one approach doesn't fit all use cases
Collection of 10 professional themes (colors + fonts) that can be applied to artifacts.
theme-factory/
├── SKILL.md
├── themes/
│ ├── ocean-depths.md
│ ├── sunset-boulevard.md
│ ├── forest-canopy.md
│ ├── modern-minimalist.md
│ ├── golden-hour.md
│ ├── arctic-frost.md
│ ├── desert-rose.md
│ ├── tech-innovation.md
│ ├── botanical-garden.md
│ └── midnight-galaxy.md
└── assets/
└── theme-showcase.pdf
## Usage Instructions
1. When a user requests themed styling for an artifact
2. Present the 10 available themes from themes/ directory
3. User selects preferred theme
4. Load the selected theme file
5. Apply colors and fonts consistently- Library pattern: Pre-built options user can select from
- Reference organization: Each theme in separate file for modularity
- Asset inclusion: PDF showcase for visual preview
- On-demand loading: Only load selected theme, not all 10
- Custom generation: Can create new themes on-the-fly if needed
- Skills providing multiple template/preset options
- Reference libraries with selectable content
- Style guides and design systems
- Skills where user choice drives resource loading
Apply Anthropic's official brand colors and typography to artifacts.
brand-guidelines/
├── SKILL.md
├── references/
│ ├── brand-colors.md
│ └── typography-guidelines.md
└── assets/
├── anthropic-logo.png
├── slides-template.pptx
└── brand-assets/
└── [various image files]
- Guidelines + templates: Both documentation and usable files
- Asset management: Logos, templates, and visual resources
- Reference docs: Detailed color palettes and typography specs
- Output files: Templates that get used/modified in final output
- Assets folder purpose: Files NOT loaded into context, but used in output
- Template provision: Providing starting points for user work
- Visual resources: Including images and design files
- Separation of concerns: Guidelines (references) vs. usable files (assets)
- Skills that need visual assets (logos, icons, images)
- Template-driven work (PowerPoint, Word, design files)
- Brand/design system implementations
- Skills producing styled output
Comprehensive guide for creating Model Context Protocol (MCP) servers.
mcp-server/
├── SKILL.md
└── references/
├── mcp-overview.md
├── server-architecture.md
├── tool-implementation.md
└── deployment-guide.md
- Technical documentation: Detailed guides for developer tasks
- Multi-part references: Breaking complex topic into digestible sections
- Code examples: Showing implementation patterns
- Progressive depth: Overview → architecture → implementation → deployment
- Technical skill structure: How to organize developer-focused documentation
- Code generation guidance: Providing patterns without rigid scripts
- Reference depth: When to include detailed technical specs
- Documentation organization: Logical flow from concepts to implementation
- Developer tool creation skills
- Technical documentation and guides
- Code generation with flexibility
- Skills teaching complex technical concepts
Advanced toolkit for creating animated GIFs optimized for Slack's size constraints.
slack-gif-creator/
├── SKILL.md
├── LICENSE.txt
├── core/
│ ├── gif_builder.py
│ ├── validators.py
│ ├── frame_composer.py
│ └── easing.py
├── templates/
│ ├── shake.py
│ ├── bounce.py
│ ├── move.py
│ ├── zoom.py
│ ├── fade.py
│ ├── explode.py
│ ├── slide.py
│ ├── pulse.py
│ ├── morph.py
│ └── kaleidoscope.py
└── references/
└── animation-patterns.md
# Composable primitives
from templates.shake import create_shake_animation
from templates.bounce import create_bounce_animation
from core.gif_builder import GIFBuilder
# Build complex animations from simple building blocks
builder = GIFBuilder(480, 480, 20)
frames = create_shake_animation(...)
builder.add_frames(frames)
builder.save('output.gif')- Toolkit architecture: Core + templates pattern
- Composable building blocks: Primitives that combine freely
- Validation systems: Checking constraints (file size, dimensions)
- Helper utilities: Optional support functions
- Creative freedom: Tools, not rigid recipes
- Complexity management: Organizing extensive codebase
- Skills with sophisticated programmatic capabilities
- Composable toolkits with building blocks
- Skills requiring validation/constraints
- Complex Python/code-heavy implementations
- When users need creative flexibility within technical limits
The spotify-api skill (parent directory) demonstrates yet another pattern:
spotify-api/
├── SKILL.md
├── scripts/
│ ├── spotify_client.py # API wrapper class
│ └── playlist_creator.py # High-level utilities
└── references/
├── api_reference.md # Endpoint documentation
└── authentication_guide.md # OAuth 2.0 setup
- slack-gif-creator: Complex Python codebase, composable methods
- mcp-server: Technical implementation guidance
- Unique pattern: OAuth authentication flow management
- API wrapper approach: Client class with 40+ methods
- Token lifecycle: Handling access/refresh tokens
- Rate limiting: Awareness of API constraints
The Spotify skill shows how to:
- Wrap external APIs with Python classes
- Manage authentication lifecycles
- Handle errors and retries
- Provide both low-level and high-level interfaces
- Document API integration patterns
- Starting from scratch
- Very simple instruction-only skill
- Learning the basics
- Quick prototyping
- Multiple distinct workflows
- Different scenarios need different instructions
- Want to avoid overloading main doc
- Context efficiency is important
- Providing pre-built options/templates
- User selects from library
- Style guides and design systems
- Reference collections
- Need visual assets (logos, images)
- Providing templates users will modify
- Brand/design implementation
- Output includes styled documents
- Developer-focused technical skill
- Complex documentation needs
- Code generation with flexibility
- Teaching technical concepts
- Sophisticated programmatic toolkit
- Composable building blocks
- Validation/constraint systems
- Creative freedom within technical limits
- Integrating external APIs
- Authentication/OAuth flows needed
- API wrapper class approach
- Complex token management
Most production skills combine multiple patterns. For example:
Spotify skill uses:
- API Integration pattern (main)
- Technical Guide pattern (references/)
- Composable Toolkit pattern (multiple creation methods)
You might combine:
- Workflow + Templates (internal-comms + theme-factory)
- API Integration + Assets (spotify-api + brand-guidelines)
- Technical Guide + Toolkit (mcp-server + slack-gif-creator)
Don't feel limited to one pattern - analyze your needs and mix approaches!
To study the complete implementation of any example:
-
Clone the repository:
git clone https://github.com/anthropics/skills.git cd skills -
Browse specific skill:
# View structure ls -R slack-gif-creator/ # Read SKILL.md cat slack-gif-creator/SKILL.md # Study Python code cat slack-gif-creator/core/gif_builder.py
-
Try validating:
# Use the validator from this project python tools/validate_skill.py path/to/skills/slack-gif-creator
These examples work together with:
- Guide/ folder - Educational content on skill creation principles
- tools/ directory - Automated tools (init, validate, package)
- spotify-api/ - Production example of API integration
- agent_skills_spec.md - Official specification
Learning Flow:
- Read Guide/SKILL_CREATION_GUIDE.md for principles
- Study examples/ for concrete patterns
- Examine spotify-api/ for production quality
- Use tools/ to create your own skills
All examples referenced from:
- Repository: https://github.com/anthropics/skills
- License: Apache License 2.0
- Copyright: Anthropic PBC
When using these patterns:
- ✅ Study and learn from them freely
- ✅ Adapt patterns for your own skills
- ✅ Reference them in documentation
- ✅ Share knowledge with others
⚠️ Maintain attribution when copying substantial code⚠️ Include Apache 2.0 license if distributing derivatives
- Official Docs: https://support.claude.com/en/articles/12512198-how-to-create-custom-skills
- Source Repo: https://github.com/anthropics/skills
- This Project: See SPOTIFY_SKILL_README.md for complete overview
Happy skill creating! 🚀