session-saver

Reviewed at commit e839261 New version, not yet reviewed

Names untitled sessions through unpause. /park saves where you left off, and a resumed session shows it.

Made by
Hamza Zafar
What we checked

After the second turn, asks Haiku on your own account to name an untitled session and sets that name through the separate unpause tool. /park saves a short summary of where you left off, and a resumed session shows it above the prompt. It stores these notes locally, reads its own band-order file and makes no other network calls.

Review details

Static review of the source at the pinned commit; not run. Delta review of the changes since e5e239d; the rest carries over from the review at that commit. Registers session.start, classic.SessionStart, prompt.submit, turn.complete, command.run (/park) and ui.render (AbovePrompt). Uses $.model.complete with the haiku model: the first three user messages (500 characters each) to name the session, and the last 12 messages (600 characters each) for /park. Runs `unpause list --json` and `unpause rename <id> <name>` with fixed arguments (the name is reduced to lowercase letters, digits and hyphens). Stores the last prompt (80 characters), park summaries and a named flag with $.store.set, keyed by session id. New in this version: hooks/bands.ts and a read of <configDir>/claude-code-mods/bands.json (CLAUDE_CONFIG_DIR or HOME/.claude through $.env.get, $.fs.exists, $.fs.read), parsed as a JSON list of names, cached per session, empty on error; the resume band is stacked with other band mods' bands. No other behaviour changed.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): yes
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of session-saver
Made this mod? Add a badge to your README

modsforClaude badge for session-saver

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/session-saver.svg)](https://modsforclaude.com/mods/session-saver/)

← All mods