# Matt Pocock's Agentic Engineering Workflow (just copy him) <!-- ref: @content/youtube/david-ondrej/2026-06-18-matt-pocock-agentic-engineering-workflow version: 3 updated_at: 2026-10-31T20:22:04.095Z --> Matt Pocock (David Ondrej, 2026-06-18): Pocock borrows John Ousterhout's distinction from *A Philosophy of Software Design*: tactical programming is the day-to-day writing of code, strategic programming is designing the system so the codebase stays cheap to change. *Synthesized from Matt Pocock on David Ondrej, 2026-06-18.* Matt Pocock — TypeScript educator, author of one of the most-installed agent skills repos, and creator of the Sand Castle sandboxing tool — walks David Ondrej through how he actually runs agents day to day. ## Core Thesis Pocock borrows John Ousterhout's distinction from *A Philosophy of Software Design*: tactical programming is the day-to-day writing of code, strategic programming is designing the system so the codebase stays cheap to change. AI has eaten tactical programming outright, so the returns now go to whoever is strongest at the strategic half — scoping tasks, designing interfaces, writing tests, keeping just enough documentation to point an agent at the right file. His contrarian second claim is that everyone over-indexes on the model and under-invests in the harness, which is the half they actually control. ## Key Insights - Pocock's split is 50/50 between model and harness, against a popular framing he characterizes as 90% model / 10% harness. He knowingly flags that he may be on the wrong side of Sutton's bitter lesson — that raw compute beats hand-built optimizations — but argues fundamentals that have held for 30-40 years are the safer bet. - His answer to "how do I optimize token spend" is architectural, not prompt-level: a codebase that is easy to change lets a cheaper, dumber model succeed, because better guardrails mean fewer tokens spent banging against walls. Hamstring the agent on day one and you *need* the expensive model. - He runs Claude Code on Opus 4.8 at medium effort and had deliberately not adopted Fable a day after release — his stated policy is to wait roughly a month for a new model's real behavior to shake out, the same thing he did with Opus 4.5. - Two kinds of skills, and the distinction is load-bearing: **procedures** (you invoke them; you stay the driver) versus **abilities** (the model invokes them autonomously, e.g. "React coding standards" pulled in mid-task). Pocock prefers procedures; he notes the superpowers repo takes the opposite, model-in-control stance. - Every skill leaks its description into the context window — 100 abilities means 100 descriptions burned. He sets `disable model invocation: true` on some skills (his engineering zoom-out skill among them) so their descriptions stay out of context and only he can fire them. - His `grill me` skill is roughly four or five sentences long and turns the agent into an adversarial interviewer. He uses it as a replacement for plan mode: state the idea, get interrogated, surface the weirdness before implementing. - The `teach` skill is *stateful* — it writes `mission.md`, a learning record, a reference cheat sheet, and lessons as local HTML files, so the agent remembers prior sessions the way a real teacher does. It encodes the zone of proximal development and quizzing, and Pocock used it to teach himself to solve a Rubik's cube from memory. - Knowledge and skills can be bundled and distributed; wisdom mostly cannot, because it requires having done the thing in its actual context. That's his limit on how far a skills repo can take you. - Loops versus queues: Jeffrey Huntley's Ralph loop (a `while` loop re-invoking Claude Code) went viral, but Pocock says the useful primitive underneath is AFK — away-from-keyboard — agents, and the right mental model is a *queue* of scoped tasks with multiple workers pulling from it, which is how development has always worked. - His AFK setup is Sand Castle running agents inside Docker/Podman or Vercel sandboxes, wired to GitHub Actions with label triggers (`agent implement`, explore, review). Sandboxing is the safety layer against an unsandboxed agent deleting a home directory or exfiltrating environment variables. - On removing human review gates: review buys you two things — blocking dangerous changes, and observability into your own system. Automate away the first where safe, but keep sampling, because "who reviews the AI that decides a PR needs no review?" - Both agree the differentiating human move is asking why a bug existed undetected at all, then fixing the *system* — a daily cron that security-reviews a rotating slice of the repo will surface most of what a frontier model finds on a lucky pass. - On hiring: Pocock frames it as DX versus AX (agent experience). Seniors know how to build codebases humans work well in, and that overlaps heavily with what agents need; enthusiastic juniors come at the same target from the other side. His verdict is that an experimental mindset, not seniority, predicts who thrives. ## Actionable Takeaways 1. Do a full context reset: delete every skill, plugin, and MCP server, delete CLAUDE.md and AGENTS.md, and watch what the bare agent does. Layer back only what you miss, and only as procedures you invoke. 2. Install skills in a form you can edit — `npx skills latest add mattpocock/skills` from his GitHub repo — so you can customize rather than inherit someone else's defaults. 3. Use `grill me` (or your own adversarial-interviewer prompt) before implementation instead of plan mode. Ondrej's variant: describe the vision, then ask the agent to list the 10 most consequential architectural and product decisions and interview you until it understands 98% of the intent. 4. Move work AFK: run agents in sandboxes (Docker, Podman, or a remote sandbox provider) via Sand Castle, trigger them from GitHub Actions labels, and pull the commits back. The setup cost is small; the parallelism is the payoff. 5. Set `disable model invocation: true` on any skill you always invoke yourself, to stop its description from eating context. 6. Treat model spend as a codebase-architecture problem before treating it as a prompting problem. 7. Invest in making review fast rather than skipping it — one pattern he cites is agents recording a narrated video walkthrough of front-end changes and attaching it to the PR. 8. Use dictation (he uses Whisper Flow) — Pocock calls fluent speech an overpowered and learnable developer skill. ## Notable Quotes > "AI has basically eaten tactical programming." — Matt Pocock > "Your skills are the ceiling on what AI can do." — Matt Pocock > "How do you optimize for token spend? Have a code base that's easier to make changes in." — Matt Pocock > "Everyone's obsessed with the engine of the Formula 1 car whereas in fact the engine is really only a part of the whole system." — Matt Pocock > "If someone keeps stealing your bike, maybe buy a lock." — David Ondrej > "We're not just reviewing the code. We're also reviewing the system that produces the code." — Matt Pocock --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*