Claude Code and Sand Castle: Matt Pocock's workflow

Learn how Matt Pocock uses Claude Code, workspace-based teaching skills, and Sand Castle sandboxes to plan work and delegate GitHub issues.

Player not loading? Watch on YouTube

Matt Pocock explains his coding assistant workflow in a conversation with David Ondrej. His emphasis is on task scope, software design, and the environment around a model. He argues that codebases that are easier to change can reduce wasted tokens and make cheaper models more useful.

A demonstration of his teach skill starts in an empty workspace. It asks about the learner's goals, writes a mission.md file, and creates HTML lessons with exercises and quizzes. The skill keeps learning records locally so later sessions can refer to earlier work. Pocock says it works with Claude Code and Codex. Local lesson storage does not establish that model inference runs offline.

For planning and some implementation, Pocock reports using Claude Code with Opus 4.8 at medium effort. He describes Sand Castle as a way to run an AI agent in a sandbox through Docker or Podman, with options for work on his own machine or in remote Vercel sandboxes. His GitHub Actions setup handles tasks such as pull request review and issue implementation.

Pocock prefers a queue of scoped tasks over an endlessly repeating agent loop. Humans still set priorities and review results, including how well the automation itself works. He also favors skills that users invoke deliberately and recommends starting with minimal instructions, then adding procedures in response to observed problems.