Claude Code guides: sessions, tmux, notifications, remote
Answers to common questions about running Claude Code day to day, with and without hivemux.
Claude Code session management: IDs, resume, restart, many at once
Everything about managing Claude Code sessions in one place: find a session ID, name, resume and restart sessions, run several at once and keep them going.
How to run multiple Claude Code sessions at once
Run several Claude Code sessions in parallel and fix the common problems, from file conflicts and missed permission prompts to shared usage limits.
How to get notified when Claude Code needs input or finishes
Claude Code's built-in notification setting, Notification and Stop hooks, phone push, and how hivemux adds notifications and a pickup board for many sessions.
How to run a team of Claude Code agents with roles
Three ways to split one project across several Claude Code agents with roles (subagents, experimental agent teams, hivemux teams) and which fits your work.
How to use Claude Code with tmux and reattach to it
Run Claude Code in tmux, reattach with tmux attach -t <name>, fix the settings that matter (prefix, Shift+Enter, mouse) and see every session's state.
What to do when Claude Code hits the usage limit
Hit Claude Code's session or weekly limit? See when it resets and keep going with usage credits, an API key or another account without losing the conversation.
Claude Code resume: --continue, --resume and /resume explained
Resume a Claude Code session: claude -c for the last one, claude -r or /resume to pick by ID, name or pull request, and bring every session back after a reboot.
How to set up Claude Code in Ghostty with tmux
Make every Ghostty window open inside tmux, send Option as Alt for shortcuts, and get native notifications from Claude Code sessions.
How to continue Claude Code from your phone or another computer
Drive local Claude Code sessions from the Claude app with Remote Control, or attach to another Mac's or a Linux server's sessions with hivemux connect.
Claude Code session managers compared: Claude Squad, cmux & more
hivemux, Claude Squad, CCManager, Agent Deck, cmux, Nimbalyst and Vibe Kanban compared on approach, tmux, worktrees, notifications, platform and license.
How to keep Claude Code running after closing the terminal
Closing a terminal window kills the Claude Code session in it. Run Claude inside tmux so the task keeps going, reattach, and know what sleep and reboot do.
Claude Code session ID: how to find the current one and past ones
Find your Claude Code session ID: echo $CLAUDE_CODE_SESSION_ID, the status line or a hook. Past IDs live in ~/.claude/projects; /status does not show it.
Stop every Claude Code session overnight, resume tomorrow
End the day with several Claude Code sessions open without losing a conversation, then bring them all back tomorrow by hand or with hivemux's clock out and in.
Claude Code hooks in practice: how hivemux reads session state
A real hooks setup: which Claude Code hook events hivemux registers, what each payload carries, how they become running, waiting and done, and the traps we hit.
How to paste an image or screenshot into Claude Code over SSH
Ctrl+V in Claude Code over SSH reads the remote Mac's clipboard, not your laptop's. Copy the file over with scp, or let hivemux connect carry the image for you.
Open a remote Mac's dev server on your laptop's localhost
Forward a dev server port from a remote Mac to your laptop's localhost with ssh -L, or let hivemux connect forward every dev server port for you.
Claude Code notifications not working: fixes by symptom
No Claude Code notification on macOS, inside tmux or over ssh? A symptom-by-symptom checklist of causes and fixes, with commands to test each step.
How to restart Claude Code without losing the chat (/restart)
Restart Claude Code without losing the chat: /restart after an update, or /exit then claude --continue. What needs a restart, and restarting every session.
tmux focus-events for Claude Code: what it does
What set -g focus-events on does in tmux, why it is in Claude Code's recommended tmux config, how to check it, and why it needs a reattach.
Claude Code /clear vs /compact: managing the context window
What /clear and /compact do in Claude Code, when auto-compact runs, how to check context with /context, and which command to use when.
How to set up Claude Code in iTerm2, WezTerm or kitty
Option as Meta, Shift+Enter, notifications and tmux for Claude Code in iTerm2, WezTerm and kitty, with the exact setting for each terminal.
How to approve Claude Code permission prompts faster
Fewer, faster Claude Code permission prompts with "don't ask again" rules, /permissions, permission modes, notifications, your phone and the bee office.
Run Claude Code's builds and tests on a spare Mac
When several Claude Code sessions build and test at once, move the heavy commands to a spare Mac, by hand with ssh and rsync or with hivemux swarm.
Claude Code making your Mac slow? Find the cause and fix it
Why your Mac slows down and the fans spin up while Claude Code works, how to find the process using CPU and memory, and how to fix it.