zudo-doc

Type to search...

to open search from anywhere

Skill Anatomy

Skill Anatomy

A Claude Code skill is a directory containing:

Required

  • SKILL.md — The main skill file with YAML frontmatter and markdown instructions

Optional Subdirectories

references/

Markdown files loaded into context as needed. Used for detailed documentation, API specs, or domain knowledge that the skill consults during execution.

scripts/

Executable files (Python, Bash, Node.js) for deterministic operations. Scripts are run directly rather than being loaded into the context window.

assets/

Template or output files not loaded into context. Used for boilerplate code, HTML templates, CSS files, or other artifacts that the skill copies or modifies for output.

Frontmatter Fields

FieldRequiredDescription
nameYesSkill identifier (lowercase, hyphens)
descriptionYesWhat the skill does and when to use it
user-invocableNoWhether users can invoke directly
allowed-toolsNoRestrict which tools the skill can use
modelNoOverride the model for this skill

Revision History

AI Assistant

Ask a question about the documentation.