anthropics/example-command
An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout
npx skills add https://github.com/anthropics/claude-plugins-official --skill example-command
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.
The user invoked this with: $ARGUMENTS
When this skill is invoked:
Skills in this layout support these frontmatter fields:
/example-command my-argument
/example-command arg1 arg2
Take anthropics/example-command from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.