Fundamentals
Anatomy of a skill directory
Read the files in an Agent Skills package and see what each one contributes to a run.
Read the required file first
In the Agent Skills format, each skill has a directory and a required SKILL.md. At its top, YAML frontmatter identifies the skill with a name and description. The Markdown below explains the workflow. The open specification defines metadata rules and leaves the body free to use the headings and instructions that suit the task. 1
For a museum-label skill, the description might name the intended job, such as drafting wall labels from curator notes. The body could give the 90-word limit, tell the assistant how to handle uncertain dates, and prescribe the order of the title, maker, date, and label copy.
Put supporting material next to the workflow
| Path | Why the label-writing skill might use it |
|---|---|
SKILL.md | Explains what to do and which style references apply. |
references/house-style.md | Holds the museum’s date ranges, place names, and house spellings. |
assets/label-template.txt | Gives the exact arrangement expected by the editor. |
scripts/check-length.py | Counts characters or words with explicit rules. |
A supporting file needs a specific reason to be opened. Refer to it from the step that needs it and use a path that is relative to the skill directory. A short index inside a long style reference helps the assistant find the section with the actual rule. 1 2
Inspect the package before you use it
Follow each reference in SKILL.md and check that the named file exists. Open a template to see whether its placeholders match the workflow. If a script is included, read its documented inputs and output location before providing any real data. Try the skill with a synthetic note that leaves the maker unknown. Then inspect the count and label formatting in the result.