ttcat

Ccstay — Development skill for Claude Code

Development community

Never lose a Claude Code session (probably).

How to install Ccstay

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ttcat/ccstay and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Ccstay does

Never lose a Claude Code session (probably). Keep sessions running after you close the terminal, get them back after a restart, sleep idle ones, reopen closed ones, from your phone too.

Alternatives in Development

  • Epic Unblock — Sweep blocked epic issues and reopen anything whose dependencies are closed 243.5k ★
  • Overnight PRs — Autonomous overnight loop — verify issues against the codebase, close stale ones, ship PRs through /ship (bug 324 ★
  • Reset To Ideation — Roll back plugin to ideation stage - keep idea/mockups, remove all implementation 209 ★

README

ccstay: never lose a Claude Code session (probably)

**Keep [Claude Code](https://claude.com/claude-code) sessions running after you close the terminal, and get them back after you restart your Mac. ccstay is a session manager that also sleeps idle sessions to free memory and reopens closed ones, even from your phone.**

[繁體中文](README.zh-TW.md)

![ccstay keeping sessions through a closed tab and a restart, sleeping idle ones and reopening closed ones](docs/demo.gif)

The ccstay phone page in the Bento theme: each session is a small food with a face The ccstay phone page in the Desk Mates theme, in dark mode

Why ccstay

If you run many Claude Code sessions at once, you know these problems:

Problem What ccstay does
You close a terminal tab and the Claude Code session ends with it The session keeps running on a private tmux server. You never see tmux: no status bar, no prefix key, and your own tmux setup is left alone.
You restart your Mac and lose track of what was open, and in which folder ccstay restore brings back what was running, in the same windows and tab order. Asleep sessions stay asleep.
A dozen idle sessions hold memory Sleep turns a session of 100 MB or more into an idle shell of about 3 MB. The tab stays; press Enter to resume the same conversation. Sessions idle for 24 hours sleep on their own.
You closed a session and can't find it again Every session keeps a record. ccstay closed searches by title or folder and ccstay reopen brings it back.
You are away from your computer Do all of this from the Claude app through Remote Control.

No daemon. Needs only Python and tmux.

One session is also worth more than it used to be. Anthropic now suggests [folding subagents into one agent loop](https://claude.com/resources/articles/building-agents-when-to-fold-subagents-into-your-main-ag