debug-dashboard

debug-dashboard is a skill for Claude Code, Codex from BlackBeltTechnology/pi-agent-dashboard. It costs 89 tokens per session (1,739 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.

Good fit 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.

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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,739 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 12 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 3
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • medium MCP Rug Pull · line 13
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 14
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 20
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 21
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 34
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 35
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 36
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 39
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 62
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 63
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 64
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.01739
Opus 5.5 $0.00036 $0.00696
Sonnet 5.5 $0.00018 $0.00348
Haiku 4.5 $0.00009 $0.00174

Measured 8d ago against content hash 4d0d0b6731ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 8d 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 · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 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:

flowchart TD
  L1["Layer 1 - Is the server alive?<br/>npx tsx ./scripts/health-probe.ts<br/>npx tsx ./scripts/tail-server-log.ts"]
  L2["Layer 2 - Are the bridges connecting?<br/>npx tsx ./scripts/list-sessions.ts<br/>npx tsx ./scripts/tail-server-log.ts --errors"]
  L3["Layer 3 - Is the UI rendering?<br/>(use the browser skill)"]
  L1 --> L2 --> L3

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 owned port holders, not just PID; --force is a dangerous last resort, see known-issues.md)
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
server.log: PI_DASHBOARD_TS_LOADER is no longer supported Legacy env var set; server ignores it (jiti server loader removed) Unset PI_DASHBOARD_TS_LOADER from launch env; pi-dashboard stop && pi-dashboard start
server.log: server booted under the jiti TypeScript loader Pre-upgrade server handed its jiti --import on restart pi-dashboard stop && pi-dashboard start (next restart normalizes to native)

Read the full file on GitHub · 106 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. 8d ago Changed · +4 lines 4d0d0b6731ff
  2. 15d ago Changed · -13 lines 23ac266eea12
  3. 1mo 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 (326 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 1,739 once invoked, about $0.0004 per session on Opus 5.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.