Claude Usage Statusline — AI skill for Claude Code
Dependency-free Claude Code statusline: model, context usage, 5h/weekly rate limits, tokens, cost — one line.
How to install Claude Usage Statusline
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open savinofiore/claude-usage-statusline and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Usage Statusline does
Dependency-free Claude Code statusline: model, context usage, 5h/weekly rate limits, tokens, cost — one line.
Alternatives in AI
- Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
- Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
- Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
README
claude-usage-statusline
A [Claude Code](https://claude.com/claude-code) plugin: a single-file, dependency-free status line showing model, context usage, 5-hour and weekly rate-limit windows, token count and session cost — all on one line.
Sonnet 5 ctx [ ] 0% 5h [██████ ] 26% 3h28m weekly [████████ ] 44% 16h28m 0 tok $0.00
Install
/plugin marketplace add savinofiore/claude-usage-statusline
/plugin install claude-usage-statusline@claude-usage-statusline
Start a new session — a `SessionStart` hook wires the statusline into `~/.claude/settings.json` automatically. It's idempotent and never overrides a statusline you already have; if it finds one, it tells you instead of touching it (see **Manual install** below).
Requirements
- Python 3 (stdlib only, no
pip installneeded)
Manual install
If you don't use the plugin marketplace, or the hook found an existing statusline, add this to `~/.claude/settings.json` yourself, pointing at `hooks/usage-statusline.py` from this repo:
{
"statusLine": {
"type": "command",
"command": "python3 /path/to/claude-usage-statusline/hooks/usage-statusline.py"
}
}
How it works
Claude Code pipes a JSON payload (model info, context window, rate limits, cost) to the statusline command on stdin. The script reads it and prints one ANSI-colored line: bars turn green → yellow → orange → red as each budget fills up.
Uninstall
/plugin uninstall claude-usage-statusline@claude-usage-statusline
This doesn't remove the `statusLine` entry from `settings.json` — delete it by hand if you no longer want the badge.
License
MIT — see [LICENSE](LICENSE).
Related Skills
ClaudeUsageMonitor
Free always-on-top desktop widget for Windows and macOS that shows your Claude usage limits live - 5-hour sess
Usage Band Mod
Claude Code mod: a live usage band above the prompt with context window, 5-hour, weekly and per-model limits a
AI Usage Inspector
Records every AI coding-agent prompt — tokens, model, context %, and cost — from Claude Code, Codex, Cursor, O
Gauge Calibrate
Refresh the tracked model's (default Fable) weekly % estimate from claude.ai/settings/usage -- the one number
ClaudeCodeStatusLine
Custom status line for Claude Code showing model, tokens, rate limits, and git info in real-time.
Claude Code Experience Kit
Harness-level customizations for Claude Code: give the agent live sight of its own context fill, quota window,
Related Agents
Cost Estimator
Estimates Cloudflare Workers costs before deploying. Reads wrangler.toml, counts D1 tables/rows, estimates KV/
AI Cost Optimizer
Audits an LLM application or AI agent for token cost and rate-limit risk, using its usage logs and code, and r
Usage Reporter
Reads real Claude Code usage from ~/.claude/stats-cache.json. Reports daily/weekly token usage by model, cache