Install
Install with PiG
pig install npm:@deathbeam/pi-usageInstall with Pi
pi install npm:@deathbeam/pi-usagePackages 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.
{
"image": "https://cdn.jsdelivr.net/npm/@deathbeam/pi-usage/media/screenshot.png",
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.0.18 (README.md). PiG does not review it.
@deathbeam/pi-usage
Use the /usage command for a fullscreen dashboard of token usage and cost. It opens on a Summary and has per-day, per-provider, per-model and per-project views.
The Summary covers totals, trends with a month projection, the delegate share of the cost, activity and the top models, providers, projects, sessions, tools and skills.

Installation
# Choose one:
pi install npm:@deathbeam/pi-usage # this package
pi install git:github.com/deathbeam/pi-packages # all my packages
Development
From the repo root:
npm install
npm test -- packages/pi-usage
pi install ./packages/pi-usage