一键导入
restore
Restore claude/codex agents from a tmux-reboot snapshot after tmux-resurrect reopens their windows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Restore claude/codex agents from a tmux-reboot snapshot after tmux-resurrect reopens their windows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Snapshot running tmux claude/codex agents immediately before a reboot so their sessions can be restored afterward.
Commit changes, run git-test precommit checks, and fix failures. Use when asked to fix build, test, lint, typecheck, or precommit failures.
Running precommit checks and build validation. ALWAYS use after ANY code changes.
This skill should be used after completing any task, before returning control to the user. Always run this skill — it handles the case where there's nothing to do.
Coordination guidelines for leading a team of task-executing agents
Workflow guidelines for team members executing tasks
| name | restore |
| description | Restore claude/codex agents from a tmux-reboot snapshot after tmux-resurrect reopens their windows. |
After a reboot, tmux-resurrect reopens the windows and working directories. Resume the agents that
were running in them from the snapshot written by /tmux-reboot:snapshot.
Preview the plan first:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/restore.py .llm/resume-after-reboot-state.md
Show the user the list of windows and resume commands. Once they confirm, fire them:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/restore.py .llm/resume-after-reboot-state.md --go
The window running the script is fired last so the restore is not interrupted mid-run. Each command is sent with a trailing Enter, so the user does not press return themselves — the script both pastes and runs every resume line.
Alongside claude/codex agents, the snapshot may hold command rows (dev servers and watchers
like just dev). These are re-run the same way. Point them out before firing, since re-running a dev
server rebinds its port.
Verify rows that use claude --continue or codex resume --last; these fallbacks mean the snapshot
could not match an exact transcript. If a resumed session opens the wrong conversation because one
working directory held multiple agents or an idle Codex transcript had a stale modification time,
run codex resume or claude --resume manually in that window and use the interactive picker.