Skip to content
Back to skills

Example Command

ASecurity

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

  • 37,433 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
toolsbash

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add anthropics/claude-plugins-official --skill example-command --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Example Command?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Example Command
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anthropics-example-command/badge)](https://www.skillsdirectory.com/skills/anthropics-example-command)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: 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
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…