← Back to Leaderboard
Cleeguooooo

leeguooooo/claude-code-usage-bar

Local Claude Code statusLine for live quota, reset times, and cache freshness

Engineering Health (Methodology)
A · 87/100
Maintenance Activity
● Updated yesterday
Latest Release
v3.54.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption12/25
Release Cadence20/20
License Clarity20/20
CLISelf-Hosted
Total Stars
★ 396
24h Growth
+1
7d Growth
+2
Forks
29

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

leeguooooo/claude-code-usage-bar Star History (2025-08-18 - 2026-12-03) ALL-TIME STAR HISTORY (2025-08 – 2026-12) +395 in 472d · avg +1/day 418 209 0 2025-08-18: ★ 12025-09-20: ★ 952025-10-25: ★ 1042025-11-29: ★ 1172026-01-03: ★ 1242026-02-07: ★ 1302026-03-14: ★ 1462026-04-18: ★ 1942026-05-23: ★ 2322026-06-27: ★ 2772026-08-01: ★ 3312026-09-05: ★ 3582026-10-10: ★ 3752026-11-08: ★ 3882026-12-03: ★ 396 ★ 396 2025-08 2026-04 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Claude Status Bar is a local Claude Code extension, not a model backend or MCP server. The cs CLI wires the statusLine hook and installs a skill through cs --setup. The checkout contains .claude-plugin/, commands/, and skills/ alongside src/ and tests/. The claude-statusbar package targets Python 3.9+ and uses setuptools>=61.0 and wheel for builds, not as evidence of runtime dependencies.

The renderer combines Claude Code session data with shared quota snapshots. A session can borrow an account snapshot for display when its payload omits rate_limits, but that fallback is not a new measurement. Fast mode adds a native cache reader and background daemon to the refresh path. The last_stdin.json cache also serves as a local integration point: ccx reads its rate_limits while the data is fresh.

Key Capabilities & Differentiators

The usage line displays Claude Code's enforced 5-hour and 7-day rate limits, reset countdowns, and end-of-window projections marked →NN%. The current rate-limit values come from Claude Code; the projections are estimates. The line also shows the active model, context window and prompt-cache countdown, with optional session cost or relay balance. Relay, Bedrock and Vertex have a no-quota layout rather than assuming the standard limits are available.

A separate project line shows the Git worktree marker, project and branch, session line additions and deletions, elapsed time and version. Three styles and nine themes cover block-bar Aurora, thin-line Aurora and Classic. cs theme previews themes interactively, cs preview shows the styles with live values, and cs config set narrow_layout stack stacks quota bars in narrow panes.

Trade-offs & Limitations

Choose cs for immediate quota decisions inside Claude Code, not historical spend analysis. ccusage and Claude Code Usage Monitor are better fits for charts and weekly cost breakdowns and can coexist in a side pane. Local rendering keeps the interface close to the active session; the trade-off is dependence on rate_limits being available and fresh. When those fields are absent, a shared snapshot can keep the bar useful, but it cannot substitute for a current reading.

The daemon adds a background process and shared state in exchange for a faster refresh path. CPU use is reported at well under 1% at one refresh per second, not as a sizing guarantee for every host. For a managed rollout, review the installer, local cache and automatic update behavior. MIT permits commercial deployment and redistribution subject to retaining the copyright and permission notices.

Hardware & Deployment Guide

Deployment is local to the Claude Code workstation. Prebuilt binaries cover macOS on Apple Silicon and Linux x86_64 without a Python prerequisite. Other platforms can use the Python package: install claude-statusbar via pip, uv or pipx, run cs --setup, and restart Claude Code. Windows also has a no-admin PowerShell installer. cs self-upgrades on a six-hour cadence; cs upgrade triggers a manual update. This installs a local display, not an offline Claude inference stack.

v3.53.1 disabled the exit-IP probe, removing its lookups to ipify and ipapi.is; cs doctor reports it disabled. v3.53.2 stopped sessions from writing borrowed quota snapshots back as fresh readings. In v3.53.3, if a newly seen session's transcript was last written more than ten minutes ago, its quota reading is display-only. This prevents long-idle sessions from raising shared usage after their records expire or the daemon restarts.

Integration: cs --setup wires the Claude Code statusLine hook and installs the skill; it does not require an MCP service.
Quota telemetry: 5h and 7d enforcement windows, reset countdowns, and end-of-window projections shown as →NN%.
Cache freshness: A prompt-cache countdown alongside model and context, with a native cache reader and daemon for the fast refresh path.
Multi-session consistency: v3.53.2 prevents borrowed snapshots from being written back; v3.53.3 also guards first sightings using transcript age.
Terminal layout: Three styles and nine themes, a live cs theme picker, and narrow_layout stack for narrow panes.
Local interoperability: ccx can read fresh rate_limits from ~/.cache/claude-statusbar/last_stdin.json.
Best For

Claude Code users who want quota, reset and prompt-cache signals in the active terminal, especially when switching between sessions or working in narrow panes.

Skip If

You primarily need historical cost reporting, organization-wide telemetry, or quota observability independent of Claude Code session data.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releases · Newer release v3.54.0 (2026-12-02) shipped after this reviewMethodology

Quick Start & Installation

CLISelf-Hosted
curl -fsSL https://raw.githubusercontent.com/leeguooooo/claude-code-usage-bar/main/install.sh | bash

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
claude-code-usage-bar ★396+2PythonMITLocal Claude Code statusLine for live quota, reset times, and cache freshness
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c
rtk88.7k+684RustApache-2.0A local Rust CLI wrapper that trims command output before coding agents read it.
ponytail204.4k+4.1kJavaScriptMITA prompt-driven coding-agent plugin for smaller changes and focused tests.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/leeguooooo/claude-code-usage-bar.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

leeguooooo/claude-code-usage-bar Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about claude-code-usage-bar

How does `cs` integrate with Claude Code, and does it need an MCP server?

Run cs --setup after installing the package to wire Claude Code's statusLine hook and install the skill, then restart Claude Code. The integration consumes session data such as rate_limits; the daemon is a local fast path for refreshes, not an MCP server or a model endpoint.

What hardware does it need, and what should I expect from fast mode?

No GPU or VRAM budget is needed for the status bar: it renders client telemetry rather than running inference. Fast mode uses a native cache reader and a background daemon. The reported CPU figure is well under 1% at one refresh per second; measure on your own host if refresh overhead matters.

Can a company deploy and redistribute it internally?

Yes. The MIT license permits commercial use and local deployment. Retain the copyright and permission notices when redistributing copies or substantial portions. Internal deployment does not remove the need to manage the default self-upgrade behavior or review access to locally cached session data.

When should I choose `cs` over `ccusage` or Claude Code Usage Monitor?

Use cs for current quota utilization and reset times inside Claude Code. Use ccusage or Claude Code Usage Monitor when charts and weekly cost breakdowns matter more. They can run in a side pane alongside cs, so live quota awareness and historical reporting need not come from the same tool.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining leeguooooo/claude-code-usage-bar? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature leeguooooo/claude-code-usage-bar on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare