# The head of Claude Code stopped prompting Claude. Most builders missed why

> Source: <https://www.the-ai-corner.com/p/loop-engineering-coding-agents-2026>
> Published: 2026-06-12 12:40:08+00:00

# The head of Claude Code stopped prompting Claude. Most builders missed why

### Loop engineering, the five blocks Claude Code and Codex both ship in 2026, copy-paste /goal conditions and SKILL.md, the maker-checker split, and the full reference loop you run while you sleep.

Boris Cherny, who created [Claude Code](https://www.the-ai-corner.com/p/the-claude-code-system-that-replaces?r=1krivi) at Anthropic, said the quiet part out loud: he does not prompt Claude anymore. Loops prompt Claude, and his job is to write the loops.

Peter Steinberger, founder of OpenClaw, put it to 8 million viewers in a day: stop prompting coding [agents](https://www.the-ai-corner.com/t/ai-agents?r=1krivi), start designing the loops that prompt them.

For two years the move was simple. You wrote a good prompt, fed enough context, read what came back, typed the next thing. The agent was a tool and you held it the whole time, one turn after another. That posture is ending. The new one is a small system that finds the work, hands it out, checks it, records what is done, and decides the next thing, while you watch instead of type.

Here is what changed in 2026, and why this stopped being a weekend bash-script project. The pieces ship inside the products now.

Claude Code added [/goal](https://www.the-ai-corner.com/t/ai-tools-and-models?r=1krivi) in v2.1.139 on May 11, 2026, a native loop that runs across turns until a condition you wrote is true, with a separate fast model grading the work after every turn.

Codex shipped the same primitive in CLI 0.128.0 on April 30, plus an Automations tab and a triage inbox. Once you see that both tools expose the same five blocks, you stop arguing about which one and start designing a [loop](https://www.the-ai-corner.com/t/ai-agents?r=1krivi) that works in either.

This is the full build:

▫️

mapped command-for-command across Claude Code and Codex, so your loop runs in whichever tool you are sitting inThe five building blocks of a loop▫️

that actually stop, plus the four constraints that silently break most of them (the evaluator reads the transcript, not your files)Copy-paste /goal conditions▫️

for the maker-checker split that lets you trust a loop running unattendedA working SKILL.md skeleton and a sub-agent config▫️

the morning-triage-to-merged-PR blueprint you design once and never prompt againThe full reference loop,▫️

where a loop burns money, and how to cap spend whether you are token rich or token poorThe token economics,▫️

that turn an unattended loop into unattended mistakes, each with the fixThe 8 failure modes▫️

the on-disk state file that survives between runs because the model forgets and the repo does notThe memory spine,▫️

from your first /goal to a self-feeding loop with a verifier you trustThe 30-day rollout

Pair it with the deeper [AI Corner](https://www.the-ai-corner.com/) library:

▫️ The [AI Agents library](https://www.the-ai-corner.com/t/ai-agents?r=1krivi) for orchestration and reliability

▫️ The [Prompting and Context Engineering library](https://www.the-ai-corner.com/t/prompting-and-context-engineering?r=1krivi) for skills and intent

▫️ The [Claude and Anthropic library](https://www.the-ai-corner.com/t/claude-and-anthropic?r=1krivi) for Claude Code and Codex internals

▫️ The [AI Tools and Models library](https://www.the-ai-corner.com/t/ai-tools-and-models?r=1krivi) for the build stack

▫️ The [Business and Investing library](https://www.the-ai-corner.com/t/business-and-investing?r=1krivi) for where this leverage compounds

Related builds worth reading next: the [Claude Code system that replaces your dev loop](https://www.the-ai-corner.com/p/the-claude-code-system-that-replaces?r=1krivi), the [AI agent reliability playbook](https://www.the-ai-corner.com/p/ai-agent-reliability-playbook?r=1krivi), the [multi-agent code review build](https://www.the-ai-corner.com/p/claude-code-review-multi-agent-pr-analysis?r=1krivi), the [Claude Skills complete guide](https://www.the-ai-corner.com/p/claude-skills-complete-guide-2026?r=1krivi), and the [context engineering guide](https://theaicorner1.substack.com/p/context-engineering-guide-2026?r=1krivi).

# 🔁 The Loop Engineering Build Kit

The full system in one place: the five blocks mapped across both tools, copy-paste /goal conditions, SKILL.md and sub-agent configs, the reference loop, the token math, the 8 failure-mode fixes, and the 30-day rollout.

#### Get **The Loop Engineering Build Kit** below 👇

## Keep reading with a 7-day free trial

Subscribe to The AI Corner to keep reading this post and get 7 days of free access to the full post archives.
