rex-activity

Every coding agent running in Rex, at a glance, in a terminal pane.

One pane that shows what's going on outside the session you're in. Agents that need you come first, with what they're waiting on. Next come the ones that are working, each with a meter for how full its context window is, and finished agents come last. Claude's 5-hour and weekly plan usage sits at the top, because every agent on the account shares it.

Activity in a narrow pane: plan usage, two agents that need you, three working with context meters, one done

It covers Claude Code and Codex on this machine and on every Rex host you're connected to. It's drawn in the pane's own colours, so it follows your Rex theme, and because it's a pane it shows up in Rex on the iPad and iPhone too. In a wide pane, what needs you gets a column of its own:

Activity in a wide pane, in two columns

Also in the pane

  • Weather from Open-Meteo (free, no key): conditions, high and low, wind, rain chance and the next few hours. Set your place once with rex-activity weather "Portland, Oregon".
  • Rex hosts: the Rex version on this machine and each host, and whether a newer one is out. Where a host allows it, Upgrade and Restart list exactly what they'll do, and nothing runs until you confirm.

Install

You need Go 1.27 or later and Rex.

git clone https://github.com/travelingflwr/rex-activity
cd rex-activity
make install            # builds ~/.local/bin/rex-activity
rex-activity show       # opens it in a pane beside yours

rex-activity rex-install adds Activity: Toggle Pane, Toggle Floating Window and Open in a Tab to Rex's palette. --remove takes them out again.

Plan usage and exact context size

Claude Code passes both to its status-line command. Put rex-activity statusline in front of yours in ~/.claude/settings.json. Your status line looks the same, and Activity gets the numbers:

{
  "statusLine": {
    "type": "command",
    "command": "rex-activity statusline bash ~/.claude/statusline.sh"
  }
}

Using it

  • Click a card to jump to that agent's pane.
  • Tabs (or 1–4) filter to what needs you, what's working, or what's done.
  • j / k or the wheel scroll; q closes it.

Where each number comes from, and what's not done yet: the README on GitHub.