Chapter 5
Teaching It Tricks: skills, the muscle memory
Memory is knowledge. Skills are muscle memory. A skill is a reusable procedure you have written down once — the steps to close the books, run the deploy, prep the newsletter — so that Claude performs it the same careful way every time, instead of improvising from scratch and improvising slightly differently on every attempt.
Memory vs. skill vs. CLAUDE.md
These three are constantly confused, so here is the clean split:
- A one-off fact (“the client prefers Tuesdays”) → memory.
- A standing rule or identity (“always brisk, never commit to main”) → CLAUDE.md.
- A repeatable multi-step procedure (“how we ship a release”) → a skill.
The test: if you would write it as a *checklist* and run it more than twice, it is a skill. If it is a fact you just need to remember, it is a memory. If it is who the thing fundamentally is, it is CLAUDE.md.
The shape of a skill
A skill is a small folder. At minimum it carries a name, a crisp description of when to use it (this is how the brain decides to reach for it), and the steps themselves. It can also bundle scripts the steps call, so the fiddly, error-prone parts are code, not prose.
name: ship-release
description: >
Use when the user says "ship it", "cut a release", or "deploy".
Runs tests, tags, builds, deploys, and posts the changelog.
steps:
1. Run the full test suite; stop and report if anything fails.
2. Bump the version; write the changelog from merged PRs.
3. Tag and build.
4. Deploy to staging; smoke-test; then production.
5. Post the changelog to the team channel.
Why the description is the magic
A skill nobody invokes is wasted. The description is what the brain scans to decide whether this is the moment to use it, so it should name the real triggers — the phrases you actually say, the situations that actually arise. A vague description (“helps with releases”) means the skill sits in the cupboard; a sharp one (“use when the user says ship it or cut a release”) means it steps forward at the right moment.
Skills keep procedures out of your head
Every procedure you encode is one you no longer have to hold, supervise, or half-remember. That is the quiet dividend of skills: they move the checklist from your attention into the brain's, which is the entire point of building a brain in the first place. The Scarecrow's genius was never raw cleverness. It was that, once shown a method, he could run it flawlessly forever. Give your brain methods.