Technical
Parallel Claude Code Sessions Without Losing Your Mind
Running one Claude Code session is easy. Running three at once is where most operators lose quality. The output is fast but the mental model breaks down. I finally found a setup that lets me run parallel sessions without the chaos. Here is the structure and the hard rules that keep it from collapsing.
The Hard Rule
One repo per terminal. Never two sessions on the same repo at the same time. Git conflicts and context drift are not worth the speed. If a task requires two perspectives on the same repo, use a worktree rather than a second session on the main checkout.
The Three-Window Layout
- Window one: the session I am actively steering
- Window two: a session running a long build or test
- Window three: a read-only exploration session in a different repo
Three is the upper limit for me. Four starts to feel like I am context-switching rather than parallelizing. The difference is subtle but real.
Why the Read-Only Session Matters
When I am waiting on a build, I am tempted to start a new change in a second repo. That kills focus. Giving myself a read-only exploration window means I can stay productive without starting writes I will later forget. Reading while waiting feels restful. Writing while waiting feels scattered.
The Commit Discipline
Every window commits and pushes before I switch tasks. Unpushed work in three windows is how you lose a morning. The discipline sounds annoying. It becomes muscle memory fast.
# Before switching windows:
git status && git commit -am 'wip: handoff' && git pushIf the current state is not commit-worthy, I stash with a clear message instead. Either way, the working tree is clean before I switch my attention.
The Cost I Pay
Slightly less depth per session. I accept that trade for the parallelism. When I need deep work, I close two of the three windows and go single-threaded. Context switching has real cost. Parallelism only pays when the coordination overhead is lower than the parallel gain.
The Lesson
Parallel is not automatically faster. It is faster only when the coordination overhead stays below the parallel gain. Know your threshold. For me it is three windows on small tasks, one window on anything architectural.
RELATED READING
The Consulting Shift I Am Making In Year Two
After a year of writing and building, my consulting practice is changing shape. Shorter engagements. Sharper outcomes.
ReadThe Frontend Shift: Shipping Less JavaScript In Year Two
A year ago I reached for Next.js for everything. This year I often reach for nothing.
ReadThe Serverless Lesson I Would Write On A Sticky Note
After a year of shipping serverless projects, one rule explains most of the wins and all of the losses.
Read