4.2 Anatomy of a Skill

2 min read

In Lesson 4.1, we distinguished tools from Skills: tools perform operations, while Skills provide reusable instructions.

Now let’s look inside a Skill.

A Skill Is a Folder

A Skill is organized around a file called SKILL.md. It contains information that identifies the Skill and instructions the agent can follow.

Our Research Evidence Skill begins with a simple folder structure:

skills/
└── research-evidence/
    └── SKILL.md

A Skill can also include supporting files, such as references, scripts, or templates. For our lab, one file is enough.

Two Parts of SKILL.md

The file has two parts: metadata and instructions.

---
name: research-evidence
description: A reusable procedure for evaluating research evidence.
---

# Research Evidence Evaluation Skill

When evaluating a research source:
1. Identify the source and what was actually retrieved.
2. Separate source-supported facts from interpretations.
3. Examine limitations and missing evidence.
4. Explain what the source supports—and what it does not.

The text between the --- lines is called YAML frontmatter.

  • name identifies the Skill. In the Agent Skills format, it matches the Skill’s folder name.
  • description explains what the Skill does and when it is useful.
  • The Markdown body contains the procedure the agent should follow.

The example is abbreviated. Our lab includes a more detailed Research Evidence Skill.

Why the Description Matters

Imagine our agent has several Skills available: one for evaluating evidence, another for comparing competing claims, and a third for formatting a report.

The descriptions help an agent or Skill-loading system identify which procedure fits the current task. A vague description makes that choice harder.

The name identifies the Skill. The description helps determine when to use it. The instructions guide the work.

Keeping Instructions Focused

Good Skill instructions make the expected approach clear without dictating every word of the final answer.

For our Research Evidence Skill, we want the agent to distinguish retrieved facts from interpretations and acknowledge uncertainty. We do not want it to invent conclusions when evidence is missing.

A Skill can improve consistency, but its instructions still need to be applied and its results checked.

What Did You Learn?

  • A Skill contains a SKILL.md file with metadata and instructions.
  • The name and description identify the Skill and its purpose.
  • The Markdown body defines a reusable procedure.
  • Supporting files are optional; a small Skill can use a single file.
Test Your UnderstandingOptional · 3 questions

Question 1 of 3

Which part of a SKILL.md file tells the agent how to perform the task?