plannotator-rex-browser is a tiny PLANNOTATOR_BROWSER target that opens agent reviews in a Rex split right next to the agent.
| Component | Role |
|---|---|
| Plannotator (GitHub ) | Review UI for agent plans, diffs and replies; sends the feedback back to the agent |
| Rex by Superlogical | Terminal and multiplexer; hosts the agent and the review split |
| terminal-browser (GitHub ) by Zenbu Labs | Chromium rendered inside a terminal pane |
plannotator-rex-browser (this gist) |
Decides where the review page opens |
ββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββ
β Agent β 1. /plannotator-last β Plannotator plugin β
β e.g. Claude Code βββββββββββββββββββββββββΊβ + review server β
β in a Rex pane ββββββββββββββββββββββββββ (localhost) β
β β 5. feedback in chat β β
ββββββββββββββββββββββββ ββββββ¬ββββββββββββββββββββββββ΄ββββ
β 2. runs β²
β $PLANNOTATOR_BROWSER β
βΌ β
ββββββββββββββββββββββββββββ β
β plannotator-rex-browser β β 4.
β (this gist) β β Send
ββββββ¬ββββββββββββββββββββββ β
β 3. rex split β
β -b $REX_BLOCK β
βΌ β
ββββββββββββββββββββββββββββββ΄ββββ
β terminal-browser β
β split next to the agent β
β you annotate, press Send β
ββββββββββββββββββββββββββββββββββ
The result in Rex:
ββββββββββββββββ Rex window ββββββββββββββββ
β agent pane β terminal-browser β
β (e.g. Claude Code) β Plannotator review β
ββββββββββββββββββββββ΄ββββββββββββββββββββββ
Rex sets REX_BLOCK in every pane, so the split opens next to the agent that asked, and focus stays there. The page sends your feedback to the review server directly; Plannotator's auto-close after Send closes the page, and with it the split.
Where the page opens:
| Where it runs | What it does |
|---|---|
| In Rex, with terminal-browser installed | Split to the right of the agent's pane |
| In Rex on a remote host, without terminal-browser | rex open : the Rex app forwards the port and opens the review in your local default browser |
| Outside Rex | System browser ( open on macOS,xdg-open on Linux) |
mkdir -p ~/.local/bin
curl -fsSLo ~/.local/bin/plannotator-rex-browser https://gist.githubusercontent.com/iliferov/bd6e55a4ee3c48ad4ac0bd5f8e130f2f/raw/plannotator-rex-browser
chmod +x ~/.local/bin/plannotator-rex-browser
Read the script before you run it; it is about 30 lines.
Then set the variable once for every shell, so every agent picks it up:
export PLANNOTATOR_BROWSER="$HOME/.local/bin/plannotator-rex-browser"
Restart your agent from a new shell, then start a review, for example /plannotator-last in Claude Code.