Appendix E - 1. The recipe — three steps

A skill is the smallest unit of method you can install. Package a capability or a discipline once, and every fresh agent picks it up without being re-taught. This appendix is the how-to: the anatomy every skill shares, the two kinds a skill can be, the steps to write each, and the ways they fail. The three skills that ship with this book — self-operate, self-governance, self-communicate — are the worked examples throughout.

Foreword — the vendor's guidance

Anthropic publishes a best-practices guide for skill authoring, and it is worth reading before this appendix. Its core moves, quoted from Skill authoring best practices (Claude platform documentation):

— Anthropic, "Skill authoring best practices," retrieved 2026-08-04. Follow it for the mechanics; this appendix adds the shape the vendor guidance does not name.

Anthropic's take, in brief

The foreword summarizes it faithfully, so hold onto the shape of it. Anthropic answers one question well: how do you package a capability so an agent discovers it and follows it cheaply? The answers are procedural and file-structural — a SKILL.md with a triggering description, progressive disclosure across bundled files, degrees of freedom matched to the task, evaluations built first. The unit of thought is one task behind one interface: extract the PDF, fill the form, write the commit message. Read as a manual for building a callable, it is complete and correct, and you should follow it to the letter.

Our take: a skill is a layer of models the fleet reasons through

Here the book parts from the vendor guidance — not to correct it, but to go a layer deeper. Start with what the two takes share, because it is most of the mechanics. Both structure a skill as a SKILL.md an agent discovers by its description and loads on demand. Both lean on progressive disclosure to keep the context window honest. Both know a skill is written for an agent to read and act on. On the anatomy, we and Anthropic agree, and this appendix's "anatomy" section is straight vendor practice.

The difference is what a skill is. Anthropic treats a skill as a packaged capability — a thing the agent invokes. This book treats the deeper kind of skill as a layer of models the fleet reasons through — a thing that shapes how the agent works even when nothing calls it by name. That is the book's Modeling-Thesis reading of a skill, and it splits skills cleanly into the two kinds:

Three claims carry the framing, each in the book's own vocabulary.

The punchline sets the two takes side by side. Anthropic tells you how to package a capability so an agent can call it. MAGE tells you how a skill becomes a governed layer of models that shapes how the fleet works — deeper because it is about judgment-as-infrastructure, not file structure. One rung softer than a rule or a lint, but the same kind of thing: a model the fleet reasons through, installed once and inherited by every agent after.

This is not a quarrel with Anthropic; it is a reading of where Anthropic itself is heading. Its guidance for CLAUDE.md and SKILL.md has been moving away from long lists of specific prohibitions — enumerate every forbidden command, name each thing the agent must never do — and toward the language of taste and delegated autonomy: describe the goal and the standard, trust the model's judgment, delete the brittle specifics. That is a good move, and the right one; a rule list is a soft mechanism that rots the moment the world shifts under it, and a capable model does better with the intent than with a hundred edge-case bans. MAGE's mastery-skill is that move, given a name and a structure. Where the newer guidance says "use taste, delegate autonomy," this book says what taste-you-can-install actually is: encoded judgment as a governed layer of models the fleet reasons through — judgment as infrastructure, not a rule list. The industry is converging on a shift from rules to judgment. The layered-models-plus-governance vocabulary here is the articulated form of that convergence, and a step ahead of it, because it says how judgment becomes infrastructure — a base model, orthogonal facets, a tying principle, fired by a hook — rather than only "trust the agent more."

A last practical consequence, because a governed layer has a failure the vendor frame does not surface. A skill sits passive until something invokes it, and an agent heads-down in the work will not stop to invoke it. The fix is a hook — a timer or event that fires the skill without waiting for a human to notice. Guidance aims; the hook makes the aiming happen. The failure-modes section returns to this.

The anatomy every skill shares

Both kinds wear the same shell. A skill is a directory with one required file and optional bundled resources.

Progressive disclosure is the load-bearing property of this shell. The name and description are the first level — enough for the agent to decide the skill is relevant. SKILL.md is the second. The bundled files are the third, pulled only on demand. Author for that ladder: put triggering in the description, the governing shape in the body, and the bulk in resources.

Two kinds of skill

The choice of kind is the first authoring decision, because it sets everything after it.

