Terminal Workspace Snapshot — AI skill for Claude Code
Never lose your Claude Code or Codex tabs again.
How to install Terminal Workspace Snapshot
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open REMvisual/terminal-workspace-snapshot and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Terminal Workspace Snapshot does
Never lose your Claude Code or Codex tabs again. Snapshot and restore AI coding sessions as color-coded Windows Terminal tabs -- and recover what was open before a crash.
Alternatives in AI
- TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★
- Iai Personal Memory Engine — A cyber brain for your AI 866 ★
- Openclaw Backup — One-click backup & restore for OpenClaw instances — workspace, credentials, skills, agent history 660 ★
README
[](https://github.com/REMvisual/terminal-workspace-snapshot/releases/latest) 
terminal-workspace-snapshot
**Save and restore your Claude Code and OpenAI Codex CLI terminal sessions on Windows.**
Snapshots every open AI coding agent tab -- its session ID, project directory, git branch and tab title -- and brings the whole workspace back in Windows Terminal after a reboot, a crash or a power cut. One command each way, both agents in the same snapshot.
It also recovers what was open *before* an unexpected shutdown, not just what is running now: the real crash time is read from the Windows event log and cross-referenced against the last snapshot taken before the machine went down.
Why This Exists
You run multiple Claude Code (and now OpenAI Codex CLI) sessions across different projects. You restart your machine. Now every tab is gone. The built-in `claude --resume` / `codex resume` commands exist, but they need session IDs you have to dig out of a wall of text. For each session. One at a time.
This tool fixes that. Two scripts. One saves your workspace, the other brings it back.
Before / After
BEFORE: Restart -> lose 15 tabs -> manually find UUIDs -> type claude --resume for each one
AFTER: Restart -> double-click restore.bat -> all tabs back in 5 seconds
Quick Demo
1. Work across multiple projects in Claude Code
2. Before shutdown: run snapshot.bat
3. After restart: run restore.bat -> everything's back
That's it. Your sessions come back in the right directories, with
Related Skills
Unsent
AutoRecover for your AI agent prompts: never lose a half-written Claude Code message to a crash, a closed wind
Memctx
Autonomous session memory for Claude Code. Never lose context, never repeat yourself. AI-powered summaries, se
Oh My Fable
oh-my-fable — Fable 5's way of working a long task (plan first, self-correct, never lose the thread), as a mod
Agent Beacon
🛰️ Real-time presence & collision-avoidance for parallel AI coding agents. See what every Claude Code / MCP a
Evermind AI Agent Memory
Evermind: cross-session memory recovery for AI agents. Your agent never cold-starts again - always-loaded iden
Base
AI builder operating system. Turn Claude Code from a per-session tool into a workspace that remembers, maintai
Related Agents
Docker Debugger
Use this agent when Docker containers crash, restart in a loop, fail healthchecks, lose volumes, or config val
PM Logic Review
Read-only correctness reviewer for Product Masters LMS diffs. Finds the input/edge case that makes the logic p
Battlefield Reviewer
Use when reviewing changes under resources/js/battlefield/ (the Phaser game — scene, snapshot, leaderboard, pr