Claude Code status line
Claude Statusbar
A rich, two-line status bar for Claude Code CLI — real-time model, context usage, tokens, cost, duration, git branch, cache stats and more in your terminal
Install
git clone https://github.com/vbcherepanov/claude-statusbar.gitFrom the README
claude-statusline A rich, three-line status bar for Claude Code CLI — works on macOS, Linux, WSL2, and Windows. Displays real-time session metrics directly in your terminal — model, context usage, tokens, cost, duration, git branch, cache stats, subscription usage limits, and more. Why this exists Claude Code's built-in status line shows the model name and a terse percentage. That's fine until you: - Burn through your 5-hour / 7-day subscription quota without noticing and get cut off mid-task. - Hit context auto-compaction and lose state because you didn't see 85% approaching. - Rack up API cost on long sessions with no live $ counter. - Lose track of cache hits vs writes when debugging performance. - Switch between projects and forget which branch you're on. claude-statusline solves all of it in a single shell script — zero runtime dependencies beyond jq and curl, ~20 ms per update, no daemon, no background process. What it shows Line 1 — model, context, tokens, cache - Model name — which Claude model is active (color: cyan bold) - Context usage bar — 20-char visual progress bar with color thresholds (green 200K warning when tokens exceed 200K Line 3 — subscription quota Real subscription limits pulled from https://api.anthropic.com/api/oauth/usage (cached 2 min). Shows remaining quota with a fuel-gauge colour (green > 50% → yellow > 20% → red) and countdown to reset. Only appears when you're logged in via claude.ai OAuth (not API key). Platform support * — optional. If the notifier isn't installed the feature silently no-ops (status line still works). WSL2 is treated as Linux (detected via /proc/version). If you want native Windows toast notifications from inside WSL2 you'll need WSLg + a Linux notifier, or invoke BurntToast via…
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
- vbcherepanov/claude-statusbar
- Type
- Status lines
- Language
- Shell
- License
- MIT
- Last updated
- 15 September 2026
- Topics
- anthropicbashclaudeclaude-codeclideveloper-toolsmacosshellstatusbarstatuslineterminal
FAQ
What is Claude Statusbar?
A rich, two-line status bar for Claude Code CLI — real-time model, context usage, tokens, cost, duration, git branch, cache stats and more in your terminal It is a status line for Claude Code, from vbcherepanov/claude-statusbar on GitHub.
How do I install Claude Statusbar?
Clone vbcherepanov/claude-statusbar from GitHub and follow the setup steps in its README.
Is Claude Statusbar popular?
vbcherepanov/claude-statusbar has 29 GitHub stars and 1 forks. It was last updated on 15 September 2026.
More status lines
Claude Statusline
27alp82/claude-statusline
One bash script for the Claude Code statusline: dir, branch, model, context window, and 5h / 7d / Fable rate-limit bars.
Capybara Toolbox
32dvwinck/capybara-toolbox
Five Claude Code plugins, Python stdlib + git. ar-board: judge agent proposals one by one on a local board; the agent keeps your reasons. publish-check: scan a repo's history for personal data before it goes public. tidy-board: delete stale branches, worktrees, and stashes only on approval. Plus doc, handoff, and TODO tools, and a status line.
Termagitchi
18TevvvB/termagitchi
A creature for every git worktree, living in your coding agent's status line. Deterministic species, rarity bands, and one view across every live session.
Claude Statusline
27hell0github/claude-statusline
A Lightweight Statusline plugin for Claude Code CLI to track context, cost usage and session reset time
Ccsidekick
31krayong/ccsidekick
A Claude Code status line with a reactive character plus cost, git, and usage widgets. Zero token spend, local-first, MIT.
agent-usage-tmux
13artischocki/agent-usage-tmux
Shows Claude Code and Codex usage in the tmux status line.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.