6. Concurrent Sessions
Three mechanisms prevent concurrent sessions from interfering with one another: names, separate working copies, and a single view of all sessions.
Identification
| Command | Effect |
|---|---|
/rename billing page | Assigns a name to the session. |
/color blue | Sets the color of its prompt bar. |
claude --worktree billing-fix | Starts the session in a separate git worktree, so that two sessions never edit the same files. |
Agent view
Agent view lists every background session on one screen, grouped as needing input, working or complete. It is a research preview, and its keys may change.
| Key or command | Effect |
|---|---|
claude agents | Opens agent view from the terminal. |
Left on an empty prompt | Moves the current session to the background and opens agent view. |
Space | Previews the selected session. A reply may be entered without opening it. |
Enter | Opens the selected session. Left on an empty prompt returns to the list. |
/bg | Moves the current session to the background and releases the window. |
/fork | Copies the current session into a new background session. The original continues. |
Ctrl+X | Stops the selected session. A second press within two seconds deletes it. |
Verified November 23, 2026 against Claude Code 2.1.327. References