make-bot-ui
How to make a bot UI
Build a page the user clicks. A server on this computer turns each click into a line in your chat: it runs subagent poke, which wakes you in your Rex pane the way a finished worker does. Nothing leaves this machine, so there is no webhook URL or sender key to guard.
subagent is ../rex-subagents/scripts/subagent beside this skill's directory (the one your harness gave when it loaded this file, else ~/.claude/skills/make-bot-ui/ on Claude Code and ~/.agents/skills/make-bot-ui/ on Codex). Give the server its absolute path.
Find your pane
Run subagent whoami from your own shell. It records your pane and prints main_block. Store the absolute path of subagent and main_block in that UI's own directory. A wake reaches only the pane that ran whoami. Run it again from a new pane.
Host the page on this computer
Buttons POST to this local server. The server, not the browser, wakes you:
<absolute path of subagent> poke --main <main_block> '<one JSON object>'