Do It All Claude Code

English · 한국어 · 日本語 · 简体中文
If you run Claude Code on Opus or Sonnet, the main session does almost everything itself, including
edits that a much cheaper model would get right. This project is a Claude Code plugin plus a small local
daemon that changes that. For each request it decides whether the main session should just do it, or
coordinate a few subagents, each on the model its part needs: a small one for routine work, Opus for the
hard part. The router checks every result.
At a glance (one day, one machine, on a subscription; Sonnet 5.5 main session against plain Claude Code on Opus 5.5; costs are Claude Code's own estimates at API prices; details)
- Feature work (the bench's own 10 tasks, one run): 10 of 10 passed, as with Opus alone, at 67% less cost ($1.73 against $5.27) and in 25% less time.
- Hard bugs (5 SWE-bench Verified tasks, two runs each): 5 of 10 passed against 6 of 10, within run-to-run noise, at the same cost ($3.22 against $3.17). It took 57% less time, but most of that gap is one slow Opus-alone run on one task. A Sonnet session that hands the whole task to one Opus subagent cost $0.90 less. These projects' tests don't start on the measuring machine, so the router could check the result in only 2 of the 10 runs.
- Small samples: one run of the feature tasks, and on the bugs the same setup moved by up to three passes from one run to the next. There was no Sonnet-alone run.
- We recommend a Sonnet main session: it coordinates, and the router puts Opus where the work is hard.
Measurements, and how we made them, are in docs/measurements.

The CLI and package are called do-it-all-claude-code.
How it works
The plugin forwards Claude Code's hook events to a daemon on 127.0.0.1. When you send a prompt, the
daemon sizes it up with plain rules (no model call) and tells the main session, which we call the lead,
what to do.
The lead coordinates. Only the smallest changes (a typo, a one-line default) stay with the lead.
Anything bigger goes to subagents: the lead's first look only judges the request's size and difficulty,
with the router, and it does not trace the cause or draft the fix itself, since each of its turns re-reads
its whole context at the lead model's price. When the rules can't tell how big a request is, it goes to a
small team and the lead decides which roles it needs. Workers may sit above the lead: a Sonnet lead can
hand a hard part to an Opus coder.
Each subtask has its own difficulty. The lead splits the request by difficulty as well as by file and
tags each part routine, moderate or hard. The router raises the floor when the request reads like a hard
bug (a traceback, a regression, a race). A hard fix then runs on a strong model while the changelog entry
runs on Haiku, at the same time.
Where a worker starts follows whether the router can check its result. Once per repository and
commit, the router checks in the background whether the project's tests start here. When they do, a coder
starts on Haiku at low effort (Sonnet at medium for a hard part) and moves up only when it misses. When
they don't, a miss would go unseen, so a coder that changes source code starts once on Opus at high
effort. The team office shows which case applies ("checkable" or "not checkable").
Workers move on a grid of models (Haiku, Sonnet, Opus, and Fable if you turn on fableOptIn) and
efforts (low to max). A worker moves up in big, measured steps when it fails: two misses in a row, two
rejections from a reviewer or tester, or the lead asking for it. One that keeps getting "easy" verdicts
from a reviewer moves back down in small steps, effort first, then the model. After three raises the user
is asked. Cells whose cost hasn't been measured yet are marked "est." in the team office.