
Example Skill
OfficialFreeA template for creating Claude Code plugin skills.
Free · Opens the source repo
What Example Skill does
The Example Skill serves as a foundational reference for developers looking to create their own Claude Code plugin skills. It outlines the necessary structure and format, ensuring that users can effectively design skills that Claude can autonomously invoke based on contextual cues. This skill is particularly useful for those who are new to skill development or need guidance on best practices in structuring their skills.
The skill provides a clear overview of required and optional files, including the main SKILL.md that defines the skill's purpose and activation conditions. By following the provided guidelines, developers can create skills that are not only functional but also easy to understand and maintain. The inclusion of frontmatter options allows for further customization of skills, enabling developers to specify key details such as the skill's name, description, and version.
Additionally, the Example Skill emphasizes the importance of writing effective descriptions that clearly communicate when the skill should be activated. This ensures that Claude can accurately respond to user requests related to the skill's purpose. The guidelines also encourage the inclusion of examples and structured guidance, which can significantly enhance the usability and effectiveness of the skills created.
Overall, this skill is designed for developers and designers who are interested in skill creation for Claude. It provides a solid foundation and best practices that can lead to the development of well-structured and efficient skills.
When to use it
Use this skill when you need to create or understand the structure of Claude Code plugin skills, or when seeking a template for skill development.
When not to use it
This skill is not suitable for executing tasks or commands; it is strictly a reference for skill development.
What you can build with it
Creating a New Skill
Use the Example Skill as a starting point when developing a new Claude Code plugin, ensuring you adhere to the recommended structure.
Understanding Skill Activation
Refer to this skill to clarify how skills are activated based on user queries and context.
Learning Best Practices
Utilize the guidelines provided in the Example Skill to improve your skill development process and ensure clarity.
How to install Example Skill
View source1. Install with the skills CLI
npx skills add anthropics/claude-plugins-official/example-skill --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by anthropicsExample Skill
This skill demonstrates the structure and format for Claude Code plugin skills.
Overview
Skills are model-invoked capabilities that Claude autonomously uses based on task context. Unlike commands (user-invoked) or agents (spawned by Claude), skills provide contextual guidance that Claude incorporates into its responses.
When This Skill Applies
This skill activates when the user's request involves:
- Creating or understanding plugin skills
- Skill template or reference needs
- Skill development patterns
Skill Structure
Required Files
skills/
└── skill-name/
└── SKILL.md # Main skill definition (required)
Optional Supporting Files
skills/
└── skill-name/
├── SKILL.md # Main skill definition
├── README.md # Additional documentation
├── references/ # Reference materials
│ └── patterns.md
├── examples/ # Example files
│ └── sample.md
└── scripts/ # Helper scripts
└── helper.sh
Frontmatter Options
Skills support these frontmatter fields:
- name (required): Skill identifier
- description (required): Trigger conditions - describe when Claude should use this skill
- version (optional): Semantic version number
- license (optional): License information or reference
Writing Effective Descriptions
The description field is crucial - it tells Claude when to invoke the skill.
Good description patterns:
description: This skill should be used when the user asks to "specific phrase", "another phrase", mentions "keyword", or discusses topic-area.
Include:
- Specific trigger phrases users might say
- Keywords that indicate relevance
- Topic areas the skill covers
Skill Content Guidelines
- Clear purpose: State what the skill helps with
- When to use: Define activation conditions
- Structured guidance: Organize information logically
- Actionable instructions: Provide concrete steps
- Examples: Include practical examples when helpful
Best Practices
- Keep skills focused on a single domain
- Write descriptions that clearly indicate when to activate
- Include reference materials in subdirectories for complex skills
- Test that the skill activates for expected queries
- Avoid overlap with other skills' trigger conditions
Frequently asked questions about Example Skill
Similar skills
Skill Creator
Efficiently create and manage skills for Gemini CLI.
Agent Development
Create and manage autonomous agents for Claude Code.
Math Olympiad Solver
Solve and verify competition math problems effectively.
Microsoft Skill Creator
Create specialized skills for Microsoft technologies.
Doublecheck
A verification pipeline for AI-generated claims.
Skill Development for Claude Code
Create and enhance skills for Claude Code plugins.
