@fnnm/pi-session-breakdown
Interactive TUI for Pi session analysis (usage, cost, models).
Package details
Install @fnnm/pi-session-breakdown from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@fnnm/pi-session-breakdown- Package
@fnnm/pi-session-breakdown- Version
0.1.0- Published
- Mar 9, 2026
- Downloads
- 20/mo · 4/wk
- Author
- fnnm
- License
- MIT
- Types
- extension
- Size
- 37.7 KB
- Dependencies
- 0 dependencies · 0 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
Session Breakdown Extension
Interactive TUI that analyzes ~/.pi/agent/sessions and shows usage over last 7/30/90 days: sessions, messages, tokens, cost by model.
Includes a GitHub-contributions-style calendar graph.
Install
pi install npm:@fnnm/pi-session-breakdown
pi install git:github.com/fnnm/pi-session-breakdown
Usage
- Command:
/session-breakdown - No default keybinding
Run the command to open the interactive TUI. Use arrow keys to navigate ranges and measurement modes.
Credits
Forked from: mitsuhiko/agent-stuff Original author: Armin Ronacher (mitsuhiko)
License
MIT