Know your Claude limits before they hit you (Live band above the Claude Code prompt): 5 Hour and Weekly usage (whole account) with a live usage forecast against limit resets, context window usage, one
翻訳待ち
プラグインTypeScriptGitHub @anantraghunath自分でインストール所有者未確認
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
Know your Claude limits before they hit you (Live band above the Claude Code prompt): 5 Hour and Weekly usage (whole account) with a live usage forecast against limit resets, context window usage, one-click Compact and per-session Auto compact (30% default).
翻訳待ち
Loading the full README.
Read the full README ↗Know your Claude limits before they hit you. A live band above the Claude Code prompt that shows your plan limits, forecasts whether you'll run out before they reset, and shows how full your context window is. Compact in one click, or let it compact automatically.
The 5 Hour and Weekly limits are your whole Claude account's, including what you use in Claude chat and Cowork. The band itself shows in Claude Code: the desktop app and the terminal.
Live from the moment a session opens. Many usage mods stay blank until Claude replies, because they only read the figures each reply carries. This one asks Anthropic's usage service straight away, for free (it uses no tokens and doesn't count toward your limits), so your limits are there as soon as the band appears, and it keeps them current every few seconds while you work.
Type /quota to turn the band off and on.
One row that still shows the time left until each limit resets:
[!TIP] Never hit a full context again: Auto compact, on by one click. With Auto compact on, the band compacts your session once the context reaches 30% (the default; set 15 to 99). A long context costs more on every reply, so compacting early keeps replies cheaper and your limits lasting longer. Auto compact never interrupts a reply. Want to compact right now? The Compact button runs
/compactin one click.Each session keeps its own Auto compact setting, even after a restart, so you can run them differently side by side:
- Building something big? Set Auto compact higher (say 70%) or turn it off, so Claude keeps the whole picture. Press Compact yourself at a good stopping point. (With it off, Claude Code's built-in compaction still steps in when the context is nearly full.)
- Everyday sessions? One click turns Auto compact on at 30%. They stay lean, and your 5 Hour and Weekly limits last longer.
5 Hour and Weekly limits
On course to run out, it warns you and says when you'll hit the limit:
Context window
/context counts it, split into Messages, Tools and Other.Compacting
/compact in one click.If the session is already past your % when you turn it on, it asks first:
/compact, or Claude Code's own), then takes over.Works in light and dark themes and at every width down to the narrowest. Collapsed or expanded is shared across all sessions.
[!NOTE] MORE SCREENSHOTS
Early in a 5 hour window:
Running out on the Weekly limit:
Light theme Narrowest window
[!NOTE] In the desktop app, the band appears once a session has started. The brand-new Welcome back screen has no session yet, so no mod can draw there. Send your first message and it appears.
In the terminal, ▲/▼ expands and collapses it. The [-] next to it is Claude Code's own control and hides the band; ctrl+x ctrl+a brings it back.
Collapsed:
Needs Claude Code 2.1.287 or later, signed in with a Pro or Max plan.
Desktop app: in the Code tab, send this as a message, allow the claude plugin commands if asked, then quit and reopen the app:
This is the beginning of the README. Read the rest at the original. Read the full README ↗