anantraghunath/claude-code-usage-quota-mod
24 stars · Last commit 2026-10-10
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 preview
# Claude Code Usage Quota Mod with Auto Compact [](https://github.com/anantraghunath/claude-code-usage-quota-mod/releases/latest)       **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. ## EXPANDED  ## COLLAPSED One row that still shows the time left until each limit resets: