[KongchangAI]
Product

termstash

An open-source, small CLI tool for recovering Claude Code sessions lost after a terminal is accidentally closed. It supports two usage modes: running directly via npx and installation as a Claude Code plugin.

Timeline (last 90 days)

Oct 18

termstash is an open-source tool built by developer kbuksakowski for recovering the most recent Claude Code session after a terminal is accidentally closed.

Unverified50%
Oct 18

termstash can be run directly with the `npx termstash last` command with no installation step, listing recent Claude Code sessions and giving a command to resume them.

Unverified50%
Oct 18

termstash can be installed as a Claude Code plugin with the command `/plugin install termstash --marketplace kbuksakowski/termstash`.

Unverified50%
Oct 18

After installing the termstash plugin, users can trigger the recovery flow by telling Claude "I lost my session", and the plugin will locate the lost session and return the command to re-enter it.

Unverified50%
Oct 18

termstash solves session "recovery" rather than "prevention": it does not stop the terminal from being closed, nor does it persist session state in real time or provide cross-device sync.

Unverified50%
Oct 18

termstash is free and open source, with its code hosted on GitHub (kbuksakowski/termstash).

Unverified50%

All Facts (6)

Source Articles