Install
Install with PiG
pig install npm:@agnishc/edb-usage-statsInstall with Pi
pi install npm:@agnishc/edb-usage-statsPackages 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": [
"./src/index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.21.1 (README.md). PiG does not review it.
@agnishc/edb-usage-stats
A Pi CLI extension that shows AI provider token usage, rate limits, reset timers, and live service status via the /usage command.
Supported providers
| Provider | Usage source |
|---|---|
| Claude (Anthropic) | Anthropic API |
| GitHub Copilot | GitHub API |
| Gemini | Gemini CLI |
| OpenAI Codex | OpenAI API |
| Antigravity | Antigravity API |
| MiniMax | MiniMax API |
| OpenRouter | OpenRouter API |
| Kiro | kiro-cli |
| z.ai | z.ai API |
Install
pi install npm:@agnishc/edb-usage-stats
Usage
/usage
Opens a rate-window box for each enabled provider:
╭────────────────────────────╮
│ AI Usage │
├────────────────────────────┤
│ Claude │
│ Daily ████░░░░░░ 62% │
│ Hourly ██████████ 0% │
├────────────────────────────┤
│ r refresh · s settings · Esc close │
╰────────────────────────────╯
Press s to open the provider settings panel and toggle which providers are shown. Settings persist to ~/.pi/agent/extensions/pi-usage-stats/settings.json.
License
MIT © Agnish Chakraborty