Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By NorthIsUpv0.1.2MITIn 1 marketplace
Save & auto-restore tmux sessions with Claude Code --resume per pane. Restores windows, panes, cwd, and re-launches each pane's previous claude session by id.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that saves your tmux session and resumes Claude Code per-pane on restart.
After a reboot (or tmux kill-server), every window/pane is restored to its
prior cwd, and any pane that was running claude is automatically
relaunched with claude --resume <session_id> — the same session it had
before, even when multiple panes in the same directory had different
sessions.
SessionStart and SessionEnd hooks
that write a marker file per tmux pane:
~/.cache/tmux-session-resume/panes/<session>__<window>__<pane>
containing the Claude session_id, the cwd, and a timestamp.post-save-all, claude-presave.sh walks every pane and
records (session, window, pane, cwd, session_id) rows for any pane with
a live marker whose recorded cwd still matches.post-restore-all, claude-postrestore.sh reads those rows
and sends claude --resume <id> into each pane (cwd is already correct
from resurrect).Keying by tmux pane location (not cwd) means multiple panes can have different Claude sessions in the same directory and each one resumes its own.
After enabling the plugin in Claude Code, run:
/tmux-session-resume-install
That will:
detect ~/.config/tmux/plugins/tmux-resurrect and tmux-continuum
(also checks ~/.tmux/plugins/ and ~/.local/share/tmux/plugins/), and
clone them under ~/.config/tmux/plugins/ if missing — no TPM needed;
splice a managed block into ~/.config/tmux/tmux.conf (or ~/.tmux.conf)
between markers:
# >>> tmux-session-resume >>>
...
# <<< tmux-session-resume <<<
Re-running the command refreshes the block in place. Anything outside the markers is untouched.
Reload tmux:
tmux source-file ~/.config/tmux/tmux.conf
/tmux-session-resume-install --uninstall
(or run bash ${CLAUDE_PLUGIN_ROOT}/install.sh --uninstall directly).
The cloned resurrect/continuum plugins are left in place — remove them
manually if you want to.
| Path | Role |
|---|---|
hooks/hooks.json | Registers SessionStart / SessionEnd hooks. |
scripts/tmux-claude-track.sh | SessionStart: write marker for this pane. |
scripts/tmux-claude-untrack.sh | SessionEnd: delete the marker. |
scripts/claude-presave.sh | resurrect post-save-all: snapshot live markers → claude.tsv. |
scripts/claude-postrestore.sh | resurrect post-restore-all: send-keys "claude --resume <id>" per pane. |
tmux/tmux-session-resume.conf | Template for the managed block (placeholders substituted by install.sh). |
install.sh | Idempotent installer/uninstaller. |
~/.cache/tmux-session-resume/panes/~/.cache/tmux-session-resume/claude.tsv$TMUX_SESSION_RESUME_STATE.~/.local/state/tmux-resurrect/Stop/SessionStart flow assumes the Claude binary is claude on
PATH; claude-postrestore.sh falls back to a few common install locations.cd away from the project before tmux saves, the resume is skipped
intentionally — old session in wrong dir is rarely what you want.@resurrect-processes so
resurrect doesn't blindly relaunch claude/node without the resume id.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub northisup/skillz --plugin tmux-session-resumePlugins from other owners that cover similar ground