← Catalog

@po.dev/pi-usage-dashboard

Local token and cost dashboard for pi sessions

Package

Install

Install with PiG

pig install npm:@po.dev/pi-usage-dashboard

Install with Pi

pi install npm:@po.dev/pi-usage-dashboard
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.14 (README.md). PiG does not review it.

usage-dashboard

Pi extension for token and cost tracking.

Install

pi install npm:@po.dev/pi-usage-dashboard

Or load locally:

pi -e ./usage-dashboard/index.ts

Features

  • Footer shows live session cost — survives /reload without resetting
  • /usage opens a full dashboard: daily spend, per-model breakdown, cache efficiency, prompt-source insights (top 5 sources; installed skill files open in 10-line windows, scrollable with ↑↓ or mouse wheel)
  • History shows a scrollable window of 5 sessions
  • Providers that report tokens but no cost (e.g. claude-bridge) are priced from Pi's local models-store.json rates instead of showing $0

Usage

/usage      open dashboard
/reload     session cost persists (no reset)