
example-command
✓ Official★ 31,500by anthropic · part of anthropics/claude-plugins-official
An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout
An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout
Inspect the full instructions your agent will receiveExpandCollapse
This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.
name: example-command description: An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout argument-hint: <required-arg> [optional-arg] allowed-tools: [Read, Glob, Grep, Bash]
Example Command (Skill Format)
This demonstrates the skills/<name>/SKILL.md layout for user-invoked slash commands. It is functionally identical to the legacy commands/example-command.md format — both are loaded the same way; only the file layout differs.
Arguments
The user invoked this with: $ARGUMENTS
Instructions
When this skill is invoked:
- Parse the arguments provided by the user
- Perform the requested action using allowed tools
- Report results back to the user
Frontmatter Options Reference
Skills in this layout support these frontmatter fields:
- name: Skill identifier (matches directory name)
- description: Short description shown in /help
- argument-hint: Hints for command arguments shown to user
- allowed-tools: Pre-approved tools for this skill (reduces permission prompts)
- model: Override the model (e.g., "haiku", "sonnet", "opus")
npx skills add https://github.com/anthropics/claude-plugins-official --skill example-commandRun this in your project — your agent picks the skill up automatically.
Example Usage
/example-command my-argument
/example-command arg1 arg2No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.