Tool-skill. Teaches an interface — the calls, flags, and shapes for operating one tool: an MCP server, a CLI, an API. Its content is a capability. It takes a paragraph to describe, and the vendor checklist covers it end to end.

Mastery-skill. Installs a knowledge-base and the judgment for doing a task well, independent of any single tool. Its content is a way of working. It takes a chapter to walk, because it teaches seeing, not calling.

Choose by asking what you are installing. A capability the agent lacks an interface to → tool-skill. A discipline the agent could technically perform but performs inconsistently without your standards → mastery-skill. This book's three skills are all mastery-skills: none of them wraps a tool; each installs a craft — hardening the fleet, running it, explaining it.

Writing a tool-skill

The short path. Follow the vendor guidance directly; there is little to add.

  1. Scope it to one capability. One tool, one clear job. Resist bundling three tools into one skill — split them.
  2. Write the description for discovery. What it does and when to reach for it, in the user's words and the key terms they will type. This is what gets it triggered from a crowded shelf.
  3. Set the degrees of freedom to match the task's fragility. Fragile and sequential → exact commands, "do not modify." Open-ended → direction and a default. Offer one default with an escape hatch, not a menu of options.
  4. Push the bulk into references. API surface, exhaustive examples, large schemas → separate files, linked one level deep.
  5. Prefer a script to generated code for any deterministic, fragile, or repeated operation. It is more reliable, costs no context, and cannot drift between runs. Handle errors inside the script rather than deferring them back to the agent.

Writing a mastery-skill

The long path, and the one this book exists to teach. A mastery-skill is built in three layers, top idea first, and the order matters: you cannot layer facets onto a model you have not found, and you cannot write the tying principles before the facets exist.

The construction recipe for a skill A base model of the domain sits at the left. Several orthogonal models layer on top of it, each cutting the base along an independent axis. All of them feed a SKILL.md of principles that ties the models together and tells the agent when to reach for which — and that, over its models, is a working skill. All three shipped skills were built this way. base model of the domain orthogonal model orthogonal model orthogonal model SKILL.md principles that tie the models together a working skill
Figure E.1-1. The Skill Skeleton. A mastery-skill has three layers: a base model of the domain, orthogonal models cutting it along independent axes, and a SKILL.md of principles that ties them into a working skill.

Step 1 — Find the domain's fundamental model

Name the one abstraction the whole skill reasons through — the first thing you would teach a new hire, the frame that makes every later rule land. Name it before you write a single resource. If you cannot name it, you do not yet understand the domain well enough to write the skill, and what you write will be a pile of tips instead of a way of seeing.

The three self-* skills each turn on such a model:

Step 2 — Layer orthogonal models on it

Cover the domain with facets, each an independent model in its own resource. Orthogonality is the test: two facets that overlap are one facet split badly, and a facet you cannot name is a gap in the coverage. Aim for a set that spans the domain with neither doubles nor holes. This is where progressive disclosure earns its keep — each facet is a file the agent loads only when the task touches it.

Each self-* skill layers a different set:

Step 3 — Write SKILL.md as the tying principle

The front matter is not a table of contents that lists the resources. It is the governing principle that makes the facets cohere, plus the order to apply them. State what all the layers are for, then say which to reach for first. A reader who absorbs the top page should already know how to use the skill; the resources supply the how.

Each self-* skill's SKILL.md carries such a principle:

Table E.1-1. The mastery-skill recipe across the three worked skills — each step answered for self-communicate, self-governance, and self-operate.
Stepself-communicateself-governanceself-operate
1 · Fundamental modelRhetoric — prose is a craft with named partsTwo kinds of governance — architecture vs sensorThe engineering lifecycles — agents, context, repo, deploy, machine
2 · Orthogonal facetsRegister, lexicon, voice, audit, diagramsThe mechanism census, soft/hard enforcement, ambient principlesSymptom→doc catalog, typed runbooks, the hook library
3 · Tying principleLess is moreConvert failures to guardrails; guidance aims, machinery holdsOrient positive first; route a break to its class

What the recipe buys you

A mastery-skill built this way gains two properties for free, both from the shape rather than any one resource.

When each kind fits

Failure modes

The ways skills go wrong, and the fix for each.

A checklist

Merge the vendor's checklist with this appendix's additions.

© James C. Davis, 2026–present