Show HN: Tmux-restore saves tmux windows and agent sessions across reboots

NewToolsgithub.com

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

More Tools finds

All Tools websites →

Feeling lucky? Try the random website generator.

Where people went next

Nobody has added a next stop yet. Be the first.

Five finds like this, every morning

Five great websites every morning, picked by people and written up by AI. Free, and one click to stop.

Remember Me
Scroll to Top

More

📰 Latest Posts
📊 Community Stats
👋 New Members
👥 Popular Groups