REMvisual

Terminal Workspace Snapshot — AI skill for Claude Code

AI community

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

terminal-workspace-snapshot -- save and restore Claude Code and OpenAI Codex CLI terminal sessions on Windows

[![Download Latest](https://img.shields.io/github/v/release/REMvisual/terminal-workspace-snapshot?style=for-the-badge&label=Download&color=blue)](https://github.com/REMvisual/terminal-workspace-snapshot/releases/latest) ![Views](https://komarev.com/ghpvc/?username=REMvisualterminal-workspace-snapshot&label=Views&color=brightgreen&style=for-the-badge)

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