{"slug": "show-hn-status-pane-steer-your-ai-agent-s-plan-in-real-time-via-terminal-pane", "title": "Show HN: Status Pane – steer your AI agent's plan in real-time via terminal pane", "summary": "Developer Naorlov released Status Pane, an MIT-licensed tool that gives a Claude Code session a live Markdown plan file rendered in a terminal pane beside the agent, letting users type steering requests that are queued and picked up at the end of the current turn or immediately if the session is idle. A Stop hook, hooks/status-gate.py, blocks a turn from ending when the status file is stale after non-reading tool calls, when the inbox holds requests, when nothing will deliver later requests, or when steps contradict themselves. The tool requires Python 3.8 or newer, works in any terminal multiplexer such as tmux or Rex, and adapters for pi, opencode and Codex are listed as planned.", "body_md": "A coding agent works for minutes at a time, and its plan lives only in a scrolling transcript. You can't see at a glance where it is, what it's waiting on you for, or what comes next, and steering it means interrupting.\n\nstatus-pane gives an agent session a live plan you can see and talk to. The agent keeps a short Markdown file with the goal, what waits on you, and a checklist of steps. A terminal pane beside the session redraws it whenever it changes. Type a request into the pane and it is queued for the agent: picked up at the end of the current turn, or at once if the session is idle. A hook keeps the agent honest: a turn can't end while the plan is stale or contradicts itself.\n\n<sub>The recording replays a scripted session; run `vhs demo/demo.tape` ([vhs](https://github.com/charmbracelet/vhs)) to regenerate it.</sub>\n\nWorks today with Claude Code, in any terminal multiplexer (tmux, Rex, a second terminal\nwindow). Needs Python 3.8 or newer, so the `python3` that ships with macOS is enough. MIT licensed.\n\n```\ncurl -fsSL https://raw.githubusercontent.com/naorlov/status-pane/main/install.sh | sh\n```\n\nThe script clones the repo to `~/.local/share/status-pane` (set `STATUS_PANE_DIR` to change\nthat), links the viewer and hook into `~/.claude`, registers the hook in\n`~/.claude/settings.json`, appends [` instructions.md`](https://github.com/naorlov/status-pane/blob/main/instructions.md) to\n`~/.claude/CLAUDE.md`, and installs the `status-pane-inbox` plugin. Running it again updates\nthe clone and skips what's already in place.\n\nThen ask the agent to \"watch the status\" and open the pane beside it, for example\n`tmux split-window -h ~/.claude/bin/status-pane <session id>`. With no session ID, the viewer\nfollows the most recently updated status file.\n\nIn [Rex](https://www.superlogical.com/rex), `rex/claude-with-status.lua` defines an action\nthat starts Claude Code in the focused pane and opens its status pane to the right. If the\npane already runs a session, for example after you closed its status pane, it only reopens\nthe status pane. Load it in `~/.config/rex/init.lua`, bind a key, and run\n`rex config reload`:\n\n```\ndofile(os.getenv(\"HOME\") .. \"/.local/share/status-pane/rex/claude-with-status.lua\")\n\nrex.bind(\"cmd+u\", \"claude_with_status\")\n```\n\n<sub>A real Claude Code session in Rex, played at 3× speed.</sub>\n\nThe viewer and the file format don't depend on the agent. Each agent needs a small adapter for the end-of-turn check and for waking an idle session with a request.\n\n| Agent | Status | End-of-turn check | Wakes an idle session | \n|---|---|---|---|\n| Claude Code | works | Stop hook | `status-pane-inbox` plugin | \n| [pi](https://github.com/earendil-works/pi) | next | extension on `agent_before_settle` | the extension sends the request as a message | \n| [opencode](https://github.com/anomalyco/opencode) | after pi | no hook can stop a turn ending; the plugin re-prompts the agent on `session.idle` | plugin on `session.idle` | \n| Codex | after opencode | Stop hook | no way yet | \n\n- `bin/status-pane <session id>` is the viewer, written with Python's curses. It shows`~/.claude/status/<session id>.md` and folds finished steps into one line. It scrolls with\nthe mouse wheel and PgUp/PgDn. A line you type is appended to`<session id>.inbox` , ↑/↓\nbring back earlier lines, and a half-typed line survives closing the pane. The viewer takes the\nmouse to read the wheel, so hold Shift while dragging to select and copy text, as in most\nterminals.\n- `hooks/status-gate.py` is a Stop hook. Once a session has a status file, the hook blocks the\nend of a turn when:\n  - the turn did more than read files and the status file wasn't rewritten after the turn's last non-reading tool call;\n  - the inbox holds requests, which the hook then hands to the agent and removes from the inbox;\n  - nothing will deliver later requests (neither the plugin nor `status-pane-inbox-wait` is running);\n  - the steps contradict themselves: more than one top-level step is `[>]` , a step isn't`[x]` although all its substeps are, or a step is`[x]` while a substep is still`[>]` . The viewer\nmarks such steps with a red`!` .\n- `plugin/` is the`status-pane-inbox` plugin. It hands what you type in the pane to the\nsession as a prompt the moment the session is idle.\n- `bin/status-pane-inbox-wait <session id>` does the same without the plugin: it exits as soon as the\ninbox has something in it, printing the requests. Run as a background command, its exit\nwakes the session.\n\n`tests/test_viewer.py` runs the viewer inside tmux as an `xterm-256color` terminal, sends it\nkeys, wheel turns, clicks and drags, and checks the screen. It needs tmux:\n\n```\nuv run --no-project --with pytest pytest tests\n# Goal\nOne line.\n\n# Waiting on you\n- A question or decision for you\n  - An option, nested under it\n\n# Steps\n- [x] Done\n- [>] Current\n  - [ ] A substep\n- [ ] Planned\n```\n\nChecked on 5 December 2026 with Python as each system packages it. The viewer draws the status, the mouse wheel scrolls it, typing queues a request, and the hook blocks a contradictory plan.\n\n| System | Version | Python | ncurses | \n|---|---|---|---|\n| macOS | 27 (built-in `python3` ) | 3.9.6 | 6.0 | \n| macOS | 27 (Homebrew) | 3.15.2 | 6.0 | \n| Ubuntu | 20.04, 22.04, 24.04, 26.04 | 3.8.10, 3.10.12, 3.12.3, 3.14.4 | 6.2, 6.3, 6.4, 6.6 | \n| Debian | 12, 13 | 3.11.2, 3.13.5 | 6.4, 6.5 | \n| Fedora | 41, 44 | 3.13.9, 3.14.10 | 6.5, 6.6 | \n| Rocky Linux | 8 ( `python39` package), 9 | 3.9.25, 3.9.25 | 6.1, 6.2 | \n| AlmaLinux | 10 | 3.12.16 | 6.4 | \n| Alpine | 3.20, 3.22 | 3.12.13, 3.12.16 | 6.4, 6.5 | \n| Arch Linux | rolling | 3.14.10 | 6.6 | \n\nNot supported: Rocky Linux 8's default `python3` (3.6). Not tested: Debian 11 (its packages\nmoved to the archive) and openSUSE Leap 15.6 (installing Python there hung).", "url": "https://wpnews.pro/news/show-hn-status-pane-steer-your-ai-agent-s-plan-in-real-time-via-terminal-pane", "canonical_source": "https://github.com/naorlov/status-pane", "published_at": "2026-12-05 19:55:52+00:00", "updated_at": "2026-12-05 20:15:52.183539+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-products"], "entities": ["Status Pane", "Claude Code", "Naorlov", "tmux", "Rex", "pi", "opencode", "Codex"], "also_reported_by": [], "takeaway": "Status Pane's Stop hook blocks a Claude Code turn from ending when the status Markdown file wasn't rewritten after the turn's last non-reading tool call, so the agent's plan stays current.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-status-pane-steer-your-ai-agent-s-plan-in-real-time-via-terminal-pane", "markdown": "https://wpnews.pro/news/show-hn-status-pane-steer-your-ai-agent-s-plan-in-real-time-via-terminal-pane.md", "text": "https://wpnews.pro/news/show-hn-status-pane-steer-your-ai-agent-s-plan-in-real-time-via-terminal-pane.txt", "jsonld": "https://wpnews.pro/news/show-hn-status-pane-steer-your-ai-agent-s-plan-in-real-time-via-terminal-pane.jsonld"}}