Claude Code Usage Report (Free)
Free CLI: see Claude Code tokens and API-equivalent cost by day, project, model, session and 5-hour window from local logs. No install, offline.
View Claude Code Usage Report (Free)
See your context window, cost and usage limits at a glance in Claude Code, installed in one command.

A status line for Claude Code that shows what you actually need to keep working: how full the context window is, what the session has cost, how much of your 5-hour and weekly limits you've used and when they reset, whether the prompt cache is still warm, plus git branch, PR and model. One Python file, no dependencies, under 50 ms.
Opus | acme-app/web | git:feat/login +1~2 | ███████░░░ 74% 148k/200k | $3.47 | 5h 24% ↻2h15m 7d 91% ↻2d5hThe screenshot is real output from the kit’s own commands. Tested from a fresh download of this exact zip: ./run_tests.sh ran 10 tests OK on Python 3.13 and 3.10.

python3 install.py # default preset; backs up ~/.claude/settings.json and keeps your other settings
python3 install.py --preset two-line --icons emoji
python3 install.py --project # this repo only (.claude/settings.json)
python3 install.py --uninstallIt copies statusline.py to ~/.claude/ and sets:
{"statusLine": {"type": "command", "command": "python3 ~/.claude/statusline.py", "padding": 0}}The line appears after your next message. On Windows the command uses python (Claude Code runs it through Git Bash or PowerShell).
| Segment | From Claude Code's status line JSON |
|---|---|
| model, fast, effort:high | model.display_name, fast_mode, effort.level |
| folder (and subfolder, worktree) | workspace.project_dir, current_dir, git_worktree |
| git branch, staged/modified/untracked, ahead/behind | git status (1 s timeout, cached 5 s) |
| PR number and review state, clickable | pr |
| context bar, %, tokens used/size | context_window.used_percentage, total_input_tokens, context_window_size |
| prompt cache hit rate and time until it goes cold | prompt_cache |
| session cost | cost.total_cost_usd |
| 5-hour and 7-day limit %, reset countdown; spend limit | rate_limits (Pro/Max/Ultra plans, after the first reply) |
| lines added/removed, session time, vim mode, agent | cost, vim, agent |
Colors turn yellow at 70% and red at 90% (warn_at, danger_at). Fields Claude Code hasn't sent yet are skipped, never shown as errors. When the terminal is narrow it drops the least important parts first (it reads COLUMNS, as the docs require). It respects NO_COLOR. Any error prints a plain fallback and exits 0, so the UI never breaks.
~/.claude/statusline.json:
{"preset": "full", "icons": "nerd", "bar_width": 12, "warn_at": 60, "danger_at": 85, "git_cache_seconds": 5,
"lines": [["model", "dir", "git"], ["context", "limits", "cost"]]}Presets: minimal, default, full, two-line. lines overrides the preset with your own segment order (names from the table: model, effort, dir, git, pr, context, cache, cost, limits, lines, duration, vim, agent). For a ticking reset countdown, install with --refresh 30.
./demo.sh renders every preset for a sample session. ./run_tests.sh runs 10 tests (rendering, null fields, narrow terminals, git parsing, installer keeping your settings).
Field names were checked against the Claude Code status line docs (code.claude.com/docs/en/statusline) on Nov 10, 2026. Not affiliated with Anthropic.
Zip, 12 KB, v1.0, 10 files. Free to use, modify and share for any purpose, including commercial work, as long as this notice stays in copies. Not affiliated with or endorsed by Anthropic.
Free Claude Code statusline: context bar, session cost, 5-hour and weekly limits with reset times, cache, git and PR. One-command install, Python, no deps.
Free CLI: see Claude Code tokens and API-equivalent cost by day, project, model, session and 5-hour window from local logs. No install, offline.
View Claude Code Usage Report (Free)Cursor rules for Go: 7 scoped .mdc rules for errors, concurrency, net/http, testing, modules and JSON, current to Go 1.27, with a tested sample app.
View Cursor Rules for Go3 database MCP servers: PostgreSQL, MySQL and SQLite, read-only by default, with EXPLAIN and health checks. Claude Code, Desktop, Cursor. $59 ($87 separately).
View Database MCP Servers Bundle: PostgreSQL, MySQL, SQLiteShort weekly digest of new x402 + MCP tools and free kits, including the MCP OAuth Checker. The download above works without signing up. No spam, unsubscribe any time.