Skip to content
alyn
Anthropic Official

Example Skill skill

This skill should be used when the user asks to "demonstrate skills", "show skill format", "create a skill template", or discusses skill development patterns. Provides a reference template for creating Claude Code plugin skills.

$npx skills add anthropics/claude-plugins-official --skill example-skill
GitHub stars
46,761
Pack installs
184k
Alyn Score
75/99
Updated
2 h ago
License
Apache-2.0

Anthropic

Example Skill

Install Example Skill

Pick your agent. Every command is ready to paste.

$npx skills add anthropics/claude-plugins-official --skill example-skill

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads example-skill when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the example-skill skill”. In Codex, type $example-skill.

The skill itself

SKILL.md

GitHub

Example 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

  1. Clear purpose: State what the skill helps with
  2. When to use: Define activation conditions
  3. Structured guidance: Organize information logically
  4. Actionable instructions: Provide concrete steps
  5. 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

Tips for Example Skill

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • It is part of a pack with 36 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Example Skill

What does the Example Skill skill do?

This skill should be used when the user asks to "demonstrate skills", "show skill format", "create a skill template", or discusses skill development patterns. Provides a reference template for creating Claude Code plugin skills.

How do I install Example Skill?

Run "npx skills add anthropics/claude-plugins-official --skill example-skill" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Example Skill work in Cursor and Codex?

Yes. Example Skill uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Example Skill free?

Example Skill is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Example Skill?

Example Skill is published by Anthropic in the anthropics/claude-plugins-official repository, together with 35 other skills.

Similar skills. From other creators.