All shelves / Mods / Usage
usage-limits
By T-AI-Labs
usage-limits is a Claude Code usage mod by T-AI-Labs.
Draws one row above the prompt with how much of the 5-hour and weekly limits is used, with the time until each resets.
Draws
Install
The marketplace name is T-AI-Labs.
claude plugin marketplace add T-AI-Labs/claude-code-mods claude plugin install usage-limits@T-AI-Labs
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.6.1
- License
- MIT
- Repo stars
- 4
- Last change
- 2026-10-24
What it can reach
- Draws in the session
- Reads usage or context figures
Built and tested against Claude Code 2.1.295, the engine in the Claude desktop app 2.31226.1; the function-hook API is in early access. The commands also work inside Claude Code with /plugin in place of claude plugin. New sessions load the changes. Claude Code reports the limits only on a subscription plan, with each response; until the first one the row shows the last reading. context-usage already contains this row: install one or the other.
The marketplace name is T-AI-Labs, and it lists five mods, each installed on its own. The limits are why this page files it under usage. usage-bar, by omeerdvrn, draws the 5-hour and 7-day limits under the prompt with the branch, model, context, and cost. usage-band, by JetsonChan, draws one line for the limits, the context, and the last turn's cache hit. This one is the limits alone, a gauge for each window, yellow from 75% and red from 90%. Sessions running side by side share their readings through a file on your machine once a minute, so an idle session still shows what the others used.
Demo
What it hooks into
session.startWhen a session startsclassic.SessionStartA Claude Code eventsession.measureWhen usage is measuredui.renderDraws into the sessionAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- T-AI-Labs
- Category
- Usage
- Marketplace
- T-AI-Labs
- Folder
- usage-limits
- Version
- 0.6.1
- License
- MIT
- Repo stars
- 4
- Last change
- 2026-10-24
- Language
- TypeScript
- Files
- 6