/example-command
An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout
$ npx -y skills add fazxes/Claude-code --skill example-command --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/example-command
Context preview
The summary Claude sees to decide when to auto-load this skill.
An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout
SKILL.md
example-command.SKILL.mdname: example-command description: An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout argument-hint: <required-arg> [optional-arg] allowed-tools: [Read, Glob, Grep, Bash]
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:
1. Parse the arguments provided by the user 2. Perform the requested action using allowed tools 3. 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
Disclaimer: This repository contains proprietary source code belonging to Anthropic that was unintentionally exposed via a source map file (.js.map) included in the official @anthropic-ai/claude-code npm package.
Other skills on claude-code.
access
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve…
configure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to…
claude-automation-reco…
Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for…
claude-md-improver
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files.…
example-skill
This skill should be used when the user asks to "demonstrate skills", "show skill format", "create a skill template", or…

