Skip to content
alyn
Anthropic Official

Example Command skill

An example user-invoked skill that demonstrates frontmatter options and the skills//SKILL.md layout

$npx skills add anthropics/claude-plugins-official --skill example-command
GitHub stars
46,761
Pack installs
184k
Alyn Score
73/99
Updated
2 h ago
License
Apache-2.0

Anthropic

Example Command

Install Example Command

Pick your agent. Every command is ready to paste.

$npx skills add anthropics/claude-plugins-official --skill example-command

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads example-command when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the example-command skill”. In Codex, type $example-command.

The skill itself

SKILL.md

GitHub

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

Tips for Example Command

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • It is part of a pack with 36 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Example Command

What does the Example Command skill do?

An example user-invoked skill that demonstrates frontmatter options and the skills//SKILL.md layout

How do I install Example Command?

Run "npx skills add anthropics/claude-plugins-official --skill example-command" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Example Command work in Cursor and Codex?

Yes. Example Command uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Example Command free?

Example Command is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Example Command?

Example Command is published by Anthropic in the anthropics/claude-plugins-official repository, together with 35 other skills.

Similar skills. From other creators.