Claude Code status line
Claude Usage Bar
Persistent usage status bar for Claude Code CLI — rate limits, context window, reset countdown
Install
git clone https://github.com/bhutano/claude-usage-bar.gitFrom the README
claude-usage-bar A persistent status bar for Claude Code CLI that shows your account's rate limit usage (5h and 7d windows), current session context, countdown to reset, and current session details — just like the "Usage" page in Claude settings. The bar updates automatically after every response, right below the input box. Also using Codex CLI? Check out codex-usage-bar: the same compact usage-bar idea, rebuilt around Codex CLI's local session logs. 🌐 Leggi in italiano Preview Plain text preview (no color) Fields | reset | Countdown to limit reset | hours/minutes if Note: 5h and 7d show real data only with a Claude.ai Pro or Max plan. They will appear as N/A when using a standalone API key. Requirements - Claude Code CLI installed - Python 3.6+ for the Bash renderer (the native PowerShell renderer does not require Python) - Claude.ai Pro or Max plan for rate limit data Installation Option 1 — Automatic (recommended) macOS / Linux / Git Bash / WSL: Native Windows PowerShell: Both installers ask you to choose a language, then set everything up automatically. The PowerShell installer backs up an existing settings.json as settings.json.bak before changing it. Then restart Claude Code. Windows: use install.ps1 for a native Windows Claude Code. Only use WSL if Claude Code also runs inside WSL — otherwise the status bar installs into WSL's Linux home (/home//.claude) and Windows Claude Code won't see it. Option 2 — Manual 1. Copy statusline-usage.sh to ~/.claude/ and make it executable: 2. Copy the config file: 3. Add to ~/.claude/settings.json: 4. Restart Claude Code. On native Windows, copy statusline-usage.ps1 to %USERPROFILE%\.claude\ and use this command instead: Option 3 — Skill /usage-bar Copy the repo folder into ~/.claude/skills/: Then type…
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.
Details
- Repository
- bhutano/claude-usage-bar
- Type
- Status lines
- Language
- Shell
- License
- MIT
- Last updated
- 21 August 2026
- Topics
- anthropicbashclaudeclaude-codeclideveloper-toolspythonquota-monitorrate-limitstatus-barterminal
FAQ
What is Claude Usage Bar?
Persistent usage status bar for Claude Code CLI — rate limits, context window, reset countdown It is a status line for Claude Code, from bhutano/claude-usage-bar on GitHub.
How do I install Claude Usage Bar?
Clone bhutano/claude-usage-bar from GitHub and follow the setup steps in its README.
Is Claude Usage Bar popular?
bhutano/claude-usage-bar has 33 GitHub stars and 8 forks. It was last updated on 21 August 2026.
More status lines
Claude Statusline
34AndyShaman/claude-statusline
Rich statusline for Claude Code — model, context bar, usage limits (H/W), git branch, session time. Cross-platform.
Agy Powerline
31wassim-azi/agy-powerline
agy statusline for Google Antigravity CLI: live Gemini, Claude and Argon quota pacing, git, themes and an interactive TUI configurator
claude-statusline-burnrate
22Gui-Gou/claude-statusline-burnrate
A status line that works out a sustainable daily burn rate against your weekly limit.
Claude Skins
20basicScandal/claude-skins
Custom skins (visual themes) for Claude Code CLI
Claude Usage Monitor
37Gronsten/claude-usage-monitor
VS Code extension to monitor Claude.ai usage and display in status bar
Glm Quota Line
33deluo/glm-quota-line
A lightweight CLI for showing GLM Coding Plan quota in the Claude Code status line.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.