Replace chaotic terminal tabs with named tmux windows, isolated git worktrees, and coordinated Agent Teams. Three layers that turn parallel sessions from confusion into flow.
The Problem
The Solution — Three Layers
Layer 1 — tmux Session Layout
Layer 2 — Worktree Isolation
Layer 3 — Agent Teams
tmux Key Bindings
Ctrl+B → 1
Switch to dev server
Your Vite dev server and general terminal pane. Check build output, run commands.
Ctrl+B → 2
Switch to primary Claude session
Your main coding session. One task, full context.
Ctrl+B → 3
Switch to parallel agent (worktree)
Isolated second session. Run claude --worktree here for conflict-free parallel work.
Ctrl+B → d
Detach — session stays alive
Close Ghostty, go get coffee. Come back with tmux attach -t parnell.
Session Scoping Rules
feature-[name]
New feature dev
worktree
bugfix-[name]
Single bug fix
worktree
landing-page
Marketing site edits
direct
training
Course content
direct
ops
Business operations
direct · ai-os/
refactor-[scope]
Code cleanup
worktree
The Three Rules
⚡
Max 2 parallel coding sessions
Parallel enough to multitask, conservative enough to avoid constant rate-limit throttling on Max plan.
🚫
Never edit the same file in two sessions
If two agents need the same file, finish one first or use worktrees so they have separate copies.
🎯
One session = one task
Don't reuse a session for a different task. Stale context from the previous task confuses Claude. Start fresh.
Daily Flow — Quick Reference
# Start your structured workspace $ cd ~/Documents/VSStudio/parnellsystems $ ./scripts/tmux-dev.sh
# Window 2: start your main task $ claude > Update the hero section copy on the landing page
# Ctrl+B → 3: start parallel work in a worktree $ claude --worktree > Add authentication flow to the dashboard
# Switch between them Ctrl+B → 2orCtrl+B → 3
# Detach when done, come back later Ctrl+B → d $ tmux attach -t parnell
Tools Worth Knowing
tmux
Terminal multiplexer. Named windows, persistent sessions, split panes.
brew install tmux
muxtree
Dead-simple bash script pairing worktrees with tmux. Minimal dependencies.
Single bash script
dmux
Full dev agent multiplexer. 11+ agents, hooks, CI/CD. Most feature-rich.
GitHub / npm
claude-esp
TUI to monitor Claude's hidden thinking across sessions.