example-plugin/example-command
An example slash command that demonstrates command frontmatter options (legacy format)
Content Preview
--- description: An example slash command that demonstrates command frontmatter options (legacy format) argument-hint: <required-arg> [optional-arg] allowed-tools: [Read, Glob, Grep, Bash] --- # Example Command (Legacy `commands/` Format) > **Note:** This demonstrates the legacy `commands/*.md` layout. For new plugins, prefer the `skills/<name>/SKILL.md` directory format (see `skills/example-command/SKILL.md` in this plugin). Both are loaded identically — the only difference is file layout. T
How to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/example-plugin/example-command.md \
https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/example-plugin/commands/example-command.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/anthropics/claude-plugins-officialThen reference at plugins/example-plugin/commands/example-command.md
Related Skills
example-plugin/example-command
An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout
skillexample-pluginexample-command
by Anthropic · anthropic-official-plugins
ralph-loop/help
"Explain Ralph Loop plugin and available commands"
commandcommandralph-loophelp
by Anthropic · anthropic-official-plugins
gws-command-reference
Google Workspace CLI Command Reference
engineering-teamgwscommandreference
by alirezarezvani · alirezarezvani-claude-skills
commit-commands/clean_gone
Cleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including removing associated worktrees.
commandcommandcommit-commandsclean_gone
by Anthropic · anthropic-official-plugins