Claude Code status line
claude-usage-monitor
A status line plugin showing 5-hour and 7-day quota, context usage, tokens and reset countdowns.
Install
git clone https://github.com/aiedwardyi/claude-usage-monitor.gitFrom the README
claude-usage-monitor Claude Code statusline plugin that shows your quota usage, context, tokens, and reset countdowns directly in the terminal. No API keys. No telemetry. No dependencies. Runs locally. Real-time usage tracking - green to yellow to red as your session progresses. Quickstart Windows PowerShell macOS / Linux What you get After install, restart Claude Code. Your statusline now shows: - 5h / 7d quota - see how much is left before you hit limits - Context % - see when you're running low before Claude tells you - Token counts - input and output for the current session - Reset countdown - know when your quota replenishes Uses your existing Claude Code OAuth session. No extra API key or Python packages needed. Windows launches Python directly - no Git Bash requirement. Prefer to audit first On Windows, py -3 install.py works too. The installer: - copies launcher files into ~/.claude/plugins/claude-usage-monitor - updates ~/.claude/settings.json (backs up to settings.json.bak first) - runs a launcher smoke check and prints the verify command Verify manually If you want to verify the launcher yourself before restarting Claude Code: - Windows: type nul | "C:\Users\you\.claude\plugins\claude-usage-monitor\statusline.cmd" - macOS / Linux: printf '' | bash ~/.claude/plugins/claude-usage-monitor/statusline.sh What it shows All three bars show remaining % by default - they start full (green) and drain toward empty (red) as you use quota, like a fuel gauge. Prefer the fill-up style Claude Code uses? Set CQB_REMAINING=0. Color coding Trust and security At runtime, the tool: - reads Claude Code session JSON from stdin - reads ~/.claude/.credentials.json for claudeAiOauth.accessToken (unless CLAUDE_CODE_OAUTH_TOKEN is set) - runs git rev-parse…
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
- aiedwardyi/claude-usage-monitor
- Type
- Status lines
- Language
- Python
- License
- MIT
- Last updated
- 31 October 2026
- Topics
- anthropicclaude-codeclideveloper-toolspluginproductivitypythonstatuslineterminal
FAQ
What is claude-usage-monitor?
A status line plugin showing 5-hour and 7-day quota, context usage, tokens and reset countdowns. It is a status line for Claude Code, from aiedwardyi/claude-usage-monitor on GitHub.
How do I install claude-usage-monitor?
Clone aiedwardyi/claude-usage-monitor from GitHub and follow the setup steps in its README.
Is claude-usage-monitor popular?
aiedwardyi/claude-usage-monitor has 58 GitHub stars and 14 forks. It was last updated on 31 October 2026.
More status lines
arcade-statusline
81sorosora/arcade-statusline
An arcade-themed status line with a Pac-Man style chase game and a flower-trail animation.
Model Relay
106cablate/model-relay
Per-window model switcher, subagent router, and automatic 429 failover for Claude Code — switch any window with /provider, delegate subagents across models, and keep Remote Control & statuslines working.
claude-watch
70xleddyl/claude-watch
A minimal status line for Claude Code.
claudia-statusline
37hagan/claudia-statusline
A Rust status line with compaction detection and SQLite-backed session tracking across consoles.
byebyecode
96byebye-code/byebyecode
An enhanced fork of CCometixLine that adds 88code account information to the status line.
claudeline
55fredrikaverpil/claudeline
A minimalist status line for Claude Code written in Go.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.