mirror of
https://github.com/anthropics/claude-plugins-official.git
synced 2026-01-30 20:42:03 +00:00
943 B
943 B
description, argument-hint, allowed-tools
| description | argument-hint | allowed-tools | ||||
|---|---|---|---|---|---|---|
| An example slash command that demonstrates command frontmatter options | <required-arg> [optional-arg] |
|
Example Command
This command demonstrates slash command structure and frontmatter options.
Arguments
The user invoked this command with: $ARGUMENTS
Instructions
When this command 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
Commands support these frontmatter fields:
- description: Short description shown in /help
- argument-hint: Hints for command arguments shown to user
- allowed-tools: Pre-approved tools for this command (reduces permission prompts)
- model: Override the model (e.g., "haiku", "sonnet", "opus")
Example Usage
/example-command my-argument
/example-command arg1 arg2