This extension adds a /session-breakdown command that shows a session cost/model dashboard similar to the provided screenshot.
Copy the extension into an auto-discovered location:
mkdir -p ~/.pi/agent/extensions
cp session-breakdown.ts ~/.pi/agent/extensions/session-breakdown.tsReload pi (or restart) and run:
/session-breakdown
- ←/→: switch between 7d / 30d / 90d views
- q or Esc: close the dashboard
The tool scans all pi session files across projects and aggregates costs, per-model usage, and per-day activity.