pi-dashboard-watch

pi-dashboard-watch is a skill for Claude Code from BlackBeltTechnology/pi-agent-dashboard. It costs 66 tokens per session (956 once invoked), scanned B, original, MIT.

A live event watcher for pi sessions, which are running agent sessions managed by a pi dashboard. It streams notifications when sessions change status, ask questions, or are added or removed, instead of repeatedly checking for updates.

In plain words
What is it for?
It is for monitoring agent sessions, receiving questions that need answers, and tracking session activity and availability.
Why use it?
It lets you react to session events promptly without polling the dashboard yourself.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

Part of the pi-dashboard plugin — 3 skills shipped together

Good fit It is for monitoring agent sessions, receiving questions that need answers, and tracking session activity and availability.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-watch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add BlackBeltTechnology/pi-agent-dashboard --skill pi-dashboard-watch
Clone the repo
git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard

Made for: Claude Code.

Or install pi-dashboard, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pi-dashboard-watch

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-watch/github.svg)](https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-watch)
Your own site
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-watch"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-watch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pi-dashboard-watch

Your own site · 80×15
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-watch"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-watch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 956 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.00956
Opus 5.5 $0.00026 $0.00382
Sonnet 5.5 $0.00013 $0.00191
Haiku 4.5 $0.00007 $0.00096

Measured today against content hash 726fdcab44fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

pi-dashboard-watch scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/watch-events.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

`curl -s -X POST BASE/api/questions/QUESTION_ID/answer -H 'Content-Type: application/json' -d '{"answer":"…"}'`.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl -s BASE/api/questions/QUESTION_ID`. Ask the user unless they told you how to answer this kind of
packages/claude-plugin/skills/pi-dashboard-watch/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Watch pi sessions for events

The dashboard streams agent events at GET BASE/api/events/stream (Server-Sent Events). scripts/watch-events.sh follows that stream and prints one line per event:

PI-EVENT ready
PI-EVENT status {"type":"status","sessionId":"…","from":"streaming","to":"idle"}
PI-EVENT question_opened {"type":"question_opened","sessionId":"…","questionId":"…","questionType":"select","preview":"Push to main?","sessionLabel":"…"}
PI-EVENT question_closed {"type":"question_closed","sessionId":"…","questionId":"…","reason":"answered"}
PI-EVENT session_added {"type":"session_added","sessionId":"…","status":"active","cwd":"/path","name":"…"}
PI-EVENT session_removed {"type":"session_removed","sessionId":"…"}
PI-EVENT error <reason>

Run pi-dashboard-bootstrap first and use its literal BASE.

Start the watcher

Start it with the Monitor tool, so every line reaches you as a notification, also while you are idle. Set timeout_ms to the maximum. A monitor expires after at most 30 minutes, so start it again when the expiry notice arrives and you still control those sessions. Watch only what you need: narrow with --session (full ids from GET BASE/api/sessions, comma-separated) and --types. One watcher per controlling session is enough. Restart it with a new filter rather than starting a second one.

sh "${CLAUDE_SKILL_DIR}/scripts/watch-events.sh" BASE --session ID --types status,question_opened,question_closed

Types: session_added, status, session_removed, question_opened, question_closed. With no --types you get all of them. Status values are active, idle, streaming and ended.

If Monitor is not available, run the same command as a background Bash call with --once added. It exits after the first event, which wakes you. Read the line, act, and start it again if you still need to watch.

When the dashboard needs a token (the watcher prints PI-EVENT error http …), follow "When a call is refused" in the pi-dashboard-control skill. Pass the header file with --header-file, chained after the check, so the token only reaches a verified dashboard:

Read the full file on GitHub · 68 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 68 lines · 66 tokens per session scan B 726fdcab44fa

Subscribe to this mod's changes

pi-dashboard-watch is a skill published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (331 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 956 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.