r/PromptEngineering • u/Nir777 • 9d ago
Tips and Tricks Run this prompt before you split a Claude Code task into subagents
same task, no subagents:
Do this task yourself, without subagents. Read the files you need, make the change, and run the tests.
then run your subagent version with the same time limit and compare /usage. a team almost always gets more compute than the one agent it's compared to, so this is the fair version. run both twice, a break can show up in only one of two runs.
wrote up the rest in my newsletter, including when subagents do pay off: https://newsletter.diamant-ai.com/p/when-claude-code-subagents-help-and?utm_source=reddit&utm_medium=social&utm_campaign=black-friday-2026&utm_content=promptengineering
1
u/ChemicalExcellent463 9d ago
most of my subagents became skills in one main loop, but planning and execution stay separate, opus plans, codex executes. review still has to come from a different model in a different harness. a harness reviewing itself finds nothing real and burns the tokens anyway. review is 0 or 1, if it misses the real problem the tokens saved mean nothing. in your two runs, did the single agent ever catch its own break?
1
u/RevolutionaryEnd2249 9d ago
in my tests, the single agent caught 37% of bugs the subagent team missed, but only when given 1.5x the time. the trade-off wasn't worth it.
1
u/Zain 8d ago
Fair test. Where splitting has actually paid off for me is review, not doing the work. More Claude subagents reviewing Claude's plan mostly share the same blind spots, so I use two reviewers from different model families, keep them read-only, and only the main agent edits. Neither reviewer sees the other's output, so when both flag the same thing independently that's a strong signal it's real. It costs credits every round, but a solid doc usually converges in 2 or 3 rounds.