debug-dashboard

debug-dashboard is a skill for Claude Code, Codex from BlackBeltTechnology/pi-agent-dashboard. It costs 89 tokens per session (1,650 once invoked), scanned A, original, MIT.

A troubleshooting guide for a running pi-agent-dashboard, a system that provides a dashboard for pi sessions. It checks the server, connections between bridge components, tests, and—when needed—passes visual problems to a browser-focused tool.

In plain words
What is it for?
Use it when the server appears stuck, a pi session will not connect, tests fail unexpectedly, or the dashboard is blank or not rendering correctly.
Why use it?
It gives a structured way to tell whether a problem comes from the server, a connection, or the interface. This avoids treating every failure as the same kind of issue.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

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.

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

Made for: Claude Code, Codex.

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 debug-dashboard

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/debug-dashboard.svg)](https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/debug-dashboard)
Your own site
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/debug-dashboard"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/debug-dashboard.svg" alt="Measured on agentmods" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,650 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00089 $0.01650
Opus 5 $0.00044 $0.00825
Sonnet 5 $0.00018 $0.00330
Haiku 4.5 $0.00009 $0.00165

Measured 6d ago against content hash be1a45192006, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

debug-dashboard scanned grade A with 0 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 6d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/health-probe.ts, scripts/list-sessions.ts, scripts/run-tests-triage.ts, …), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.pi/skills/debug-dashboard/SKILL.md · 115 lines

How it starts

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

Debug Dashboard

System-level debugging for the running pi-agent-dashboard. Three layers:

   ┌─────────────────────────────────────────────────────────┐
   │  Layer 1 — Is the server alive?                         │
   │            npx tsx ./scripts/health-probe.ts            │
   │            npx tsx ./scripts/tail-server-log.ts         │
   └─────────────────────────────────────────────────────────┘
                            │
                            ▼
   ┌─────────────────────────────────────────────────────────┐
   │  Layer 2 — Are the bridges connecting?                  │
   │            npx tsx ./scripts/list-sessions.ts           │
   │            npx tsx ./scripts/tail-server-log.ts --errors│
   └─────────────────────────────────────────────────────────┘
                            │
                            ▼
   ┌─────────────────────────────────────────────────────────┐
   │  Layer 3 — Is the UI rendering?                         │
   │            (use the browser skill)                     │
   └─────────────────────────────────────────────────────────┘

First moves — always run these

npx tsx ./scripts/health-probe.ts        # mode + uptime + version, or "not-running"
npx tsx ./scripts/tail-server-log.ts     # last 50 lines of current run
npx tsx ./scripts/list-sessions.ts       # connected pi sessions via REST

Scripts are TypeScript (cross-platform). All invocations use npx tsx so they work on Linux, macOS, and Windows. tsx is already a project dep.

If health-probe says "not-running" → server isn't up. Check server.log for the most recent start banner ([bootstrap] ready ...) and what came after. The log appends with timestamped headers per start, so the last banner block is the relevant one.

When the server is up but misbehaving

Symptom Likely cause Where to look
Restart loops Stale port held by zombie, or restart racing with bridge auto-start lsof -i :8000, then pi-dashboard stop (kills by port, not just PID)
EADDRINUSE on start Concurrent spawn from multiple pi sessions Harmless — losing process exits silently. Check log.
Bridge connects then disconnects server_restarting broadcast active, or version skew grep server_restarting in server.log; check /api/health for version
Blank page in browser Vite not running in dev mode (silent fallback to prod build); or auth blocking Check /api/health.mode; check auth settings
New session won't start / yellow spawn_register_timeout, no card pi crashed at startup (bad extension) OR host overload See references/known-issues.md → "New session won't start" — manual pi --mode rpc run splits crash vs overload
Cannot connect to dashboard server on Electron boot launchDashboardServer fell back to process.execPath (Electron GUI binary) See references/known-issues.md → "Electron Node bin selection"
Fastify crashes immediately Bad Node version (22.0–22.17.x or 24.1–24.2.x per nodejs/node#58515) node --version — must be ≥ 22.18.0

Read the full file on GitHub · 115 lines

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. 6d ago First seen · 115 lines · 89 tokens per session scan A be1a45192006

Subscribe to this mod's changes

debug-dashboard is a skill published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (274 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 1,650 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.