Pi agent extension: Anthropic claude.ai subscription usage in the TUI footer
Go to file
Johannes Merz 4d57e293e6 Initial release: Anthropic subscription usage footer extension 2026-05-14 17:09:31 +02:00
README.md Initial release: Anthropic subscription usage footer extension 2026-05-14 17:09:31 +02:00
index.ts Initial release: Anthropic subscription usage footer extension 2026-05-14 17:09:31 +02:00
package.json Initial release: Anthropic subscription usage footer extension 2026-05-14 17:09:31 +02:00

README.md

pi-anthropic-usage

Pi agent extension that shows your Anthropic claude.ai Pro/Max subscription usage live in the TUI footer.

What it shows

☁ 5h █████░░░ 62%  ↺1h23m   7d ██░░░░░░ 18%  ↺4d2h
  • 5h — 5-hour rolling rate limit window
  • 7d — 7-day rolling rate limit window
  • Color-coded: green → yellow (≥70%) → red (≥90%)
  • Reset timer shows when each window clears

Only active when using an Anthropic claude.ai subscription (OAuth token). Regular API keys → no display.

Install

pi install git:git.vpsj.de/jay/pi-anthropic-usage

Commands

Command Description
/usage Manual refresh with detailed output

Auto-updates

Usage refreshes automatically after every model response and on model switch.