Skills

Created by Abhyuday DesaiPublished , v1Runs 10 min 59 sec
0 views

About this video

The third build of Building AI Agents. A model knows what it learned in training. It does not know your team's conventions, the rules you follow, or what your team counts as done, and often none of that is written in your code either. This video is about how you hand that knowledge to an agent.

The two obvious places both fail. Put the rules in the task, and whoever writes the task has to know them, every time. Put them in the system prompt, and every call of every task carries them whether that task needs them or not, so the prompt grows with everything your team writes down.

A skill is the third option: a folder with one Markdown file holding a name, a one-line description of when it applies, and the instructions themselves. Only the name and the description go into the system prompt. The instructions arrive when the model decides a task calls for them. The prompt stays short however much you write down, and the agent loop does not change at all.

You'll see:

  • Why the task and the system prompt are the wrong place, and what each one costs you
  • What a skill is, and how the agent chooses one: the index it sees at startup, and the tool that fetches the rest
  • The fifty lines that implement it, and the three changes to the agent
  • A run where the agent loads one skill, and only that one, before it reads any code
  • What it costs: a loaded skill rides along on every later call, while the ones it never loads cost a line each
  • Whether it actually worked, judged by tests the agent was never allowed to see, including a rule it could only have got from the skill

The next video gives the agent subagents: parts of a task handed to other agents, each with a context of its own.

What changed

  1. v107 Oct 2026abhydesai10 min 59 sec17e81d3

    First published cut

    0 views0 likes on this version