Part 13 of 15 · The House That Diligence BuiltNext: The Agents That Work Are Mostly Software →

Don't Build Another Agent. Furnish the One You Have.

The agent underneath is general now: a model, a shell and a file system. What it lacks is your expertise. Skills are the rooms you furnish it with.

AdminPublished 7 min read

The rooms are what people actually live in. In an agent setup, the building is one general agent, and the rooms are the skills you furnish it with: the procedures, scripts and know-how that turn it into the thing a given job needs.

For a while I built a new agent for every job. One for triaging issues, one for drafting outreach, one for fixing errors. Each had its own loop, its own tools, its own way of handling context. Most of that code did the same thing, slightly differently, with slightly different bugs.

I don't do that anymore. Every bot I run is the same agent with a different skill.

The agent underneath is general now

A model paired with a shell and a file system can do work in almost any domain, because almost any work comes down to code. A weekly report means pulling data from an API, organizing files, analyzing them in Python, and writing a document. Triage means reading a channel, searching for duplicates, and filing an issue. All of it runs through the same few primitives.

So the scaffolding around the model can be thin. Bash and a file system cover most of it. The more general setup tends to win over the clever specialized one, because the model keeps getting better and a general harness gets better with it. A specialized harness locks in the model's weaknesses from the month you built it.

What the general agent lacks isn't capability. It's expertise. Think of hiring someone to do your taxes. You'd pick the experienced tax preparer over the genius who would work out the tax code from first principles. Out of the box, an agent is the genius. It can do remarkable things with enough effort and guidance, but it doesn't know your context up front, doesn't absorb your way of doing things, and doesn't remember what it learned yesterday.

Skills are how you give it that.

A skill is a folder

A skill is a folder of procedural knowledge: a SKILL.md with instructions, plus whatever scripts, templates and reference files the job needs. That's all. It versions in Git, it zips up for a teammate, and any person or agent with a computer can read or write one.

The plainness is the point. My bots fleet is one chassis that runs the same agent on a schedule with a different skill each time: claude -p /po for signal triage, /tao for turning errors into pull requests, /benji for QA sweeps. The chassis handles the loop, the heartbeat and the logs once. The skill is the only thing that changes between bots. Adding a bot is writing a folder, not building an agent.

Three things make a skill work well.

Load it in layers. Only a line of metadata per skill sits in context all the time: a name and a description that says when to use it. When a task calls for the skill, the agent reads SKILL.md, which holds the core instructions and a map of the folder. Everything else, from reference docs to templates and edge cases, loads only when the agent reaches the step that needs it. That's what lets one agent carry dozens of skills without filling its context with all of them.

Turn repeated code into scripts. If the agent keeps rewriting the same script, save it into the skill and tell SKILL.md to run it. A script documents itself, the agent can read and fix it, and it costs no context until it runs. It's also testable, which instructions are not. Several of my bots kept composing the same curl calls to post to a chat channel. Now there's one small script in the skill, it's tested, and the instructions shrank.

Let connectors do connection. When the work needs outside systems, MCP servers provide the connection and the skill describes the workflow across them. The server says what's possible. The skill says what to do and in what order. On Graphite Atlas, I ship both: an MCP server that exposes the graph, and skills that teach an agent how to audit and model with it. The server alone gives agents tools. The skills give them the method.

Teach it your tools in one prompt

You don't need a plugin to teach the agent a command-line tool. Ask it to run the tool's --help, then write what it learned into CLAUDE.md. That's all it takes.

My task list works this way. Lodestone is a small CLI, and every session I run learns it from a dozen lines in the workspace CLAUDE.md: how to see what's queued, take a task, post progress, and ask me a question. No integration, no server. The same agent that writes code in one session manages its own work queue in the next.

The same agent also works as a Unix utility. claude -p reads from standard input and writes to standard output, so it drops into a pipeline: logs in, a summary out, jq after that. My bots are, underneath, a shell loop around that one command.

Give it a target

A furnished room still needs a way to see what it's doing. Give the agent something to iterate against: a test suite, a screenshot of the page, the output of the command it's changing. With a way to see its output, the first attempt is rough and the second or third is good. Without one, the first attempt is all you get.

This is also where skills earn their keep. A good skill doesn't just say what to do. It says how to check it was done: which command to run, what output means success, what to do if it isn't.

Treat skills like software

Once skills carry scripts and run unattended, they are software, and they need what software needs.

  • Tests for triggering. Keep a few prompts per skill that should trigger it and a few that shouldn't, and check them when the description changes. A skill that never loads is dead code. A skill that loads for everything is a tax on every task.
  • Tests for output. Compare the skill's output on a known input against a known-good example. When I change a bot's skill, the change should have to pass something before the next scheduled pass, not just go live.
  • Versions with history. Skills live in Git. When a bot's behavior shifts, the log should show which skill change did it.
  • Declared dependencies. If a skill expects a script, a CLI or an MCP server, say so in the skill, and fail loudly when it's missing.
  • A size budget. Skills grow. Every incident adds a paragraph. Past a point, the skill crowds out the task, and that's a plumbing problem I treat separately. Prune as often as you add.

Let it write its own

The format is plain enough that the agent can write skills too. When a session works out how to do something awkward, like a release, a migration or a data fix, I ask it to save the procedure as a skill before it ends. The next session starts from what this one learned instead of from first principles.

That's the real payoff. Skills hold procedural knowledge in a form a future session can use efficiently. The goal is an agent that's much better on day thirty than on day one, because it has thirty days of your way of working written down where it can find it.

How you know it's working

  • New jobs become folders, not agents. The last few things you automated were skills on the general agent, not new loops.
  • Always-on context stays small. Only skill metadata is loaded at the start; the full instructions appear when a task calls for them.
  • Repeated code moves into scripts. Raw commands the agent composes by hand trend down as tested scripts replace them.
  • Each skill has trigger and output checks, and a skill change can't go live without passing them.
  • Skill changes explain behavior changes. When a bot acts differently, the Git history of its skill or its harness version accounts for it.
  • Sessions leave skills behind. Hard-won procedures get saved as skills, and the same problem doesn't get solved from scratch twice.
Next in The House That Diligence Built · Part 14 of 15The Agents That Work Are Mostly Software →