Cmux Session Manager — Development skill for Claude Code
Snapshot and restore cmux workspaces with Claude Code session resumption.
How to install Cmux Session Manager
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ericblue/cmux-session-manager and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cmux Session Manager does
Snapshot and restore cmux workspaces with Claude Code session resumption.
Alternatives in Development
- Ccmanager — 940+ Session manager supporting 8 coding agents with smart auto-approval 946 ★
- Cmux — cmux: tmux for Claude Code 600 ★
- Tmux Claude Session Manager — Run many Claude Code sessions across your projects, each in its own tmux session — then list them, see which a 380 ★
README
cmux-session-manager
Snapshot and restore [cmux](https://cmux.com/) workspaces with Claude Code session resumption.
When cmux crashes or is restarted, this tool recreates your workspace layout — splits, panels, working directories, Claude sessions, and optionally terminal commands — and resumes everything where it left off.
How It Works
**Snapshot** reads cmux's session state file to capture all windows, workspaces, panels, and their layout (splits, orientations, working directories).
It cross-references running Claude processes (`ps`) with their `--session-id` flags, mapping each Claude panel to its active session. For non-Claude terminal panels, it detects running foreground commands (dev servers, watchers, etc.) via process inspection.
**Restore** recreates the workspace structure using `cmux` CLI commands, targeting each panel by surface ref to ensure commands land in the correct split. Claude sessions resume with `claude --resume `, and terminal panels `cd` to their original directories. With `--run-commands`, captured terminal commands are re-launched automatically.
Quick Start
# Take a snapshot of all workspaces
make snapshot
# List active Claude sessions
make list-active
# Show detailed info for a workspace
make show W=myproject
# After a crash — preview the restore plan
make restore-dry-run W=myproject
# Restore a workspace (auto-executes inside cmux, prompts for confirmation)
make restore W=myproject
# Respawn: snapshot + kill + restore in one step
make respawn W=myproject
Common Workflows
Recover after a cmux crash
# See what you had running
make list-snapshots
# Inspect a specific snapshot to verify it has what you need
make show F=cmux-20260405-161401
# Preview the restore plan
make restore-dry-run
# Restore everything (requires typing 'yes' for multi-workspace)
make restore
Respawn a misbehaving workspace
# Check current state
make show W=devops-work
# Snapsho
Related Skills
Cmux Custom Manager
A cmux sidebar that shows every coding agent across your workspaces, sorted by what needs you.
Unity Session Resume
Restore a named session snapshot into the live .claude/state/session.json so the next SessionStart picks it up
Session Archive Manager Mod
Your Claude Code sessions, finally under control. One pane lists every session, grouped like your sidebar. Fli
Cmuxlayer
10 public MCP tools for controlling cmux workspaces and managing Claude, Codex, Gemini, Kiro, and Cursor agent
Cmux Restore
Save and restore Claude Code sessions across cmux restarts
Agent Memory Sync
Cross-machine path normalizer and safe SQLite cloud-drive snapshot helper for syncing CLAUDE.md, AGENTS.md, an
Related Agents
Battlefield Reviewer
Use when reviewing changes under resources/js/battlefield/ (the Phaser game — scene, snapshot, leaderboard, pr
Hatch3r Handoff Loader
Session-start agent that surfaces active handoff documents from .hatch3r/handoffs/active/. Use at the beginnin
Claude Multi Agent API Server
Production-ready FastAPI service for concurrent Claude Agent session management with real-time monitoring, cos