Lesson 10.06 · Phase 10 · Coding & Computer-Use Agents

Skills and SKILL.md

A skill is a folder with a SKILL.md: a name, a description that says when to use it, and instructions. The agent sees every skill's description all the time, loads one skill's instructions only when a task matches, and reads the skill's extra files only when the instructions point to them. That's progressive disclosure, and it lets an agent carry fifty skills for the cost of fifty sentences.

Learning objectives

  • Parse and validate SKILL.md frontmatter: name format, folder match, description length, and "when to use it".
  • Implement three levels of loading: catalog in the system prompt, body on demand, bundled files on demand.
  • Measure the token difference between progressive loading and loading everything.
  • Write descriptions that make the right skill get picked.

Your team's agent needs to know how to write release notes, how to triage a production alert, how your PDF reports are styled, and how to debug a stuck agent. You paste all of it into the system prompt. It's 20,000 tokens, every request pays for it, and the model mixes up the release-note rules with the alert runbook.

Loading the full lesson…