Guides to building with AI agents
Long guides to making an AI agent do what you meant, in the order we would read them.
Six guides and three shorter fixes. Five of the guides come with a kit for paid subscribers: files that run the guide's check on your own setup. Two are for paid subscribers after the opening sections.
01 · The guides
In reading order
- Engineering GuidesWhat Is Harness Engineering? How to Build AI Agents That Catch Their Own Mistakes
Lessons from OpenAI, Anthropic, Google and independent engineers, worked through one failure, with a way to test every change.
Kit for paid subscribers Hook check kit: see whether your sensor fires, reaches the agent and holds
- Engineering GuidesAI Agent Permissions: How to Stop Your Agent Doing Something You Can't Undo
Our deny rule stopped one spelling of a branch delete and missed the next. The guards that hold for agent actions you can't undo, and how to test yours.
Kit for paid subscribers Permissions kit: find which spellings get past your agent's guards
- Engineering GuidesWhat Is Prompt Injection? How to Stop a Tricked AI Agent Leaking Your Data
One GitHub issue got an agent to post private-repo data in public. Why no filter fully stops it, which guards held in our runs, and how to test yours.
Paid after section 3
Kit for paid subscribers Prompt injection kit: test whether your agent can be tricked into sending data
- The Coding Agent Field ManualLock the Tests, Then Test the Lock
Agents still edit a test that looks wrong, and some test locks don't lock. Lock yours in Claude Code, Codex and Cursor, then test it.
Kit for paid subscribers Test lock kit: check your coding agent can't rewrite its own tests
- Engineering GuidesClaude Code Skills: How They Work, How to Write One, and How to Check Claude Uses It
Claude picks a skill from its name and description. How to write the two lines it reads, and check it chose yours.
Kit for paid subscribers Skill check kit: see whether Claude chooses your skill and follows it
- Engineering GuidesClaude Cowork vs Copilot Cowork
Two AI agents now share one name. Which one you can get, what each asks before it acts, and how to check what's gone after it acts.
Paid after section 3
02 · Shorter fixes
One thing each
- The RunbookStop Re-Priming Claude Code by Hand
The context you paste at the start of every session, put into one file you invoke with /prime.
- The RunbookThe Skill That Never Fired
A Claude skill can fail two ways: its instructions are wrong, or Claude never picks it. Anthropic's own tooling scores whether one skill fires. This tests it against the neighbour that can quietly win its requests, with a small routing eval you run yourself.
- The Engineering LadderThe Guardrail Your Agent Can Reach
Most guardrails end up with an escape hatch. Check whether the thing you are constraining can reach yours.
03 · The kits
For paid subscribers
Each kit is a set of files you run on your own setup, with a self-test that checks every script. Paid subscribers download a kit from its guide on Substack, or every kit from the Kits page.
The newsletter · Free
Subscribe to get each new piece in your inbox, with something to use in every one.
Several essays a week, plus Notes through the week.
Signup completes on Substack. Unsubscribe from any email.