BlogGuide · · 2 min read
How to run several Claude Code sessions in parallel
The short answerGive each session one task and its own working copy (a git worktree), name it after the task, and check on a schedule which ones are waiting for you. The limit is your attention, not the number of sessions.
Why run more than one
A Claude Code session spends most of its time reading, running tests and waiting on tools. While it does, you are free. A second session on an unrelated task uses that time; a tenth does too, as long as the tasks do not depend on each other.
Good candidates are jobs with a clear finish: a bug with a failing test, a page of docs, a migration, a dependency upgrade. Poor candidates are two halves of the same change.
One task, one working copy
Two sessions in the same folder will edit the same files and run each other’s half-finished code. Give each its own copy of the repository with a git worktree:
git worktree add ../acme-api-billing -b billing main
cd ../acme-api-billing
claudeEach worktree has its own branch and its own files, and they all share one history. More on this in one session per branch.
A short brief, and a name
Start each session with what done looks like: the ask in one or two sentences, how to check it, and what not to touch. Name the session after the task (billing-retry, docs-install), so a list of ten still reads like a plan.
The hard part is knowing who needs you
With one session you see the moment it stops. With ten, three things go wrong quietly:
- A session waits on a question (which approach, ship it or not) and nobody answers for an hour.
- A session fills its context and starts losing track of what was decided earlier.
- Two sessions touch the same file, and one of them will have to redo its work.
A routine helps: every half hour, look at each session’s state, answer what is waiting, and check how full each context is. Review pull requests as they open rather than at the end of the day.
Where HeyJason fits
HeyJason does that routine for you. It shows every session on every computer you connect with its state, context and task, tells you the moment one needs you, and lets you answer, send a prompt, interrupt, start or replace a session from your phone and the web. It also warns when two sessions edit the same file.
It is free for 14 days with no card. If you would rather keep everything on one computer, the open-source ShiftBoss shows the same screens locally.
By The HeyJason team. Found a mistake? support@heyjason.dev