Previous parts of Build a Basic AI Agent From Scratch :
Basic Agent
Tools
Long Task Planning
Human in the Loop & Security
Security II
Security III
Memory
Session Management
Session Management II
Agents and Sub-agents
You can find and clone this code in this blog series' GitHub repo , in the agent-skills/ directory.
In the previous part we gave our harness specialist agents. We could switch to a different agent or delegate part of a task to a sub-agent with its own context.
But suppose we just want our general agent to write release notes in a consistent format. Setting up a new agent or tool for this purpose is overkill. Instead, we only need to define a short set of instructions that the agent can look up when it's time to write the notes. We call this a skill .
What Is a Skill?
A skill is a set of instructions that gives an agent useful information about how to perform a task. Those instructions are similar to the instructions we already give the agent in the system prompt.…