Skip navigation
holy sh*t. Official Anthropic tip for Claude Code: stop burning Opus 5.5 context on tasks Haiku 5.5…
0:00 / 0:25

holy sh*t. Official Anthropic tip for Claude Code: stop burning Opus 5.5 context on tasks Haiku 5.5…

mirku

@mirku212.9K followers

Visit on X
342 likesDownloadOriginal post

109,590 views

holy sh*t. Official Anthropic tip for Claude Code: stop burning Opus 5.5 context on tasks Haiku 5.5 can swarm, while Sonnet 5.5 builds put the architect on call with custom subagents CLAUDE_CODE_SUBAGENT_MODEL=haiku claude --model sonnet Sonnet 5.5 drives the primary session on high effort, writing diffs and running test suites Haiku 5.5 subagents swarm the repo in parallel at 340 tok/s, handling file discovery and spec docs lookup Opus 5.5 stays on call in ~/.claude/agents/ as the code reviewer, only stepping in at three critical moments: → before a plan locks: does the implementation plan miss auth invariants or schema contracts? → when a test breaks twice: are we fixing the root cause or falling into a recursive rabbit hole? → before calling done: did the full diff introduce hidden regressions or break pre-flight rules? Opus 5.5 reviews. Sonnet 5.5 builds. Haiku 5.5 swarms Claude Code subagent architecture runs the identical pattern through isolated contexts: high-volume operations (reading 30 files, grepping AST, running test suites) execute in separate worktrees, so 400k+ tokens stay in subagents while the primary session keeps a pristine 14k context Plan on high. Delegate on medium. Keep Opus on call. - the full subagent swarm setup > Opus 5.5 on call in ~/.claude/agents/code-reviewer.md catches deep architectural traps > Sonnet 5.5 lead drives edits, writes core logic, and executes test harnesses > Haiku 5.5 subagents swarm AST parsing, grep scans, and API docs in parallel at 340 tok/s > isolation: worktree guarantees test runs and scratch edits never pollute your git tree > isolated context windows shield the primary session from 400k+ tokens of verbose output paste the setup and this prompt into Claude Code below: "Configure my Claude Code workspace for hierarchical subagent orchestration: 1. Audit ~/.claude/settings.json and project config for model roles fitting lead, subagents, and reviewer: > Pin main session model: sonnet with effortLevel: high for primary execution > Set CLAUDE_CODE_SUBAGENT_MODEL to haiku in settings.json with CLAUDE_CODE_SUBAGENT_MODEL_FORCE to 1 > Pin custom code-reviewer model: opus with effort: high in ~/.claude/agents/code-reviewer.md 2. Create specialized subagent files in ~/.claude/agents/: > code-reviewer.md: model: opus, tools: Read, Grep, Glob, read-only review of plans and diffs > explorer.md: model: haiku, tools: Read, Grep, Glob, fast codebase search and AST discovery > researcher.md: model: haiku, tools: Read, WebFetch, external documentation and specification lookup 3. Configure automatic delegation checkpoints in ~/.claude/CLAUDE.md: > Invoke @ code-reviewer before finalizing multi-file architecture plans > Automatically summon @ code-reviewer when the same test or compiler error fails twice > Enforce @ code-reviewer diff contract audit before declaring tasks complete or staging git commits 4. Constrain subagent scopes: > Enable isolation: worktree for subagents making edits or running test harnesses > Return structured summaries only without flooding the main conversation context Show every configuration diff first. Do not apply edits until confirmed" ↳

11 Comments

Comments from the original post on X (Twitter)

  • damkin's profile picture

    @damkina7

    that amazing, bro

    1 like

  • Ronald's profile picture

    @frogbetronald

    Same logic at the tables: put the cheap grind on the small edges, save deep thought for the big spots.

  • 安叫兽|Bird🕊️ 🔶 BNB's profile picture

    @ajs6888

    先收藏,回头看看

  • Biscuit's profile picture

    @biscuitweb

    the setup itself needs a reviewer

  • An$h's profile picture

    @eth_ansh

    haiku deserves respect

  • Daniel Kim's profile picture

    @yong076

    서브에이전트가 맡는 탐색 범위를 넓힐수록, 주 세션이 실제로 절약한 컨텍스트와 검토 단계에서 다시 투입된 토큰을 작업별로 함께 기록해야 비용 효과를 판단하기 좋겠습니다.

  • Zipeng Wu's profile picture

    @zipeng365

    I’d like to test whether those auth and schema requirements survive context compression. TOMC is my free open-source Claude Code/Codex research plugin for reducing input tokens; I’d welcome a comparison with your workflow.

  • marfin's profile picture

    @marfinxx

    it is strange that not everyone is using it yet after all, whether it is haiku, sonnet and opus, they are all perfectly suited for a wide range of tasks

  • Miles S.'s profile picture

    @milessy_bc

    keeping 400k tokens out of main context is the move

  • Dirk Gently's profile picture

    @curious_dude

    how do you get that visualization while running? thats not part of claude code is it?

  • Scott A McMillan's profile picture

    @scott4670

    Everytime i see some fake statement of excitement i mute the account.