SkillLow riskUnclaimed
Example Command (Skill Format)
An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout
anthropicsanthropics/example-command
Description
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")
Example Usage
/example-command my-argument
/example-command arg1 arg2
Permissions
DeclaredDetected
Runs code—None
Installs—None
Runs install scripts—None
Network—None
Needs credentials—None
Outside the workspace—None
Agent tools
ReadGlobGrepBashReadGlobGrepBashChecks
Low risk · Nothing worth a warning was found.
Not reviewed by a person · Checked by rules; the model review is not switched on yet.
Files1 file · 1.2 KB
- SKILL.md1.2 KB
Versions
- #1—latestOct 7, 2026
Example Command (Skill Format)Open in Codeg