Lightweight status bar monitor for Claude AI token usage
pip install claude-statusbar==3.53.0 Copy PIP instructions
Using Codex CLI? Try the sibling project Codex Statebar — the same status bar, built for Codex.
Your Claude Code usage, at a glance. 5h / 7d rate-limit bars, reset countdowns, model, context window, and prompt-cache freshness — inline in Claude Code's status line.
Claude Code tells you almost nothing about where you stand against your rate limits. cs puts the numbers that matter on one quiet line at the bottom of your terminal: how much you have left, and when it resets.
curl -fsSL https://raw.githubusercontent.com/leeguooooo/claude-code-usage-bar/main/install.sh | bash A prebuilt binary for macOS Apple Silicon and Linux x86_64 — no Python needed. Other platforms fall back to pip.
irm https://raw.githubusercontent.com/leeguooooo/claude-code-usage-bar/main/install.ps1 | iex pip / uv:
pip install claude-statusbar # or: uv tool install / pipx install cs --setup # wires the statusLine hook + installs the skill Restart Claude Code and the bar appears. cs upgrades itself every 6 hours; if you're stuck on an old version, run cs upgrade or re-run the one-liner (why). More paths in the install guide.
Three looks — aurora with block bars (default), aurora with a thin line, and classic:
cs theme # pick one with a live preview (↑/↓, Enter) cs config set bar_glyph thin # thin ━ line instead of ■ blocks (default) cs config set style classic # the original battery-bar look cs config set narrow_layout stack # stack quota bars in narrow panes cs preview # all three looks, with your real numbers cs config show # every key, and which ones you changed Documentation Guide What's inside Install Binary, PyPI, skill-only, plugin, Codex bridge What it shows Every segment, icon and color threshold Looks The three looks, slash commands Configuration All keys, env vars, JSON output Fast mode (daemon) Daemon, auto-start, refresh and caching No-quota mode Relay / Bedrock / Vertex layout and balance Cache countdown How ❄ 4m23s is computed Troubleshooting cs doctor, IP checks, upgrading Want charts and weekly cost breakdowns instead of one line? Run ccusage or Claude Code Usage Monitor in a side pane — they coexist with cs.
ccx — keeps a Claude Code session and a Codex thread linked on macOS. With the bar installed, ccx's menu bar app warns you when Claude's 5-hour window passes 90% or its weekly quota is exhausted, and offers to continue the newest session in Codex in one click (no config; ccx reads rate_limits from ~/.cache/claude-statusbar/last_stdin.json while it's fresh).
PRs welcome — see CONTRIBUTING.md (setup, tests, architecture, release flow) and SECURITY.md. Changes per version: CHANGELOG.md.
Built by 郭立 (Guo Li / leeguoo) — leeguoo.com · GitHub · X · more tools in the *-use family.
Both files in this release have provenance metadata.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




