Blog
Managing Multiple Claude Code Sessions: Power User Tips
Run multiple Claude Code sessions across different projects simultaneously. Here's how to manage them without losing track.
Follow product and engineering updates from this channel.
Browse categoryOne Claude Code session is useful. Multiple sessions running in parallel is where the productivity multiplier kicks in.
You can have Claude fixing tests in one project, refactoring code in another, and writing documentation in a third — all running simultaneously on your Mac while you monitor from your phone. The key is managing them without losing context or accidentally sending the wrong command to the wrong session.
How Sessions Work Under the Hood
Every Claude Code session in Tactic Remote runs inside a tmux session on your Mac. tmux handles the process isolation:
Each session has its own:
- Working directory (project path)
- Claude Code instance with its own conversation context
- Scrollback buffer (50,000 lines default)
- Independent input/output stream
When you switch sessions on your iPhone, the server detaches from one tmux session and attaches to another. The session you leave keeps running — Claude Code doesn't stop because you switched away.
Setting Up Parallel Sessions
Naming Strategy
Session names auto-generate from the project folder name. For a directory /Users/you/code/my-api, the session name becomes my-api. This works well until you have multiple projects with similar names.
Tips:
- Use distinct project folder names
- If working on branches of the same project, include the branch context in your prompt rather than creating separate sessions
- Keep session names short — you'll see them in a list on your phone
Project Path Selection
When creating a session, you browse your Mac's filesystem from your phone. Tactic Remote shows:
- Recently used paths (up to 10, most recent first)
- Favorite paths you've pinned
- Full directory browser for navigating to new locations
For speed, set up your most-used project directories as favorites before you need them. Browsing deeply nested directories on a phone is tedious.
The Parallel Workflow
Here's a concrete example of managing three parallel sessions:
Session 1: API Bug Fix
Session 2: Frontend Feature
Session 3: Documentation
Your phone shows the session list. You see Session 2 needs attention (approval request). Tap to switch, review the dependency Claude wants to add, tap Y or N, switch back to monitoring.
Session Management Patterns
Pattern 1: Pipeline Dependencies
Sometimes sessions have logical dependencies: finish the API change, then update the frontend, then update the docs.
Approach:
- Start Session 1 (API) with the primary task
- Get notified when Session 1 completes
- Review the changes in Session 1
- Start Session 3 (docs) referencing the completed API changes
- Meanwhile, Session 2 (frontend) can run independently
The key: don't start dependent tasks until the upstream task completes. Claude Code doesn't know about your other sessions — each operates independently.
Pattern 2: Independent Parallel Tasks
When tasks are truly independent, start them all at once:
- Create Session 1, send task
- Create Session 2, send task
- Create Session 3, send task
- Wait for notifications
This maximizes throughput. Your Mac handles the parallel execution (each Claude Code instance is a separate process). Monitor the session list to see which are still running.
Pattern 3: Exploratory + Productive
Use one session for exploration and another for production work:
- Explore session: "Read through the payment module and explain the architecture. List the main classes and their responsibilities."
- Work session: (after reading the exploration output) "Refactor PaymentProcessor to extract the validation logic into a separate ValidationService class."
This prevents your working session from filling up with exploratory context that dilutes Claude's focus.
Practical Tips
Keep Sessions Focused
Each session should have one clear purpose. Avoid the temptation to reuse a session that finished a task for something completely different — the accumulated conversation context from the previous task may confuse Claude on the new one.
Instead: create a new session for each distinct task. Sessions are cheap (they're just tmux sessions).
Use /compact for Long Sessions
If a session has been running for a while with lots of back-and-forth, the conversation context grows. This can slow Claude down and increase token costs. The /compact slash command condenses the conversation, keeping the important context while reducing token count.
Monitor Costs with /cost
When running multiple sessions in parallel, token costs multiply. Use the /cost command in each session to check spending. A useful habit: check /cost in each active session at the end of the day.
Kill Sessions You're Done With
Idle tmux sessions consume minimal resources, but they clutter your session list. After reviewing a completed task's output, kill the session if you don't need to reference it again.
Use Snippets for Repeated Operations
If you frequently run the same setup commands across sessions (e.g., "Run tests", "Check git status"), save them as custom snippets. One tap instead of typing each time.
Built-in snippets already cover common patterns:
- Claude category: Start session, compact, check cost
- Git category: Status, commit, push
- System category: List files, check disk
Resource Considerations
Running multiple Claude Code instances in parallel consumes:
- CPU and memory on your Mac — each Claude Code process and tmux session uses resources. Modern Macs handle 3-5 concurrent sessions comfortably. Beyond that, check Activity Monitor.
- API tokens — each session's conversation with the AI model costs tokens. Parallel sessions multiply this linearly.
- Network bandwidth — minimal. Terminal text is small compared to video or large file transfers.
The Mac app prevents sleep while the server is running, which is important for long parallel sessions. But monitor your Mac's temperature and battery (if on a laptop) when running many sessions simultaneously.
Switching Contexts Without Losing Your Place
When you switch from Session A to Session B on your phone:
- Session A continues running (Claude keeps working)
- Session B's latest output loads with state hydration
- Your phone shows Session B's terminal from the most recent position
When you switch back to Session A:
- Session B continues running
- Session A's output reloads, showing any progress Claude made while you were away
The multi-stage hydration (0.2s, 0.7s, 1.5s refresh intervals) ensures you get the complete current state even if the initial load is partial.
Anti-Patterns to Avoid
Don't micromanage parallel sessions. If you're constantly switching between sessions to check progress, you're not gaining the productivity benefit. Trust the notification system — it tells you when something needs your attention.
Don't use one session for everything. A single session running task after task accumulates context that eventually degrades performance. Create fresh sessions for distinct tasks.
Don't leave many idle sessions running. While they use minimal resources, a long session list on your phone makes it harder to find the active ones. Clean up after yourself.
Don't start dependent tasks prematurely. If Session 2 depends on Session 1's output, wait for Session 1 to complete. Starting Session 2 early with assumptions about what Session 1 will produce leads to wasted work.
A REAL WORKFLOW. YOUR HONEST FEEDBACK.
Does this work for the way you work?
Using another tool, or tried Tactic Remote and moved on? Try one month of Pro and tell us what happened. Get three more months after a survey or interview.