blackbelttechnology/pi-agent-dashboard/docs

Claude Code and agent skill by blackbelttechnology/pi-agent-dashboard

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install blackbelttechnology/pi-agent-dashboard/docs

SKILL.md

The same SKILL.md was published earlier as blackbelttechnology/pi-agent-dashboard/docs.

Doctor Skill

Modular diagnostic skill. Diagnoses why broken in pi-agent-dashboard:

  • pi-flows
  • model resolution
  • pi install
  • peer
  • plugin-bridge (dashboard-flows, dashboard-goal, dashboard-automation)
  • build-reload

Ships in packages/extension/.pi/skills/doctor/. Extension present in every install topology.

Architecture

  • SKILL.md = thin router. Owns no capability knowledge. Derives symptom map + sweep DAG from module front-matter. Adding module MD auto-registers it, no router edit.
  • 7 capability modules under modules/: env-node, pi-resolution, peers, plugins-bridges, build-reload, install-topology, model-resolution.
  • Each module = uniform 5-part contract: SCOPE, KNOWLEDGE, CHECKS, FIX ROUTING, DERIVES-FROM. Plus <module>.knowledge.hash sidecar.
  • _lib/ shared check primitives. Mechanical only; knowledge + fix prose stays in modules.
_lib/ primitives
FilePurpose
front-matter.tsParse module front-matter.
router.tsrouteSymptom(), buildSweepOrder(), planSweep().
checks.tsWraps shared resolvePiPackage / resolvePiPackageEntry / listPiPackages / sourcesMatch / parseSourceKey. No reimplementation.
server-tier.tsServer-enriched tier. /api/health + /api/pi-core/versions. Degrade to {ok:false} on down.
provenance.tsLabel facts file-derived vs server-enriched. serverUnavailable.
knowledge-hash.tsextractSemanticTokens, checkDrift.
derive-tokens.tsDerive semantic tokens from live sources.
regenerate.ts--check reports drift; --write [module] rewrites sidecars.

Routing

3 modes:

ModeTriggerAction
Symptomsymptom phraserouteSymptom() → one module.
Named capabilitycapability nameRead that module MD.
Full sweepno hint / "full"buildSweepOrder() orders env→pi→peers→plugins→build→runtime.

planSweep() short-circuits. Lower-layer failure (missing pi) reported as ROOT CAUSE. Suppresses dependents. Dependent not re-reported as broken bridge.

Module dependency edges (depends-on)

Moduledepends-on
env-nodenone
pi-resolutionenv-node
install-topologyenv-node
peerspi-resolution
plugins-bridgespeers
build-reloadinstall-topology
model-resolutionpi-resolution + plugins-bridges

Shell-first checks

Read files + createRequire first. Work with dashboard server DOWN.

/api/health + /api/pi-core/versions = additive server-enriched tier via server-tier.ts. Degrade to {ok:false} on down, never throw.

provenance.ts labels every fact file-derived vs server-enriched. serverUnavailable true when no server-enriched fact.

Multi-location pi

pi-resolution reports N pi installs:

  • CLI binary
  • repo node_modules
  • managed
  • nvm-global
  • per-session-cwd createRequire

Flags divergence. Flags any location below piCompatibility.minimum floor. Floor read from packages/server/package.json.

Peers + name-skew

probePeer() tier-1 createRequire(cwd) / tier-2 pi packages[]. peers module probes only pi-flows.

detectNameSkew() reports live package name + dead aliases. Example: legacy @pi/<name> alias vs current @blackbelt-technology/<name>.

Unresolved peer → dependent bridge waiting_peers.

Two-tier self-update

Tier 1 — derive-on-run

Versions / peer-names / paths read live every run. Never rot.

Tier 2 — knowledge-hash

Per-module <module>.knowledge.hash over derives-from SEMANTIC TOKENS. Package names + semver, not raw bytes.

extractSemanticTokens stable across whitespace. Peer rename / floor bump drifts. checkDrift compares live vs stored. Drift flags authored prose possibly stale.

Regenerate
  • tsx _lib/regenerate.ts --check reports drift.
  • --write [module] rewrites sidecars from live sources.
  • Never edits authored prose. doctor --regenerate <module> proposes prose edits for confirmation. Never silent overwrite.

AGENTS.md convention

Source-of-truth change maps to one module to regenerate:

Source-of-truth changeRegenerate module
peer renamepeers
pi floor bumppi-resolution
new install platforminstall-topology
new bridge/plugin slotplugins-bridges

Distribution

Registered in packages/extension/package.json pi.skills[] + files[]. npm pack includes .pi/skills/doctor/**. Auto-loads by NL trigger like sibling extension skills.

Relation to other skills

Does not replace:

  • debug-dashboard (runtime how-to)
  • ci-troubleshoot (CI/release)
  • Electron doctor window

Narrates + derives. May call those surfaces.

Origin

Productizes earlier prototype handoff checklist. See change: add-modular-doctor-skill.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
313
Repository forks
47
7-day trend score
34

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/blackbelttechnology/pi-agent-dashboard/docs/badge)](https://verified-skill.com/skills/blackbelttechnology/pi-agent-dashboard/docs)

Something wrong with this skill or its page? Tell us.