@vtstech/pi-diag
Diagnostics extension for Pi Coding Agent
Package details
Install @vtstech/pi-diag from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@vtstech/pi-diag- Package
@vtstech/pi-diag- Version
1.2.1- Published
- May 5, 2026
- Downloads
- 2,320/mo · 32/wk
- Author
- vtstech
- License
- MIT
- Types
- extension
- Size
- 27.1 KB
- Dependencies
- 1 dependency · 1 peer
Pi manifest JSON
{
"extensions": [
"./diag.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@vtstech/pi-diag
Diagnostics extension for the Pi Coding Agent.
Run a full system diagnostic of your Pi environment — system info, Ollama status, models.json validation, extension listing, security posture, and more.
Install
pi install "npm:@vtstech/pi-diag"
Commands
/diag Run full system diagnostic
Checks
- System — OS, CPU, RAM usage, uptime, Node.js version
- Disk — Disk usage via
df -h - Ollama — Running? Version? Response latency? Models pulled? Currently loaded in VRAM?
- models.json — Valid JSON? Provider config? Models listed? Cross-references with Ollama
- Settings — settings.json exists? Valid?
- Extensions — Extension files found? Active tools?
- Themes — Theme files? Valid JSON?
- Session — Active model? API mode? Provider? Base URL? Context window? Context usage? Thinking level?
- Security — Active security mode, effective blocklist sizes (mode-aware), command/SSRF/path validation tests, audit log status
Also registers a self_diagnostic tool so the AI agent can run diagnostics on command.
Links
License
MIT — VTSTech