pi-dashboard-control

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

A skill for controlling local pi-dashboard sessions through HTTP requests. It can list sessions, send prompts, stop runs, and start new sessions.

In plain words
What is it for?
Checking dashboard health, listing sessions, sending work to a session, aborting a run, or spawning a session.
Why use it?
It gives an agent a documented way to inspect and steer running pi sessions instead of handling the dashboard manually.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

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

Good fit Checking dashboard health, listing sessions, sending work to a session, aborting a run, or spawning a session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-control
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-control
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 2 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-control

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-control/github.svg)](https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-control)
Your own site
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-control"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-control/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-control

Your own site · 80×15
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-control"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/pi-dashboard-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 492 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.00052 $0.00492
Opus 5.5 $0.00021 $0.00197
Sonnet 5.5 $0.00010 $0.00098
Haiku 4.5 $0.00005 $0.00049

Measured 2d ago against content hash cf8fa2a383c9, 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-control 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 2d ago.

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/session/ID/prompt -H 'Content-Type: application/json' -d '{"text":"run the tests"}'

Makes network callslowCapability

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

description: Control the local pi-dashboard over its REST API with curl - list pi sessions, send a prompt, abort a run, spawn a session. Use after pi-dashboard-bootstrap has printed BASE, whenever the user wants to see o
packages/claude-plugin/skills/pi-dashboard-control/SKILL.md · 44 lines

What it actually says

Control pi sessions through the dashboard

Run pi-dashboard-bootstrap first and use its literal BASE (for example http://localhost:8000). REST is the command path. Full endpoint list: references/api-reference.md.

curl -s BASE/api/health
curl -s BASE/api/sessions
curl -s -X POST BASE/api/session/ID/prompt -H 'Content-Type: application/json' -d '{"text":"run the tests"}'
curl -s -X POST BASE/api/session/ID/abort -H 'Content-Type: application/json' -d '{}'
curl -s -X POST BASE/api/session/spawn -H 'Content-Type: application/json' -d '{"cwd":"/path/to/project"}'

Take ID from GET /api/sessions. Replace BASE with the literal URL every time.

When a call is refused

A 401, or a 403 with "reason":"local_proof_required", means the dashboard needs a token. Ask the user to run:

pi-dashboard token create --label claude-code --tier control

control covers prompt, spawn and abort. Ask for a higher tier only if the user explicitly wants one.

Preferred: the user saves the line Authorization: Bearer <token> in a file they create with owner-only permissions and tells you its path. Never create that file yourself. Send every credentialed request in the same command as a verification, so credentials only reach a verified dashboard:

sh "${CLAUDE_SKILL_DIR}/../pi-dashboard-bootstrap/scripts/ensure-dashboard.sh" --check && curl -s -H @/path/to/header-file BASE/api/sessions

Otherwise accept a token the user pastes, send it only as an Authorization: Bearer header, and never write it to a file or repeat it in output. Tell the user it then stays in the conversation history.

Never add curl verbose or trace options to credentialed requests: they print the header.

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. 2d ago First seen · 44 lines · 52 tokens per session scan B cf8fa2a383c9

Subscribe to this mod's changes

pi-dashboard-control is a skill published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (319 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 492 once invoked, about $0.0002 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-14.