Show HN: Tmux-restore saves tmux windows and agent sessions across reboots
Reboot-proof tmux: every session, layout and scrollback comes back, and Claude Code, Codex, Gemini CLI, opencode and pi reopen the conversations they were in. - andrewboldi/tmux-restore
Quick read
A GitHub project that saves and restores tmux sessions, windows, panes, layouts and scrollback across reboots. It also reopens agent conversations (Claude Code, Codex, Gemini CLI, opencode, pi) so agents resume where they left off.
- Auto-saves sessions every minute and at shutdown
- Restores panes, directories, layouts and scrollback
- Reopens supported agents at their previous conversation state
Reactions
No reactions yet. Record a short about this link and it shows up here, in Reels and in the community feed.
Is github.com your site? Sign in to verify it and get a Verified badge, full stats and a link-back badge.
A closer look at Show HN: Tmux-restore saves tmux windows and agent sessions across reboots
What this repository does
tmux-restore makes tmux sessions survive reboots: sessions, windows, pane splits, working directories and scrollback are saved and restored when tmux starts.
It also specially handles certain coding agents (Claude Code, Codex, Gemini CLI, opencode and pi) so each agent reopens the exact conversation it was in, resuming mid-conversation with the same flags.
How it actually works
It builds on tmux-resurrect and tmux-continuum to record tmux state every minute and once more at shutdown via a background service (systemd on Linux, launchd on macOS).
For panes running supported agents, a small adapter finds the conversation id in the agent's session files and saves the command needed to resume it; on restore the agents reopen their conversations. Editors and monitors are restarted, while other commands are restored typed on the prompt waiting for Enter.
Installation approach and extensibility
The repository can install missing pieces (tmux, TPM, the plugins) and enable the behavior; running the installer again updates it. Manual installation is also an option.
If you use a different agent, the project expects adapters are simple to add - one short file - and points to CONTRIBUTING.md for guidance.
Questions people ask about Show HN: Tmux-restore saves tmux windows and agent sessions across reboots
- Which parts of my tmux session will come back after a reboot?
- Sessions, windows, splits, working directories and scrollback are restored; panes running supported agents reopen their conversations.
- Will my running programs be restarted exactly as before?
- Editors and monitors are restarted; other commands are restored as typed on the prompt and wait for Enter rather than being re-run automatically.
- Can I add support for an agent not listed?
- Yes, the project notes adapters for other agents are one short file and refers contributors to CONTRIBUTING.md.
Show HN: Tmux-restore saves tmux windows and agent sessions across reboots was shared on NexURLs by NexURLs on November 8, 2026, in Tools.
What we found on this site
- Google safety check
- No threats found
From public records. See how the rest of the web compares in the NexURLs Internet Report.
Quick answers
What is Show HN?
Show HN (github.com): A GitHub project that saves and restores tmux sessions, windows, panes, layouts and scrollback across reboots. It also reopens agent conversations (Claude Code, Codex, Gemini CLI, opencode, pi) so agents resume where they left off.
Who shared Show HN on NexURLs?
It was shared by NexURLs in November 2026. Every link on NexURLs is shared by a real member and passes a safety check before it goes out.
What are some sites like Show HN?
Members found these close to it: CursorFollow, Offrun, Unattended reboots with encrypted disks. The full list is on this page under Sites like Show HN.
Sites like Show HN
- CursorFollow - Share One Window in Meetingsgithub.com
CursorFollow allows you to share a single window in meetings that automatically follows your active work. It's useful...
- Offrun - manage every coding agent from one workspaceoffrun.dev
Offrun is a free Mac app that runs multiple coding agents (Claude Code, Codex, Antigravity, Grok Build, Muse Code)...
- Unattended reboots with encrypted disksjmmv.dev
A blog post introducing ZKeys, a service that stores half of disk encryption passphrases off-site so client machines...
- OMNI CONTROL - Experimental Windows Mouse Utilitygithub.com
OMNI CONTROL is a lightweight Windows mouse configuration utility. Users can experiment with DPI and polling-rate...
- 🧠 Hookr MCP server is live. Now Agents can use Hookr over MCP. Docs: exposes 11 tools: finhookr.fun
- KiwiDesk - Community Project Updatekiwidesk.kiwicanopy.com
KiwiDesk is a window manager for Mac that organizes your open apps. It's designed to simplify window management...
More Tools finds
- Open source and self-hostable project management alternative to Jira, Linearalternativeto.net
- If you design with AI, save this 1modulify.ai
- Winamp and other media players, rebuilt for the web with Web Componentsplayer.style
- A Maintainer's Advice on Contributing to Open Source in 2026wasp.sh
- How we continuously validate formal specifications in productiondatadoghq.com
- Collaborative drawing and writing tooleavesdraw.com
Feeling lucky? Try the random website generator.
Where people went next
Nobody has added a next stop yet. Be the first.