Highlights
- One folder per chat, with the conversation as Markdown, every file version, every screenshot and a byte-exact transcript
- Save and import commands answered by hooks, never by the model, so they cost no tokens
- Restored sessions continue with
claude --resumeand full context, and a live transcript is never overwritten - Python standard library only, tested on macOS and Linux in CI
Claude Code deletes CLI and VS Code transcripts after 30 days by default, files them by folder path, and stores them as raw JSON. This plugin copies every chat into a folder you can read, search and back up.
Hooks capture each file right after an edit, before anything can change it, and copy only the new part of the transcript on each save. Saves after a reply are throttled, so an archive in Google Drive or iCloud does not re-upload on every turn. Errors are logged and never block a turn.
/session-archive:import puts archived sessions back where Claude Code expects them, including subagent transcripts and file history, so rewind still works.
It can also restore sessions from a backup or another machine’s .claude folder.