Skip to content

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
claude

Each 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

Keep reading

  • Guide

    Claude Code from your phone: what works, and what should stay on the computer

    From a phone it makes sense to answer a session’s question, send a prompt, interrupt it, and start or replace a session. With HeyJason you can also answer a permission prompt by picking one of its options, while sign-ins, settings and anything you cannot judge from a small screen stay on the computer.

  • Guide

    When a Claude Code session runs out of context: handing off cleanly

    Before the context is full, have the session write a handoff note (goal, current state, decisions made, what is left, how to verify), then start a fresh session that reads the note first. A fresh session with a good note beats a long session that has forgotten its own decisions.

  • Guide

    One session per branch: git worktrees with Claude Code

    Run `git worktree add ../repo-task -b task main` for each task and start Claude Code inside that folder. Each session gets its own files and branch, so parallel sessions never overwrite each other.

Get started

Try it on your own sessions.14 days free, no card.

Every feature for 14 days, on up to 3 computers. Then Solo is $10 a month and Pro is $20.

Start on the web

Start freePricing

Or install first, on the computer that runs Claude Code

$ curl -fsSL https://heyjason.dev/install | sh

Install guide