Claude Code opusplan 三层分工,Jev 接微决策
用 opusplan 让 Opus 5.5 规划、Sonnet 5.5 写码、Haiku 5.5 跑子代理,并把无需思考的分叉交给 Jev 毫秒级处理。
THIS IS LEGIT F*CKING GOLD Anthropic has one of the best Claude Code tricks sitting right in its own docs. The idea: one model setting that puts Opus 5.5 on the planning, Sonnet 5.5 on the typing, and Haiku 5.5 on the digging underneath. Opus-level architecture on every plan, Sonnet prices on every line of code that follows. You just launch Claude Code like this: CLAUDE_CODE_SUBAGENT_MODEL=haiku claude --model opusplan here's the split: → Opus 5.5 takes over while plan mode is on and designs the approach → Sonnet 5.5 takes over the moment you approve the plan and writes the code → Haiku 5.5 runs the subagents: repo map, call sites, test runs → you stop paying Opus to type code it already planned You only flip into plan mode (Shift+Tab) at three moments: → before the first line of code → when the same fix fails twice → before a refactor that touches more than a few files Opus plans. Sonnet ships. Haiku digs. 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 > plan mode runs on Opus 5.5 and writes the plan > execution switches to Sonnet 5.5 the second you approve it > search maps the repo on Haiku 5.5 > grep finds call sites on Haiku 5.5 > tests runs the suite on Haiku 5.5 and returns only the failures > JEV routes micro-forks in milliseconds paste the tree and this prompt into Claude Code ↓ "Set up my Claude Code around this tree: 1. Make opusplan my default model ("model": "opusplan" in settings) and set CLAUDE_CODE_SUBAGENT_MODEL=haiku. 2. Create three Haiku 5.5 subagents in .claude/agents: search (maps the repo), grep (finds call sites), tests (runs the suite, reports only failures). 3. Add one rule to CLAUDE.md: switch back to plan mode before the first edit, after the same fix fails twice, and before any refactor that touches more than 5 files. 4. 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." ↳ http://code.claude.com/docs/en/model-config save it, you'll reach for this every time a plan goes sideways
这条是引用着另一条写的:x.com/skunzu/status/2111186725548511689