example-command
An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout
How do I install this agent skill?
npx skills add https://github.com/anthropics/claude-plugins-official --skill example-commandIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This example skill demonstrates a standard command layout and provides a template for processing user-provided arguments. While this structure is common for interactive utilities, the combination of processing external input and access to the Bash tool creates a potential surface for indirect prompt injection. These considerations are typical for development-focused skills and can be addressed with input validation practices.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
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")
Example Usage
/example-command my-argument
/example-command arg1 arg2
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/anthropics/claude-plugins-official/example-command">View example-command on skillZs</a>