THIS IS ACTUAL F*CKING GOLD
Anthropic just shared one of the best tricks for Claude Code.
The idea: stop asking for an answer. Give it a stop condition and let one agent loop until it hits it.
Same codebase, two ways: one-shot got 61% and guessed the rest. The loop ran 43 times and came back with 388 of 388 rules verified.
You just launch Claude Code like this:
claude --model opus --loop "map legacy/ until 100% verified"
here's the split:
→ you write one prompt and then do nothing, zero edits for the entire run
→ REA loops read → extract → verify → fix on its own
→ every rule it extracts gets replayed against real prod logs before it counts
→ the loop only stops when all 388 rules pass, not when the model feels done
the part everyone gets wrong: they accept the first pass.
a single pass over 16 services gives you a confident document where most of it was never checked against anything.
here rules.md grows every loop. 388 rules across auth, billing, payments, checkout, admin and the rest, each one marked verified only after it survives a replay.
three rules came back wrong. the agent re-read the source, fixed them, and looped again instead of shipping them.
one prompt from you, 43 loops from it, 0 edits by you.
Opus drives. REA reads and verifies. The loop decides when it is done.
JEV engineering is the same move one layer down: the forks that need no thinker (which file next, re-loop or stop, retry or fail) go to JEV in milliseconds, and the model only sees the ones that actually split
the full tree
> Opus 5.5 runs the session with a stop condition, not a task
> REA loops read, extract, verify and fix on every pass
> every extracted rule is replayed against prod logs before it counts as verified
> any mismatch sends that module back for a re-read instead of shipping
> rules.md grows each loop until the stop condition is met
> JEV routes micro-forks in milliseconds
paste the tree and this prompt into Claude Code ↓
"Rebuild my Claude Code setup around this tree:
1. Run the main session on Opus 5.5 and give every long task a stop condition, never a single pass.
2. Loop read, extract, verify and fix until the condition is met.
3. Every extracted rule must be replayed against real logs or tests before it counts as verified.
4. Any mismatch triggers a re-read of that module, never a patched guess.
5. Add one rule to CLAUDE.md: unverified findings are never written into the final document.
6. Route deterministic forks (next file, re-loop or stop, retries) through JEV.
Show me every change as a diff first. No edits until I say go."
↳
code.claude.com/docs/en/mode…
save it, you'll use this on every legacy repo from now on.
Ulrick retweeted
THIS IS AN ACTUAL F*CKING GOLDMINE
Anthropic just shared one of the best tricks for Claude Code.
The idea: run Sonnet, Haiku 5.5 and Opus 5.5 at once, each one doing only the job it's best at.
Better results and way fewer tokens, because every task lands on the right model.
You just launch Claude Code like this:
claude --model sonnet --advisor opus
here's the split:
→ Sonnet 5.5 runs the session, writes the code and applies the fixes
→ Haiku 5.5 swarms the repo in parallel: search, grep and diff audits
→ Opus 5.5 stays on call as advisor for the big calls and signs off on the diff
→ you stop burning Opus context on work that doesn't need it
Opus only steps in at three moments:
→ before a plan locks
→ when the same error shows up twice
→ before calling it done
Sonnet builds. Haiku swarms. Opus reviews.
JEV engineering is the same move one layer down: the forks that need no thinker (which file, which tool, retry or stop) go to JEV in milliseconds, and the big models only see the ones that split
the full tree
> Sonnet 5.5 runs the main session and coordinates the work
> search maps the repo on Haiku 5.5, read-only
> grep finds call sites on Haiku 5.5 in its own context
> audit checks the diff on Haiku 5.5 in a throwaway worktree
> Opus 5.5 on call as advisor, reviews the synthesized diff before sign-off
> JEV routes micro-forks in milliseconds
paste the tree and this prompt into Claude Code ↓
"Reconfigure my Claude Code setup around this tree:
1. Run the main session on Sonnet 5.5 with Opus 5.5 as advisor.
2. Create three Haiku 5.5 subagents in .claude/agents: search (maps the repo), grep (finds call sites), audit (checks the diff).
3. Set isolation: worktree on audit so its checks never touch my working branch.
4. Add one rule to CLAUDE.md: delegate every repo search and test run to the Haiku 5.5 subagents to keep the main context small.
5. Route fast deterministic forks (tool choice, path selection, retries) through JEV.
Show me every change as a diff first. No edits until I say go."
↳ code.claude.com/docs/en/sub-…
Models are for rent. Context isn't.
Brazil's Alice raised a $40M Series D led by IFC: 100,000+ members, recurring revenue above R$1.2B, ~70% growth. Engineers now direct AI agents to write all its code.
As @andreflorence puts it: anyone can buy the models, not the context.























