Hear every voice in your language
실시간 AI 더빙과 양언어 자막을 제공, 무료·오픈소스·프라이버시 보장
Claude 사용 한도를 실시간으로 확인하고, 시간·주간 사용량·컨텍스트 창 사용량 등을 예측합니다
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직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
설치형 프로젝트는 배포 도메인 없이도 확인할 수 있습니다. 개인 저장소는 GitHub 로그인으로, 조직 저장소는 위의 저장소 확인 파일로 직접 확인해 주세요.
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).
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
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:
Install the usage-quota plugin from the GitHub marketplace anantraghunath/claude-code-usage-quota-mod
Terminal: inside claude, run these one at a time:
/plugin marketplace add anantraghunath/claude-code-usage-quota-mod
/plugin install usage-quota@claude-code-usage-quota-mod
/reload-plugins
The band appears once the plugins reload. If it doesn't, restart Claude Code.
Either way installs it for both the desktop app and the terminal.
[!IMPORTANT] Installed before v0.1.5? The plugin was renamed from
claude-code-usage-quotatousage-quota, because Claude Code reserves names starting withclaude-for Anthropic's own plugins. Updating won't pick up the new name, so remove the old one and install again. This gets you the latest version, v0.1.6.Desktop app: in the Code tab, send this as a message:
Run these one at a time: claude plugin uninstall claude-code-usage-quota@claude-code-usage-quota-mod, then claude plugin marketplace update claude-code-usage-quota-mod, then claude plugin install usage-quota@claude-code-usage-quota-modTerminal: run these in your shell:
claude plugin uninstall claude-code-usage-quota@claude-code-usage-quota-modclaude plugin marketplace update claude-code-usage-quota-modclaude plugin install usage-quota@claude-code-usage-quota-modThen restart. Your Auto compact settings and learned pace carry over.
Update: ask Claude, then restart:
Update the usage-quota plugin from its marketplace
Uninstall: in the desktop app, ask Claude:
Remove the claude-code-usage-quota-mod plugin marketplace
or in the terminal:
/plugin marketplace remove claude-code-usage-quota-mod
then restart. This removes it from both. Just want it out of sight? /quota hides it without uninstalling.
claude plugin marketplace add anantraghunath/claude-code-usage-quota-mod; claude plugin install usage-quota@claude-code-usage-quota-mod
To update:
claude plugin marketplace update claude-code-usage-quota-mod; claude plugin update usage-quota@claude-code-usage-quota-mod
To uninstall:
claude plugin marketplace remove claude-code-usage-quota-mod
Everything runs on your machine, with the same access Claude Code has, like any mod, so read the code before installing any mod you don't trust. It never sees your credentials and sends nothing anywhere except the one request below.
https://api.anthropic.com/api/oauth/usage, Anthropic's usage service, for your 5 Hour and Weekly limits. It goes through your existing Claude login: Claude Code attaches the credential, and the mod never sees it. That is the only host it contacts. The www.w3.org address in the code is only the namespace of the drawn bars' SVG images; nothing is sent there./compact when you press Compact, or when Auto compact reaches your %. It adds /quota, which turns the band off and on.reg query for AppsUseLightTheme on Windows, defaults read -g AppleInterfaceStyle on macOS.config.json for its theme setting. Once, after the v0.1.5 rename, it copies the old plugin's saved settings from ~/.claude/plugins/store.ui.press, ui.focus) and edits to the prompt (prompt.edit) only set a % you typed in the band, then pass on unchanged. Turns starting and ending tell it when a reply is running, so Auto compact never interrupts one.First release: I'd love to hear how it works for you. Open an issue for bugs or ideas. Pull requests welcome.
To work on it, clone the repo, then load it from the folder, or run its tests:
claude --plugin-dir ./claude-code-usage-quota-mod
claude plugin test ./claude-code-usage-quota-mod
If you find it useful, a ⭐ helps others find it.
Inspired by I'm liking the new mods feature on r/ClaudeCode. Thanks to u/itsxzy for sharing the original prompt that started this project.
MIT © 2026 Anant Raghunath