How-to guides

Run several Claude sessions at once

Give each task its own worktree and Claude, and keep track of them all from the worktree strip

Claude sessions that share one checkout trip over each other: one runs the tests while another is halfway through an edit. Give each task its own worktree and they can't.

Use this guide when you have two or more independent tasks and want Claude on all of them at the same time.

Before you start

You need:

1. One worktree per task

For each task:

  1. Press Cmd+Shift+N.
  2. Give it a name that says what the task is (fix-login, dark-mode).
  3. Press Create and start Claude, and give that Claude its task.

Each worktree gets its own branch, files, ports and Claude tab.

2. Keep track of them

The worktree strip in the status bar has a pill per worktree, with a sparkle showing its Claude's state:

State Means
working Claude is busy
needs you Claude is waiting: a question, or a permission prompt
idle Claude finished its turn

Click a pill, or press Cmd+Ctrl+] and Cmd+Ctrl+[, to switch. The file tree, Git view and terminals follow. The ▾ list shows every worktree with how many files it changed.

3. Review and finish each one

Switch to a worktree, open Git (Ctrl+4) and look at its changes. When it's done, have Claude commit and push, or open a pull request. Then remove the worktree from the ▾ list or the pill's right-click menu: 10nx runs your archive script, removes the worktree and frees its ports.

Or let a lead Claude do it

For a bigger job, /tnx swarm <goal> in a Claude tab makes a lead Claude that splits the work, creates a worktree and worker Claude per piece, and reports back to you. /tnx huddle does the same in one shared folder. See Teams of Claudes.

Things to watch

  • Your plan's limits are shared. Every session counts against the same Claude subscription.
  • Ports are per worktree, other things aren't. A shared database or a fixed port in your config still clashes. Use TNX_PORT where you can.
  • Merge order matters. Two branches that touch the same file need one merged and the other rebased.

Check it worked

The strip shows a pill for each task, each with its own state, and Ctrl+4 in each shows only that worktree's changes.

Next steps