Skills (Claude Code)

Claude Code

Definition

Reusable markdown instruction files with YAML frontmatter that define custom slash commands in Claude Code. Invoked with /skill-name. Frontmatter configures: description (for trigger matching), allowed-tools (tool restrictions), and context (fork for isolation). Stored in .claude/skills/.

Example Usage

Create a /security-review skill that runs in a forked context with read-only tools, providing consistent security auditing on demand.