Ccstay — Development skill for Claude Code
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)

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
Related Skills
Reframe
Keep your Claude Code sessions side by side in one window: tile and group them, take over the ones running in
Herdr Undo Close
Reopen the pane you just closed in Herdr: same split, same scrollback, Claude Code conversation included
Fleet Resume
Bring a fleet run back after the machine died - reopen the workers whose context survived, respawn the ones wh
Pane Resume
Put your agents back in the panes they were in. After a Mac restart, Warp and Superset restore your panes as i
Prompt Fidelity
Prompt: Close the vLLM metric-surface gap, and keep it closed
Lidwake
LidWake: keep a MacBook running with the lid closed and no external monitor until Claude finishes, the battery
Related Agents
9remote
Long-running AI coding sessions keep working after you leave the desk, but checking on them from a phone usual
Docker Debugger
Use this agent when Docker containers crash, restart in a loop, fail healthchecks, lose volumes, or config val
Habit Coach
Reads how the learner has actually been working (hours, sessions, reviews against new material, accuracy by ti