Rex Durable — Development skill for Claude Code
Keep the programs in your Rex tabs across server restarts and reboots.
How to install Rex Durable
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open fazxes/rex-durable and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Rex Durable does
Keep the programs in your Rex tabs across server restarts and reboots. fx, Claude Code, and Codex chats reopen on their own conversation.
Alternatives in Development
- Claude Supermemory — Persistent memory across sessions and projects using Supermemory 2.3k ★
- Claude Historian — An MCP server for Claude Code conversation history 217 ★
- Source Agents — Keep AGENTS.md and CLAUDE.md in sync across your projects 124 ★
README
rex-durable
Keep the programs in your [Rex](https://www.superlogical.com/rex) tabs across server restarts and reboots.
Rex saves your sessions, tabs, and splits when its server stops, and restores them when it starts again. The programs that were running in them don't come back: every tab returns as an empty shell. rex-durable remembers what was running in each tab and puts it back.
| Running in the tab | After a restart |
|---|---|
| fx chat | Reopens on its conversation: fx --resume |
| Claude Code chat | Reopens on its conversation: claude --resume |
| Codex chat | Reopens on its conversation: codex resume |
| Any other program | Typed at the prompt, not run. Press Enter if you want it. |
| Plain shell | Left alone |
Chats keep their options, such as `--model`, and come back in the same tab, split, and folder.
Install
git clone https://github.com/fazxes/rex-durable
cd rex-durable
./install.sh --add-to-config
The installer:
- Finds Rex's
rexcommand. On macOS it uses the copy Rex keeps up to date in~/Library/Application Support/com.superlogical.rex/RexServer/Versions/Current/, so Rex updates don't break it. - Copies
durable.luato~/Library/Application Support/rex-durable/on macOS, or~/.local/share/rex-durable/on Linux. - Starts it as a login service: a launchd agent on macOS, a systemd user service on Linux.
- Adds command palette actions (
rex_durable.luain your Rex config folder).--add-to-configalso loads them frominit.luafor you. Without it, the installer prints the one line to add.
Run `./install.sh` again to update. Use `--no-service` to install the files without the service, or `REX=/path/to/rex ./install.sh` to choose the `rex` command.
Requirements: Rex for Mac, or the Rex server on Linux, recent enough to have the Lua API's `rex.exec`, `rex.json`, `rex.every`, and `rex.on`. The installer checks this. You also need `lsof`, or `/proc` on Linux.
Using it
Ther
Related Skills
Herdr Suspender
Herdr App mod: put idle Claude Code and Codex agents to sleep, wake the same conversation in the same tab. Ses
Lc Profile Sync
Open LinkedIn profile-edit tabs for en-US and pt-BR side-by-side so the operator can keep the profile in parit
Ccstay
Never lose a Claude Code session (probably). Keep sessions running after you close the terminal, get them back
Claude Buddy
🐾 A pixel-art desktop pet for your Claude Code sessions: browse, search and read every local session, keep ch
Herdr Undo Close
Reopen the pane you just closed in Herdr: same split, same scrollback, Claude Code conversation included
Session Deck
Every Claude Code conversation on your PC, one click away. Unofficial Windows companion app: reopen app & CLI
Related Agents
Horizon
You are Horizon, the supervisor for long-running work. You keep a durable plan and drive it one feature at a t
Dev Server
Dev server agent — starts, monitors, and auto-restarts local development servers
Sm Orchestration
Owner of the Orchestration part. A senior conductor chat per project that sees the whole map, hands focused wo