@iurysza/pi-context-audit
extensionmaintainedAudit Pi system prompt, tool schema, context usage, and MCP overhead.
by — · v0.1.0 · published 2w ago
$ pi install npm:@iurysza/pi-context-auditdownloads/mo
116
stars
3
last push
4d ago
open issues
0
Signals
license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0
Download trend
116 downloads · last 12 weeks (weekly)
README
pi-context-audit
See where Pi's context goes. Context Audit measures the active system prompt, tool schemas, context files, skills, MCP cache, context usage, and the last captured provider payload.
Install
pi install npm:@iurysza/pi-context-audit
Restart Pi or run /reload after installation.
Run an audit
/context-audit [md|json] [open] [copy]
Audits are written to Pi's agent cache directory. md and json choose the
output format; open and copy use macOS open and pbcopy when available.
What it captures
- System prompt and context-file size
- Active and available tool schemas
- Skills, commands, and MCP cache metadata
- Context-window usage
- Size metadata for the latest captured provider payload
Audits contain serialized schemas and may summarize the current session. Review them before sharing.
Requirements
- Pi
- Node.js 22.19 or newer
- macOS only for
openandcopy
License
MIT