Summary note: This is a summary of Kodzilla (@k0dzilla)’s November 5, 2026 X long-form post “HOW TO RUN SONNET AS LEAD HAIKU AS SWARM AND OPUS AS ADVISOR ON CALL”. It is a summary, not a reprint. Original: https://x.com/k0dzilla/status/2118090176543031528

Kodzilla shares a multi-model setup for Claude Code: three models in one session, each doing what it’s best at, with the goal of burning fewer tokens. At its core is one command plus three subagents, plus one rule written into CLAUDE.md.

The Split at a Glance

Role Model Job
Lead Sonnet 5.5 Drives the whole session, writes code, makes decisions
Parallel squad Haiku 5.5 × 3 Retrieval, locating, auditing, running in parallel
Advisor Opus 5.5 Only steps in when needed, reviews the final changes

The author’s thinking, in his own words: Sonnet drives the session, Haiku runs retrieval and auditing in parallel, and Opus only reviews the final diff.

Five Setup Steps

Step 1: Start with one command. Run claude --model sonnet --advisor opus in the terminal. The main session runs Sonnet 5.5, with Opus 5.5 attached as advisor. The relevant docs are on Anthropic’s Claude Code sub-agents documentation page (code.claude.com/docs/en/sub-agents).

Step 2: Create three Haiku 5.5 subagents. Create three subagents under the .claude/agents directory:

  • search: maps out the repository structure;
  • grep: finds call sites;
  • audit: checks the diff in a temporary worktree, without touching the current working branch.

Step 3: Add one rule to CLAUDE.md. Every repository retrieval and test run goes to the Haiku 5.5 subagents, keeping the main session’s context lean.

Step 4: Route deterministic branches through Jev. The fast, deterministic branch decisions — which file to pick, which tool to use, whether to retry or stop on failure — go through Jev routing, so the large models never see those decisions.

Step 5: Use a prompt to have Claude rebuild the configuration from this tree. The prompt roughly says: the main session runs Sonnet 5.5 with Opus 5.5 as advisor; set up the search, grep, and audit Haiku 5.5 subagents, with audit isolated in a worktree; add the rule to CLAUDE.md that retrieval and testing go through the Haiku subagents; route deterministic tool selection, path selection, and retries through Jev; and show all changes as a diff first, changing no files without confirmation.

Two Red Lines

The author specifically warns about two pitfalls:

  • Opus can’t be on call for everything. If every small decision goes to Opus, it burns tokens just the same — it must strictly appear only at final review.
  • Models can’t be in the wrong seats. Don’t run the whole session on Opus, and don’t have Haiku write code; a model in the wrong seat is wasted context. The author’s summary: Sonnet builds, Haiku runs in parallel, Opus reviews.

Summary

The essence of this setup is routing tasks by cost: cheap Haiku does bulk retrieval and checks, mid-range Sonnet does the main development work, and the most expensive Opus only guards the final step — while workflow branches that need no model judgment are handled directly by deterministic routing like Jev. If you want to copy it, first confirm your Claude Code version supports the --advisor flag, then build it by following the five steps above, run a small task, and compare token usage before deciding whether to keep it long term.

Written byAuthor

Buy me a coffee~

Solana

Solana

Solana

Solana

Solana

Solana

Background music
Jump to comments
Settings
Back to top
Go to bottom
Collapse toolbox