Agent Skill
2/7/2026

example-skill

Demonstrates all available skill frontmatter fields. Use when you need a reference for skill configuration, when learning about skill capabilities, or when creating new skills from scratch.

J
jamie
16GitHub Stars
1Views
npx skills add Jamie-BitFlight/claude_skills

SKILL.md

Nameexample-skill
DescriptionDemonstrates all available skill frontmatter fields. Use when you need a reference for skill configuration, when learning about skill capabilities, or when creating new skills from scratch.

name: example-skill description: Demonstrates all available skill frontmatter fields. Use when you need a reference for skill configuration, when learning about skill capabilities, or when creating new skills from scratch. argument-hint: '[topic]' allowed-tools: Read, Grep, Glob, WebFetch model: sonnet user-invocable: true disable-model-invocation: false hooks: PostToolUse:

  • matcher: Read hooks:
    • type: command command: echo 'File was read' timeout: 5

Example Skill

This skill demonstrates all available frontmatter fields for Claude Code skills.

Purpose

Use this as a reference when creating new skills. All fields shown above are valid skill frontmatter options.

Field Descriptions

FieldTypePurposeConstraintsDefault
namestringDisplay namekebab-case, lowercasedirectory name
descriptionstringWhen to load this skillMust include trigger keywordsfirst paragraph
argument-hintstringAutocomplete hint for / menuBrief hint textnone
allowed-toolsstringTools without permission promptsComma-separated tool namesnone
modelstringModel when skill is activesonnet, opus, haiku, or inheritinherit
user-invocablebooleanShow in / menutrue or falsetrue
disable-model-invocationbooleanPrevent Claude auto-loadingtrue or falsefalse
hooksobjectScoped hooks for skill lifecycleValid hook configuration objectnone

Note: The fields context and agent are deprecated and not documented in the official Skills reference as of January 2026.

Validation

Validate your skill using:

# Frontmatter and structure validation (checks token complexity, links, references)
uv run plugins/plugin-creator/scripts/plugin_validator.py ./path/to/skill/SKILL.md

# Plugin validation (if skill is part of a plugin)
claude plugin validate ./path/to/plugin/

Common Validation Errors

ErrorCauseFix
allowed-tools must be stringUsed YAML array formatChange to comma-separated string
model must be sonnet/opus/haikuInvalid model nameUse valid model identifier
YAML array detectedUsed - Tool1 formatChange to Tool1, Tool2 format
Skill body exceeds 500 linesSkill is too largeSplit into multiple skills
Internal link points to missing fileReferenced file doesn't existCreate file or fix path
Description too shortLess than 20 charactersAdd trigger keywords and context

Usage

This skill is for demonstration purposes only. When creating real skills, include only the fields you need.

Skill Location

Skills can be located in:

  • User-level: ~/.claude/skills/skill-name/SKILL.md - Available across all projects
  • Project-level: .claude/skills/skill-name/SKILL.md - Version controlled, team shared
  • Plugin: plugins/plugin-name/skills/skill-name/SKILL.md - Bundled in a plugin

Sources

Skills Info
Original Name:example-skillAuthor:jamie