🧬 The anatomy of a skill
Skill = the agent's SOP (standard operating procedure). A folder, a SKILL.md with front matter, references, and scripts.
A “skill” is a text file that teaches the agent to do a task you repeat — like a procedure manual a company gives to a new employee.
Without a skill, you explain the same process every time. With one, you write it once and the agent follows it on its own afterward.
POP (standard operating procedure), reuse, persistent instruction.
Each skill lives in its own named folder, containing at least one file SKILL.md and, optionally, reference subfolders and scripts.
Understanding the folder structure is the first step toward creating (module 3.6) and organizing your own.
Skill folder, root file, optional subfolders.
Front matter is a short block at the top of the file, between two lines ---, with pairs like name: e description: — it's the "label" the agent reads first, before opening the rest.
It's this label that determines whether the skill is called or ignored—the central topic of module 3.4.
Front matter, metadata, structured header.
Extra documents (inside a subfolder, for example references/) with the fine details — large tables, lists of errors, long examples — that the agent opens only if the task requires it.
Keeping SKILL.md concise and moving details to a reference is what makes each skill cheaper to use — the topic of module 3.2.
Reference, details on demand, deep archive.
A skill can package ready-to-use scripts (Python, Node, shell) that the agent runs instead of writing code from scratch every time.
An embedded script is faster and more reliable than “reinventing” the logic on every call.
Embedded script, deterministic execution, WAT — tools.
A guided walkthrough of a real installed skill — front matter, body, reference — to see how the parts work together.
Seeing the complete example wraps up the theory before you build your own in module 3.6.
Case study, applied anatomy.