What problem does it solve?
Managing and recovering multi-workspace layouts across restarts or sharing setups can be error-prone. This skill saves the current state of cmux workspaces as a deterministic JSON snapshot, excluding the manager session by default, to enable reliable recovery, auditing, and sharing.
Core Features & Use Cases
- Capture the current cmux workspace layout, including per-workspace ref, name, state, branch, PR status, category, and cwd, for auditing, sharing, or restoration.
- Persist snapshots to the standard location
~/.cmux/sessions/ with a timestamped filename, enabling incremental history; supports including the manager session via a flag.
- Integrates with related skills for restoration and crash recovery (cmux-resume-sessions, cmux-recover-sessions) and with the session manager for persistent records.
Quick Start
Run the cmux-save-sessions script to generate a JSON snapshot of your current cmux workspaces.