/psf-monitor:monitorfrom psf-monitor
Open a live local view of pstack work on this machine: every session that runs pstack as a tree of the pstack skills it ran, which skill started which, and the native subagents and external Codex, Grok, DeepSeek, and MiniMax lanes each skill launched, with each step's model, what it is doing now, its final response, and a button to cancel a running lane. Also stops it. Use for /monitor, 'show me the agents', 'what is running', watching an arena, swarm, or interrogate fan-out, or 'stop / kill / shut down the monitor'.
Ships in psf-monitor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run one command and relay its output.
| The user asks to | Run |
|---|---|
| open, show, or start the monitor (the default) | psf-monitor start --parent <claude|codex|opencode> |
| stop, kill, close, or shut down the monitor | psf-monitor stop |
| check whether it is running, or get the link again | psf-monitor status |
| list pstack's skills, providers, model roles, or settings, or ask whether DeepSeek, MiniMax, or another provider is ready | psf-monitor setup |
| list recorded lanes, or delete one or all of them | psf-monitor journal list, psf-monitor journal rm <lane id>, psf-monitor journal clear |
The launcher is <base directory>/../../bin/psf-monitor, where <base directory> is this skill's base directory as an absolute path. Run it by that absolute path, never as a path relative to the current directory. Pass the harness you are running in as --parent.
start returns at once and prints one link. Give the user that link exactly as printed. The link carries an access token: never paste it anywhere else, and never open it with a fetch tool.
The monitor is global across projects in the configured harness directories, not scoped to the current repository. --parent and --focus only select the initial view. If a monitor is already running, start reports that on stderr and returns its link; relay both. Do not launch another server or change PSF_MONITOR_DIR to bypass it. A different requested port, history window, or installed build does not replace the running monitor; stop and start it explicitly when those must change.
OpenCode native sessions are read from its local SQLite database, including child sessions and OpenCode runner lane output. Messaging supports Claude Code and Codex only.
The page lists pstack sessions by default. A session counts as pstack once it runs a pstack skill or command, spawns a pstack agent, or launches a pstack lane. The select above the session list switches to other sessions or all sessions; a link can open that way with &scope=all. The user can hide a session from its panel; it returns when active again, or when they click Reset all in the top bar.
The first start also turns on pstack's lane journal and says so on stderr. Relay that line: lane output is kept on disk for 7 days, and psf-monitor journal off stops it and deletes what it kept. journal clear deletes the records and keeps recording; journal rm <lane id> deletes one. The page lists and deletes them under Setup → Journal. Deleting or clearing is irreversible: confirm with the user before running rm, clear, or off unless they named the action themselves.
stop ends the monitor only, never an agent. To cancel a running pstack lane, the user clicks Cancel in that lane's panel on the page. To stop a Claude Code, Codex, or OpenCode session, the user interrupts it in its own terminal.
setup prints which providers can run a lane and what stops the others; it reports whether an API key is set, never the key. It also prints the model sheets for the current project and the global ones. The page shows the same under Setup, with the commands that store and load a missing key.
Under Setup → Model roles the user can pick a project's sheet or the global one and change which model and effort each role runs on, move every lane to one model, or create and delete a project sheet. The monitor validates against the installed matrix but does not probe models; a sheet it wrote shows not probed. When the user wants a lane proven, or wants a global sheet created, point them to /pstack:setup-pstack.
psf-monitor doctor reports how well recent transcripts parsed. Run it when the page warns that a source is degraded, and relay the result.
The monitor needs Bun on PATH. If start fails because the sandbox blocks a local port, ~/.psf-monitor, or ~/.pstack-flex/lanes, do not raise permissions. Give the user the command to run; in Claude Code they can type it after !.
The agent details panel opens at full available width. Send a message offers steering at the next tool boundary or a follow-up after the current work. The composer names the recipient; skills and external lanes target their owning agent. Delivery requires the plugin’s bundled hooks to be enabled/trusted in the harness and the session restarted/resumed. The monitor does not change harness settings. Messages cannot interrupt a running tool or wake an idle session. Relay queued/delivered status accurately; delivery to a hook does not prove the request was completed.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub thisguymartin/psf-monitor --plugin psf-monitor