← Reddit

I kept typing /usage, so I made a free status-bar quota meter for Claude Code

Reddit · andrewaltair · June 14, 2026
A developer created a free VSCode extension that displays Claude Code usage quotas in the status bar, eliminating the need to repeatedly run the /usage command. The extension reads from Anthropic's official API endpoint to show real-time usage percentages, reset timers, and spending estimates, with visual indicators that change color as usage approaches limits. The tool is privacy-focused, using locally stored tokens with no telemetry, and includes an option for fully offline operation.

Detailed Analysis

A developer using Claude Code on a daily basis created a free, open-source VSCode extension that displays real-time usage quota information directly in the editor's status bar, eliminating the need to repeatedly run the built-in `/usage` command. The tool, released under the MIT license and available on GitHub at andrewaltair/CLAUDE_QUOTA, surfaces four key data points at a glance: the user's progress against the 5-hour usage cap, progress against the weekly limit, the time remaining until the current usage window resets, and an approximate cost estimate. Visual indicators shift from amber to red as consumption approaches the cap, and clicking the status bar element opens an expanded panel with gauge visualizations, reset timelines, extra-usage credit information, and a seven-day historical chart.

The extension is notable for its data sourcing approach: rather than estimating usage independently, it reads from the same internal endpoint that Claude Code's native `/usage` command consults, ensuring that the percentages and reset times displayed match what Anthropic's own tooling reports. As a fallback when network access is unavailable, the extension estimates usage locally by parsing conversation transcripts. Cost calculations are handled locally using the open-source ccusage library. The developer emphasized a deliberate privacy-first design — the extension communicates only with Anthropic's own API using the authentication token already stored on the user's machine, with no telemetry or third-party data transmission, and an optional fully offline mode.

The creation of this tool reflects a friction point that has emerged as Claude Code matures into a sustained professional workflow tool rather than an occasional assistant. Usage caps tied to rolling 5-hour and weekly windows create a planning challenge for developers who integrate the tool deeply into their development cycles: without passive visibility into remaining quota, users must interrupt their flow to query status manually. The extension addresses this with ambient awareness — a design pattern well established in developer tooling for things like Git branch status, linting errors, and build states — applying it to AI resource consumption for the first time in a meaningful way.

More broadly, this kind of community-built peripheral tooling signals that Claude Code has reached a level of daily professional adoption where developers are motivated to invest time in improving the surrounding experience, not just the core capabilities. The GitHub ecosystem around major AI coding tools tends to follow adoption curves closely, and the emergence of quota meters, usage dashboards, and cost trackers typically indicates that teams are beginning to manage AI tooling the way they manage other infrastructure costs. The developer's call for feedback specifically from macOS and Linux users also reflects that Claude Code's user base spans operating systems, even as the extension was initially developed on Windows.

The release as an early v0.1 built primarily for personal use and shared openly mirrors a common pattern in developer communities where individual productivity solutions become public goods. The MIT license and explicit invitation to fork lower the barrier for others to adapt the tool — whether to support different editors, additional quota dimensions Anthropic may introduce, or team-level usage aggregation. As Anthropic continues to evolve Claude Code's pricing and usage model, community instrumentation tools like this one are likely to proliferate, collectively improving the transparency and manageability of AI-assisted development workflows.

Read original article →