Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 2.07 KB

File metadata and controls

41 lines (30 loc) · 2.07 KB

AI Path

Prompt Engineering

Practical Examples

Building Agents & Skills


How Claude Skills Work

A skill is a folder containing a SKILL.md file (with YAML frontmatter + markdown instructions) and optional bundled resources (scripts, templates, reference docs). Skills are loaded into Claude's context when triggered by a matching user request.

skill-name/
├── SKILL.md              # Required: instructions + metadata
├── scripts/              # Optional: reusable automation scripts
├── references/           # Optional: loaded into context as needed
└── assets/               # Optional: templates, checklists, etc.

The SKILL.md frontmatter has two critical fields:

  • name: The skill identifier
  • description: Controls when the skill triggers — include specific phrases, contexts, and keywords users would use

The SKILL.md body contains the actual instructions Claude follows when the skill is active.