{"id":50165950,"url":"https://github.com/NikiforovAll/pi-inspect","last_synced_at":"2026-06-10T12:00:48.224Z","repository":{"id":359061459,"uuid":"1241679569","full_name":"NikiforovAll/pi-inspect","owner":"NikiforovAll","description":"Introspection dashboard for the pi coding agent — tools, prompts, skills, and the system prompt injected on init.","archived":false,"fork":false,"pushed_at":"2026-05-20T10:03:50.000Z","size":1593,"stargazers_count":31,"open_issues_count":4,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-28T17:35:25.005Z","etag":null,"topics":["dashboard","developer-tools","introspection","observability","pi-coding-agent","pi-extension","pi-package"],"latest_commit_sha":null,"homepage":"https://nikiforovall.blog/pi-inspect/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NikiforovAll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-17T17:26:05.000Z","updated_at":"2026-05-23T15:55:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/NikiforovAll/pi-inspect","commit_stats":null,"previous_names":["nikiforovall/pi-inspect"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/NikiforovAll/pi-inspect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fpi-inspect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fpi-inspect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fpi-inspect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fpi-inspect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikiforovAll","download_url":"https://codeload.github.com/NikiforovAll/pi-inspect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fpi-inspect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34151276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dashboard","developer-tools","introspection","observability","pi-coding-agent","pi-extension","pi-package"],"created_at":"2026-05-24T21:00:30.435Z","updated_at":"2026-06-10T12:00:48.215Z","avatar_url":"https://github.com/NikiforovAll.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# pi-inspect\n\n[![npm version](https://img.shields.io/npm/v/pi-inspect.svg)](https://www.npmjs.com/package/pi-inspect)\n[![npm downloads](https://img.shields.io/npm/dm/pi-inspect.svg)](https://www.npmjs.com/package/pi-inspect)\n\nIntrospection 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.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/NikiforovAll/pi-inspect/main/assets/demo.png\" alt=\"pi-inspect demo\" width=\"49%\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/NikiforovAll/pi-inspect/main/assets/demo-light.png\" alt=\"pi-inspect demo light\" width=\"49%\"\u003e\n\u003c/p\u003e\n\n## Installation\n\n```sh\npi install npm:pi-inspect\n```\n\nThen use `/inspect start | stop | restart | status | open | list | snapshot` from inside pi.\n\n## Usage (inside a pi session)\n\n| Command | What it does |\n| --- | --- |\n| `/inspect` | Open the dashboard for the **current** session in your browser (`http://localhost:5462/?session=\u003cid\u003e`) |\n| `/inspect \u003csessionId\u003e` | Open dashboard pinned to a specific past session |\n| `/inspect snapshot` | Re-capture the current session snapshot now |\n| `/inspect list` | Print all captured session IDs in the terminal |\n| `/inspect open web\\|app` | Open in browser or as a PWA window |\n| `/inspect start` / `stop` / `restart` / `status` | Manage the local server |\n\nState is driven entirely through the `?session=` URL param — share or refresh URLs to pin views. The in-page picker also writes to the URL.\n\n## Sharing a snapshot\n\nClick **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.\n\nRecipients 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.\n\nHeads up: the link includes the system prompt and `cwd`. Don't share secrets you wouldn't paste in chat.\n\n## What it captures\n\n- **Tools** — name, description, parameter schema, source\n- **Slash commands** — name, source\n- **System prompt** — full text injected on init, split into system / user `AGENTS.md` / project `AGENTS.md` sections\n- **Session meta** — cwd, model, sessionId, sessionName, captured timestamp\n\nSnapshots live at `~/.pi/agent/inspect/snapshots/\u003csessionId\u003e.json`.\n\n## Port\n\n`5462` — override via `PORT` env var.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNikiforovAll%2Fpi-inspect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNikiforovAll%2Fpi-inspect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNikiforovAll%2Fpi-inspect/lists"}