When to choose it
Watching Pro or Max limits alongside context use.
Choose it if: You want account-limit visibility and understand the compaction controls.
Look elsewhere if: You need guaranteed reset forecasts or have no supported plan login.
What the source describes
- The /quota command toggles the quota band above the prompt
- Displays account-wide five-hour and weekly usage with reset forecasts
- Offers manual compaction and optional automatic compaction saved per chat
Requirements
- Claude Code 2.1.287+
- Pro or Max login for plan usage data
Install from the reviewed source
- Use a supported login. Use Claude Code 2.1.287 or later with a Pro or Max login. API-key/gateway sessions have no supported plan usage data.
- Replace an installation from before v0.1.5. Skip this step for a fresh install. The plugin was renamed from claude-code-usage-quota to usage-quota; updating the old name does not install the new registration. Run these shell commands one at a time, then restart. They show user scope; if the old plugin is installed at project or local scope, add the same --scope project or --scope local to uninstall and install. Review the effect on collaborators before changing project scope.Shell • migrate an existing installation
claude plugin uninstall claude-code-usage-quota@claude-code-usage-quota-mod claude plugin marketplace update claude-code-usage-quota-mod claude plugin install usage-quota@claude-code-usage-quota-mod - Check the current installation. For a fresh install, use the marketplace/install commands in this section. The plugin name is usage-quota; the marketplace name remains claude-code-usage-quota-mod. Check that the installed ID is usage-quota@claude-code-usage-quota-mod and inspect its version, scope and status. The reviewed manifests declare 0.1.6; a later checkout may differ.Shell • inspect installed plugins
claude plugin list - Start a real session. Restart or run /reload-plugins in the terminal; quit and reopen Desktop Code after migration. On the Desktop welcome screen, send the first message in the Code tab to create a session. /quota then toggles the band.
- Choose compaction deliberately. A new chat starts with Auto compact off. When enabled, its default threshold is 30%, adjustable from 15–99%. The source saves each chat’s setting across restarts. If the current context is already past the threshold, choose Now or After my next compact; the older Only in new chats choice is no longer present.
These are the source’s documented installation steps. Read the source, license and requirements first. Marketplace installation can use a different scope from a local --plugin-dir session. Restart Claude Code or use /reload-plugins afterward.
claude plugin marketplace add anantraghunath/claude-code-usage-quota-mod
claude plugin install usage-quota@claude-code-usage-quota-modHow to use it
Toggle the visible band. It is a toggle command, not /quota on or /quota off.
/quotaExpand or collapse the band's details. Use ▲ / ▼.
Run /compact for the session. Use Compact button.
Original observation exercise. No extra prompt is required to enable monitoring. This request example is written by ClaudeStack; it is not a transcript of a tested session.
Explain this small function without modifying any files.The catalog URL keeps its original claude-code-usage-quota slug. The upstream plugin registration changed to usage-quota in v0.1.5; the reviewed plugin and marketplace manifests both declare 0.1.6. The marketplace name and repository did not change.
The source attempts to copy missing saved settings and learned pace from the old registration once. This is an implementation finding, not a verified migration guarantee. Confirm the setting in each chat after reinstalling.
This review reads fixed upstream documentation, manifests and registration code without installing or running the Mod. Compaction changes context; no cost savings, security audit or runtime compatibility are certified.
What to expect
The reviewed source describes these observations. ClaudeStack has not loaded or run this extension.
- A band shows account-wide five-hour/weekly utilization, reset countdowns and forecast markers, plus session context split into messages, tools and other. Account usage can include Claude chat and Cowork; the visible band is for Claude Code terminal and Desktop Code sessions.
- The source shares usage-service readings across sessions about every two minutes, with reply-provided limits filling updates in between. Forecasts remain estimates rather than billing or reset guarantees.
- Auto compact is guarded while a reply is running. Now requests compaction; After my next compact leaves it waiting until a real compact is observed, including the Compact button, /compact or Claude Code’s own compaction. Leaving the question unanswered also waits.
- The source attempts direct session compaction, with a command fallback and bounded retries. If context remains over the threshold afterward, it holds further automatic compaction until context drops below it. Check any skip or failure notice rather than assuming compaction succeeded.
Self-check: With Auto compact off, confirm the installed usage-quota ID and compare the context bar before and after a normal reply. Account utilization and session context are different measures. /quota hides or shows the band; it is not a switch that stops background behavior.
Troubleshooting
The old package name no longer installs, or updating it leaves the old version.
Check the installed ID and scope with claude plugin list. For a pre-0.1.5 installation, uninstall claude-code-usage-quota@claude-code-usage-quota-mod at that scope, update the existing marketplace, and install usage-quota@claude-code-usage-quota-mod at the intended scope. Restart afterward.
No band appears on Desktop's Welcome back screen.
Send the first message in the Code tab. No session exists on that screen, so the Mod cannot draw there.
Plan limits are missing or stale, or the service refuses a request.
Confirm a Pro/Max Claude login rather than API-key/gateway authentication. For usage-service failures, the source keeps previous data and honors retry/backoff (2, 5, then 15 minutes); wait rather than repeatedly forcing refresh.
The band disappears but automatic compaction still runs, or an old threshold choice is missing.
/quota only controls visibility. Turn Auto compact off for that chat or disable/uninstall the plugin to stop its hooks and timers. In the reviewed 0.1.6 source the above-threshold choices are Now and After my next compact; Only in new chats was removed.
Saved settings did not carry over after the rename.
The source attempts a one-time import from the most recent old-name JSON store under CLAUDE_CONFIG_DIR, or ~/.claude/plugins/store by default, copying only keys missing from the new store. Read/import failures can prevent this, and the migration is marked attempted afterward. Check each chat’s Auto compact setting and threshold explicitly; ClaudeStack has not tested migration or recovery.
Disable or remove it
- Turn Auto compact off in the band’s controls first if you enabled it. /quota hides or shows the band only.
- In /plugin → Installed, disable or uninstall usage-quota@claude-code-usage-quota-mod. Shell alternatives: claude plugin disable usage-quota@claude-code-usage-quota-mod; claude plugin uninstall usage-quota@claude-code-usage-quota-mod. Match --scope to the installed scope; uninstall defaults to user scope. Reload or restart afterward.
- Disable or uninstall the plugin to stop its hooks, timers and automatic compaction. Removing the claude-code-usage-quota-mod marketplace also uninstalls all plugins installed from that marketplace; review that wider effect before using it.
Limitations & considerations
- Calls Anthropic usage API using opaque session authentication
- Reads OS or Desktop theme settings and attempts a one-time migration of old plugin settings
- Forecasts are estimates; enabling Auto compact changes conversation context
- Hiding the band with /quota does not disable its hooks, timers or automatic compaction
Mods execute with your user privileges and are not sandboxed. They can access files, launch processes and make network requests. ClaudeStack has not run or security-audited this Mod. Use claude plugin validate on a downloaded directory to inspect declared behavior; validation does not certify safety. Check the official trust guidance before loading it.
Source & review record
Our description is based on public documentation and manifests available on 2026-10-14, including the hooks-module pointer and registration source. Installation formats were checked against Claude Code and the relevant installer documentation. No extension code was executed: this is a source review, not a runtime compatibility test or security audit.
- Original source and documentation
- Reviewed definition source
- License of the reviewed source
- Official plugin installation documentation
Repository last pushed at the time of review: 2026-10-10T15:41:56Z. This date does not prove that the extension works with a particular Claude Code release.
Usage guide sources
Upstream revision checked for this guide: 5444bb3fdf523e561f397355055c11dc95224ace. Command names and behavior in this guide are documentation and registration-source findings, not runtime verification.
- Current README and rename migration ↗
- Current registration, compaction choices and settings migration ↗
- Current plugin name and observed version ↗
- Marketplace name and current registration ↗
- MIT license at the reviewed revision ↗
- Upstream README ↗
- Registration source ↗
- Claude Code Mods overview ↗
- Claude Code install and manage plugins ↗
- Package and version ↗