Claude Code status line

claude-statusbar

A one-line status line showing 5-hour and 7-day rate-limit usage, reset countdowns, model and context, with several styles and themes.

388 stars 27 forksStatus lines Plugin marketplace Source

Install

Add the plugin marketplace
/plugin marketplace add leeguooooo/claude-code-usage-bar

Run inside Claude Code, then /plugin to pick what to install from it.

Install
pip install claude-statusbar     # or: uv tool install / pipx install
From source
git clone https://github.com/leeguooooo/claude-code-usage-bar.git

From the README

Using Codex CLI? Try the sibling project Codex Statebar — the same status bar, built for Codex.

Claude Status Bar

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.

English · 简体中文 · Install · Documentation

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.

- Official numbers — the same 5h / 7d limits Claude Code enforces, not a local guess.
- Prompt-cache countdown — ❄ 4m23s tells you when the next turn pays full price.
- Fast — native cache reader plus a background daemon; well under 1% CPU at one refresh per second.
- Opt-in extras — cost, relay balance, git ahead/behind, activity, IP checks, IELTS writing-coach progress.

Install

A prebuilt binary for macOS Apple Silicon and Linux x86_64 — no Python needed. Other platforms fall back to pip.

Windows (PowerShell, no admin):

pip / uv:

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.

Customize

Three looks — aurora with block bars (default), aurora with a thin line, and classic:

cs theme picks one with a live preview:

Documentation

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…
Read the full README on GitHub

How status lines work

  • A status line is a command Claude Code runs to draw the bar under the prompt. It gets the session as JSON on stdin (model, folder, cost, context) and prints one or more lines.
  • Point the statusLine setting in ~/.claude/settings.json at it: { "statusLine": { "type": "command", "command": "<the command from the README>" } }.
  • Or run /statusline inside Claude Code and describe what you want.
Claude Code docs

Details

Language
Python
License
MIT
Last updated
31 October 2026
Topics
ai-toolsanthropicclaudeclaude-aiclaude-codecli-tooldeveloper-toolsmonitoringproductivitypythonrate-limitstatus-bar

FAQ

What is claude-statusbar?

A one-line status line showing 5-hour and 7-day rate-limit usage, reset countdowns, model and context, with several styles and themes. It is a status line for Claude Code, from leeguooooo/claude-code-usage-bar on GitHub.

How do I install claude-statusbar?

Run pip install claude-statusbar # or: uv tool install / pipx install, then follow the setup in the README.

Is claude-statusbar popular?

leeguooooo/claude-code-usage-bar has 388 GitHub stars and 27 forks, and is included in 2 curated Claude Code lists. It was last updated on 31 October 2026.

More status lines

Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.