@mammothb/pi-stats
A pi extension that tracks tool, skill, and extension usage stats
Package details
Install @mammothb/pi-stats from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@mammothb/pi-stats- Package
@mammothb/pi-stats- Version
1.0.1- Published
- Jul 4, 2026
- Downloads
- 240/mo · 22/wk
- Author
- mammothb
- License
- MIT
- Types
- extension
- Size
- 10.1 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-stats
Tracks tool, skill, and extension usage across a pi session.
Features
- Counts every tool call by tool name
- Tracks skill invocations (via
/skill:name) - Tracks extension commands (via
/cmd) /statscommand to view usage summarystatstool for the LLM to query its own usage
Usage
Install and pi auto-discovers it. Run /stats to see usage so far.