fazxes

Rex Durable — Development skill for Claude Code

Development community

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:

  1. Finds Rex's rex command. 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.
  2. Copies durable.lua to ~/Library/Application Support/rex-durable/ on macOS, or ~/.local/share/rex-durable/ on Linux.
  3. Starts it as a login service: a launchd agent on macOS, a systemd user service on Linux.
  4. Adds command palette actions (rex_durable.lua in your Rex config folder). --add-to-config also loads them from init.lua for 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