05 · Developer tool · Claude Code plugin
Usage band: what an AI session is costing, while it runs
A strip above the Claude Code prompt shows how much of the usage limits and context a session has used, and what it has cost so far.
What it shows
- The five-hour and weekly usage limits, each with a countdown to its reset.
- How full the context is.
- The cost of the session so far.
- A warning when the current pace will hit a limit before that limit resets.
The value
I built it because I kept finding out too late. A long task would stop partway through when a limit ran out. With the pace warning I can slow down, switch to a cheaper model, or save the work for after the reset.
What I learned
- AI cost is an operating number. Once usage is visible while the work happens, I make different choices about which model does which job.
- Plugin development. I wrote it in TypeScript against the Claude Code plugin and hooks interface, with a test suite.