Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By sdrikv3.2.2MITIn 2 marketplaces
A rich Claude Code status line drawn by a mod: model, effort, context gauge, request counter, cost and 5h/7d rate-limit gauges in the footer, a summary under each turn, a toast when a threshold is crossed, and /context's breakdown in a pane opened from the footer.
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Context critical (tokens)ctx_crit
The context gauge turns red at this many input tokens; it is also the gauge's full scale.
numberdefault 200000
Context warning (tokens)ctx_warn
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it runs programs; writes files; reads files; reads environment variables (HOME, USERPROFILE); reads your settings; runs commands.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
The context gauge turns yellow, and a toast fires, at this many input tokens.
numberdefault 100000
Show git branchshow_git
Show the current branch, and a dot when the working tree has changes.
booleandefault false
Request counter: red fromturns_max
The request counter is fully red from this many requests.
numberdefault 250
Request counter: green up toturns_min
The request counter stays green up to this many requests.
numberdefault 30
Show emailshow_email
Show the signed-in account's email at the start of the line.
booleandefault false
A Claude Code plugin that draws a rich status line with a mod: code that runs inside Claude Code and draws into its interface, so it updates with the plugin and writes nothing to install itself.
Each figure sits where it reads best:
Footer, right of the hint line (always there):
focus │ email │ branch ● │ Opus 5.5 │ xhigh │ ███ 25% ░░░ ↑49.5k/1.0M ⊞ │ ⟳ 12 │ $0.84 │ █ 6% ░ 2h16 │ █ 5% ░ 4d 17h
focus, memory paused), kept on the left↑input/window in the same colour,
and ⊞, which opens the context pane⟳ N, the model requests of the main loop, on a green→red gradientSpinner, while Claude works: Baking · ⟳ 12…
Under each turn, beside Baked for 14s: ↑+12.3k ↓1.9k · ⟳ 4 · $0.12,
what that turn added to the context, its output tokens, its requests and its
cost. It is kept, and comes back after claude --resume.
Context pane, opened and closed by a click on ⊞ or by /ctx: the grid
and categories of /context, kept live, from a local estimate. Détail
counts them with the token-count API, as /context does, and adds the memory
files, MCP servers, agents, skills and slash commands; that count is taken
only on demand and kept until Rafraîchir.
Toast, when a threshold is crossed upward: 🟧 Contexte ≥ 100.0k,
🟥 Contexte ≥ 200.0k, 🟥 5h ≥ 80 %.
Rate-limit gauges are green below 50%, yellow from 50–79%, and red at 80% and above. The context gauge and the request counter tier differently — see Session degradation.
When the terminal narrows, the line switches to compact forms (shorter gauges,
O5.5, ↑49.5k), then drops, in this order: email, git, ⟳, effort, cost,
time to reset, rate-limit gauges, model. The context gauge and ⊞ never go.
Claude Code v2.1.289 or later, in the terminal or the desktop app. Mods draw
nothing in VS Code, in claude -p, or through the Agent SDK. The desktop app
has no turn summary, and draws the line in the band above the prompt, its
gauges as bars, leaving the model and the effort to its own footer.
Install and enable the plugin; the line appears at once. Disabling or uninstalling the plugin removes it.
Settings are the plugin's options, in /plugin (Installed → statusline →
configure) or under pluginConfigs in ~/.claude/settings.json:
| Option | Default | Effect |
|---|---|---|
ctx_warn | 100000 | input tokens at which the context gauge turns yellow and a toast fires |
ctx_crit | 200000 | input tokens at which it turns red; also the gauge's full scale |
turns_min | 30 | the request counter stays green up to this |
turns_max | 250 | it is fully red from this |
show_email | false | show the signed-in account's email |
show_git | false | show the branch and a dot when the tree has changes |
Nothing to do. Earlier versions put a statusLine entry in
~/.claude/settings.json; at the first session start the plugin removes it,
leaving every other setting as it was, and says so in a toast. It does that only
when the entry is provably one it wrote: 2.0.0's guarded command, or the 1.x
path with a renderer this plugin shipped, or nothing, behind it. Any other
statusLine is yours and stays; if it looks like a status line of this kind, a
toast mentions it once.
Two leftovers are harmless and can be deleted by hand:
~/.claude/statusline-plugin.json, and on 1.x installs
~/.claude/statusline-command.sh.
Two segments track how far a session has drifted from its best behaviour: the
context gauge and the turn counter. They measure different things and are meant
to be read side by side, because they call for different remedies — a full
context calls for /compact, a long loop calls for a fresh session.
⟳ N)N counts the model requests of the main loop since the session started (or
since the last /clear): one API request per agent-loop iteration — a model
call plus the tool calls it triggers. Sub-agent work is excluded.
It is not a count of your prompts. Every prompt costs at least one model call so
N does rise by one or more when you send one, but one instruction that fans out
into forty tool calls moves it forty times as far as ten short exchanges do.
That gap is the point of the segment: a session that looks young in conversation
can already be deep in the loop.
There is no bar and no alarm, and that is deliberate:
npx claudepluginhub sdrik/claude-statusline --plugin statuslinePlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.