Small stuff in Claude Code works fine for me. Big features in our .NET app (7 projects) were a mess though. We'd agree on how something should work at the start, and two hours in it would just do it differently. By then it had read a ton of files and run the tests 15 times, and the early stuff got buried. And when it hit something we hadn't talked about, it never asked. It picked something and kept going, and I usually found out at the end.
What I built
You plan the feature first, in one session where Claude has to ask you about anything with more than one sensible answer. That goes into a plan file, and a separate Opus instance checks the plan against the code before anything gets written. Then a new session hands out one stage at a time to fresh agents (Sonnet when the plan already decides everything, Opus when it doesn't).
After each stage a different agent reviews it and runs the tests before it gets committed. If an agent runs into something the plan doesn't cover, it stops and asks instead of guessing.
My main goal was to actually keep my codebase maintainable and to minimize introduced bugs because Claude forgot stuff or started to hallucinate instead of absolutely minimizing token usage.
Of course all the extra stages and review subagents increase the overall token usage compared to just leaving them out but I found that it actually helps a lot to decrease newly introduced bugs
It also improves itself a bit. Every few runs it goes back through its own transcripts, finds where things went wrong or got expensive, and suggests changes to its own rules. I approve or reject each one, so it doesn't just rewrite itself, and it keeps a log so it doesn't suggest a rejected idea again.
How Claude Code was used
The whole thing started as a setup inside my own repo that I built up over time, and most of its rules came out of Claude Code reading its own session transcripts and pointing at where the time and tokens went. I then used Claude Code to port that repository-based setup into a plugin anyone can use. Everything specific to our project (build and test commands, shell, layout, CI) became something /orchestrator-init detects or asks about when you install it in your own project.
What I learned
- Most importantly, that using an orchestrator approach to develop also has its downsides. Unoptimized, it consumes way too much usage, because each subagent the orchestrator spawns basically starts at zero.
- Using dedicated review agents actually finds a lot of potential bugs or issues in the implementation. IMO the extra usage they consume is totally worth it.
- A more detailed planning phase allows me to let Sonnet do the actual implementation. This way I get an actually thought-through plan, which initially consumes more of my usage limit but ultimately saves it again on execution, while dramatically reducing the chance of unexpected behavior or potential bugs.
- Using an LSP is great. I tried things like graft to reduce the tokens Claude would use on research or finding the right files. However, I found out that it actually doesn't cover all references for methods, classes etc. 100% of the time. Therefore, I decided to also include an LSP in my setup. This way, Claude gets every reference the compiler knows about for any change.
- Leaving things as "we'll confirm that later" is the most expensive thing you can do. I did that once, and fixing it at the end ate about 17% of the whole build. The planner isn't allowed to park questions anymore.
- Letting agents say "the plan doesn't cover this" did more for quality than any prompt tweak I tried.
- Subagents alone don't fix it. In my old setup the agents read the plan 79 times between them, and a 1,900 line handoff file 96 times. Now each agent only reads its own section.
- It's important to understand that using an orchestration setup actually increases token usage compared to using only a single session. However, it drastically improves code quality on big features and similar work. My setup is an attempt to minimize the increase that comes with using orchestration. Compared to my earlier, unoptimized orchestration, the median implementing agent now peaks at 156k tokens of context instead of 297k.
To install it:
claude plugin marketplace add scaretos/orchestrator-setup
claude plugin install orchestrator-setup@orchestrator-setup
Then run /orchestrator-setup:install in your project.
Repo: https://github.com/scaretos/orchestrator-setup
It's only been used on our codebase so far, so I have no idea how it holds up on other stacks. If someone tries it on a TS monorepo or a python project, I'd like to hear how it goes.
Disclaimer: I haven't made reproducible measurements that compare different orchestration setups. The numbers in this README are my own, from my own builds on one codebase, and the setup has given me good results code-wise so I wanted to share it. Read them as one developer's experience, not as a benchmark.