Claude Code Statusline Kit (Free)

See your context window, cost and usage limits at a glance in Claude Code, installed in one command.

Claude Code Statusline Kit (Free) product illustration

What it does

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% ↻2d5h

What you get

The 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.

Real terminal output from Claude Code Statusline Kit: demo and passing tests

Install

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 --uninstall

It 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).

What it shows

SegmentFrom Claude Code's status line JSON
model, fast, effort:highmodel.display_name, fast_mode, effort.level
folder (and subfolder, worktree)workspace.project_dir, current_dir, git_worktree
git branch, staged/modified/untracked, ahead/behindgit status (1 s timeout, cached 5 s)
PR number and review state, clickablepr
context bar, %, tokens used/sizecontext_window.used_percentage, total_input_tokens, context_window_size
prompt cache hit rate and time until it goes coldprompt_cache
session costcost.total_cost_usd
5-hour and 7-day limit %, reset countdown; spend limitrate_limits (Pro/Max/Ultra plans, after the first reply)
lines added/removed, session time, vim mode, agentcost, 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.

Configure

~/.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.

Try it

./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.

Honest limits

  • The 5-hour and 7-day limits show only on Pro, Max and Ultra plans, after the first reply.
  • Git status has a 1 s timeout and is cached 5 s.

Format and license

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.

FAQ

Is it free?
Yes, enter your email for the newsletter or download directly.
Why don't I see the 5h and 7d limits?
Claude Code only sends rate limits for Pro, Max and Ultra plans, after the first reply in a session.
Will it overwrite my settings?
No, the installer backs up settings.json and only changes the statusLine key; --uninstall removes it.
How do I get the files?
Click Download free. The zip downloads straight away: no checkout, no account.
Do I have to sign up for the newsletter?
No. The form is optional and the download works without it.

Get Claude Code Statusline Kit (Free)

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.

Pairs well with

DownloadFree

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)
Download$12

Cursor Rules for Go

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 Go

Related

1 email a week: new x402 + MCP tools and free kits.

Short 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.