bborn/session-keeper/skill
Claude Code and agent skill by bborn/session-keeper
- community
Checking that the SKILL.md file is still in the repository.
Bring back terminal/tmux/Claude sessions after a reboot or crash. Use when the user says "bring back my sessions", "restore my sessions", "what was I working on before the reboot", "rebuild my tabs", or has just restarted and wants their work back.
Install
npx vskill@latest install bborn/session-keeper/skillSKILL.md
Restore sessions after a reboot
session-snapshot runs every 10 minutes and records every tmux session, iTerm tab, and the exact Claude conversation open in each. session-restore brings back the ones you pick. Your job is to help pick.
Don't just restore everything. If they rebooted because a dozen agents had been open for weeks eating all their RAM, starting all of them again undoes the point. Nothing gets deleted either way, so anything skipped can still be resumed later.
Steps
- Read the snapshot:
`` session-restore --json ``
Each entry has name, running, age, detail (where it used to be, and its title), and exact_id (false means it resumes by directory instead of a specific conversation).
- Show a short table: name, age, what it was. Sort by age and point out the old ones — something open 3 hours is probably what they were doing, something open 22 days probably isn't. Don't overdo it, sometimes a long-running session is deliberate.
- Suggest a set and ask. Anything with
running: trueis already back.
- Restore what they pick:
`` session-restore --only name-one,name-two ``
--all exists, but prefer naming them so the transcript shows what happened.
- Tell them to attach with
tmux attach -t <name>. Dev servers (overmind start) aren't covered.
- If
taskyou.jsonin the snapshot dir lists anytask-ui-*sessions, tell them which TaskYou UIs were open and give them the commands the restore printed —cd <dir> && ty --task <id>. Don't try to recreate those tmux sessions yourself;tyowns them.
Notes
- Restores are idempotent — existing sessions are skipped, so re-running is safe.
needs_trust: truemeans that one comes up on Claude's "do you trust this folder?" prompt and waits. Tell them which ones, so they aren't left sitting there.exact_id: falsemeans that one usesclaude --continue, which reopens the most recent conversation in that directory. Fine if there was only one, worth mentioning if they seem to expect something specific.- Older snapshots:
session-restore --snapshot <dir> --list. The last 24 are kept. - If there's no snapshot, say so rather than trying to rebuild it by hand.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bborn/session-keeper/skill)