← ClaudeAtlas

recover-sessionslisted

Bulk recover Claude Code sessions after power loss or tmux crash. Interactive interview to determine recovery scope, layout, and execution mode.
devseunggwan/praxis · ★ 1 · AI & Automation · score 73
Install: claude install-skill devseunggwan/praxis
# Recover Sessions ## Overview Bulk recover Claude Code sessions after power loss or tmux server crash. **Core principle:** Claude Code conversations are safely persisted to disk as `.jsonl` files. Recovery = find saved sessions and arrange them in tmux panes. ## The Iron Law ``` RECOVERY IS NEVER DESTRUCTIVE. LIVE SESSIONS MUST NOT BE TOUCHED. ``` Recovery reads `.jsonl` files and re-opens them in new tmux panes. It must never: - Kill or replace any currently running tmux session - Overwrite or delete saved conversation files - Modify working directories — `cwd` is informational only ## When to Use - After a Mac power loss when all tmux sessions are gone - After tmux server crash that killed all running sessions - After reboot when previous work sessions need to be restored ## Prerequisites - `claude-recover` script bundled at `${CLAUDE_SKILL_DIR}/claude-recover`; no install step (`scripts/install.sh` can additionally symlink it into `~/.local/bin` for running the tool from a terminal — optional, not part of this skill's flow) - tmux installed (`brew install tmux`) - Any terminal app (Ghostty, iTerm2, Terminal.app — auto-detected) ## Process ### Step 1: Locate the Script `${CLAUDE_SKILL_DIR}` is the directory holding this SKILL.md, regardless of the current working directory, so every step below addresses the bundled script by that path. Confirm it resolves: ```bash "${CLAUDE_SKILL_DIR}/claude-recover" --help ``` ### Step 2: Interview — Recovery Scope Ask the