Designing and Building Skills

A good agent skill is a small piece of information architecture: the right scope, a clear trigger, well-structured instructions, and only the knowledge the task needs — all shaped by the context-window discipline of post 2. Building one is less about clever prompting and more about thinking like a technical writer and a software designer at once. This post is the practical craft of designing and building a skill that an agent uses reliably.

Posts 1–2 established what skills are and the context-window constraint that governs them. This post is how to actually build one well. The craft combines software-design judgment (scope, modularity) with technical-writing clarity (instructions an agent can follow) — and the recurring test is always “does this respect the context window and make the agent reliably do the task right?”

Scoping a skill: one coherent capability

The first and most consequential design decision is scope — what the skill covers — and the guiding principle is one skill, one coherent capability:

This is the separation of concerns / modularity judgment (post 2) applied to skills: decompose your agent’s needed capabilities into coherent, independently-triggerable units, the same way you’d decompose a system into well-scoped modules. Good scoping makes triggering precise, keeps context lean, and makes skills reusable and composable; bad scoping (too broad, too narrow, overlapping) is the most common way skills go wrong. When unsure, ask “is this one thing an agent does, with a clear ‘when’?” — if yes, it’s a skill; if it’s several things, split it.

Structuring the skill: trigger, instructions, knowledge

With scope set, a well-built skill has a clear internal structure, each part doing a specific job and all shaped by context-window discipline (post 2):

The structure, in short: a sharp trigger, clear actionable instructions, curated minimal knowledge, and deferred depth — an information architecture optimized for the agent to load the right thing, understand it, and act reliably, all within the context budget.

The craft: write for the agent, iterate like software

Building a good skill is a craft with a few durable practices:

The synthesis: building a skill is information architecture under a context budget — scope it to one coherent capability, give it a sharp trigger, write clear prescriptive instructions and curate only the needed knowledge, defer depth to on-demand resources, and iterate empirically against real use while pruning ruthlessly. Do that and you get a skill the agent loads at the right time, understands clearly, and executes reliably — the unit of durable, reusable agent capability the series is about. The next post covers how these well-built skills combine into patterns of work.

The throughline: building a good skill is information architecture under a context budget, combining software-design and technical-writing judgment. Scope is the first, most consequential decision — one skill, one coherent capability (not too broad → unfocused, hard to trigger, bloats context; not too narrow → not worth the overhead; just right → a clearly-triggerable, self-contained, reusable task), which is separation-of-concerns applied to skills. Structure it as a sharp trigger/description (the “use this when…” that enables right-time loading — often the single most important line), clear actionable instructions (ordered, specific, prescriptive where reliability matters — where reliability is won; vague instructions → vague behavior), only the knowledge the task needs (curated, compact), and supporting resources referenced not inlined (progressive disclosure keeps the core lean). The craft: write for the agent as a capable-but-uninformed reader (specify your particulars, don’t re-explain generalities), be prescriptive where it must be exact and principle-based where it needs judgment, test and iterate empirically against real use (watch where the agent deviates, tighten that instruction), and prune ruthlessly so the skill gets tighter over time.

Key takeaways

Further reading

Sources & References