https://github.com/NikiforovAll/pi-inspect
Introspection dashboard for the pi coding agent — tools, prompts, skills, and the system prompt injected on init.
https://github.com/NikiforovAll/pi-inspect
dashboard developer-tools introspection observability pi-coding-agent pi-extension pi-package
Last synced: about 13 hours ago
JSON representation
Introspection dashboard for the pi coding agent — tools, prompts, skills, and the system prompt injected on init.
- Host: GitHub
- URL: https://github.com/NikiforovAll/pi-inspect
- Owner: NikiforovAll
- Created: 2026-05-17T17:26:05.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2026-05-20T10:03:50.000Z (22 days ago)
- Last Synced: 2026-05-28T17:35:25.005Z (13 days ago)
- Topics: dashboard, developer-tools, introspection, observability, pi-coding-agent, pi-extension, pi-package
- Language: JavaScript
- Homepage: https://nikiforovall.blog/pi-inspect/
- Size: 1.52 MB
- Stars: 31
- Watchers: 0
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# pi-inspect
[](https://www.npmjs.com/package/pi-inspect)
[](https://www.npmjs.com/package/pi-inspect)
Introspection dashboard for the [pi coding agent](https://pi.dev) — see what's actually loaded into a session: tools, slash commands, skills, and the system prompt injected on init.
## Installation
```sh
pi install npm:pi-inspect
```
Then use `/inspect start | stop | restart | status | open | list | snapshot` from inside pi.
## Usage (inside a pi session)
| Command | What it does |
| --- | --- |
| `/inspect` | Open the dashboard for the **current** session in your browser (`http://localhost:5462/?session=`) |
| `/inspect ` | Open dashboard pinned to a specific past session |
| `/inspect snapshot` | Re-capture the current session snapshot now |
| `/inspect list` | Print all captured session IDs in the terminal |
| `/inspect open web\|app` | Open in browser or as a PWA window |
| `/inspect start` / `stop` / `restart` / `status` | Manage the local server |
State is driven entirely through the `?session=` URL param — share or refresh URLs to pin views. The in-page picker also writes to the URL.
## Sharing a snapshot
Click **Share** in the topbar to copy a self-contained link of the current snapshot. The snapshot is `deflate-raw` compressed and base64url-encoded into the URL hash (`#s=…`) — no server, no upload, no account.
Recipients open the link on the hosted static dashboard at **https://nikiforovall.blog/pi-inspect/** and see the exact same tools / commands / skills / system prompt. The page makes no network requests; everything is in the URL.
Heads up: the link includes the system prompt and `cwd`. Don't share secrets you wouldn't paste in chat.
## What it captures
- **Tools** — name, description, parameter schema, source
- **Slash commands** — name, source
- **System prompt** — full text injected on init, split into system / user `AGENTS.md` / project `AGENTS.md` sections
- **Session meta** — cwd, model, sessionId, sessionName, captured timestamp
Snapshots live at `~/.pi/agent/inspect/snapshots/.json`.
## Port
`5462` — override via `PORT` env var.