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 stanlrtMITIn 1 marketplace
Rich Claude Code status line with cache metrics, git info, cost tracking, and context window usage.
You run one by typing its /name in Claude Code.
1 caution to review before installing
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A rich status line for Claude Code showing the usual (Git, costs, models...) but also cache metrics and compaction+context usage.
Why does it matter? Because cached tokens count 90% less towards your usage limit/API costs.
On a normal turn:
Normal
Compact
On a cache miss/bust turn:
Normal
Compact
npx -y simple-claude-code-status-line
That's it. The command writes the statusLine entry into ~/.claude/settings.json for you. Restart Claude Code to see it.
Run again any time to repair/reset the entry. Existing settings are preserved.
If detection fails on your shell, force install mode explicitly:
npx -y simple-claude-code-status-line init
/plugin marketplace add https://github.com/stanlrt/simple-claude-code-status-line.git
/plugin install simple-claude-code-status-line@simple-claude-code-status-line
Then run /statusline-setup and Claude will handle the rest.
[!NOTE] Plugin install uses
git clone. If your global git config rewrites HTTPS to SSH (url.<x>.insteadOfrule), the clone will fail with a host key error. Use Option A or Option C.
Copy statusline-command.js to ~/.claude/statusline-command.js
Add to ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "node /absolute/path/to/.claude/statusline-command.js"
}
}
[!IMPORTANT] Use the absolute path. The
~shorthand is not expanded in the command value.
| Symbol | Meaning |
|---|---|
🗿 / 🗿🗿 / 🗿🗿🗿 | Caveman mode intensity: lite / full / ultra (requires caveman plugin, optional but recommended) |
Claude Sonnet 4.6 | Current model |
▸ opus | Advisor model (if configured via /advisor) |
████████░░ 78% | Context window usage bar, see below |
hit:87% | Cache hit rate this turn |
fresh:1.2k | Uncached input tokens this turn; what you pay full price for |
write:46.3k | Tokens written to cache this turn (only shown when nonzero). Spikes on first turn or after a bust |
BUST | Cache miss detected. Appears when hit:0% and input is substantial |
⎇ main | Current git branch |
+2 | Staged files (green) |
~1 | Modified files (yellow) |
?3 | Untracked files (gray) |
↓2 | Commits behind remote (purple) |
$0.0042 | Estimated cumulative session cost |
5h:67% | Tokens used in current 5-hour billing block vs your historical max (via ccusage). Green <50%, yellow <75%, red ≥75%. Hidden if no data. |
~/projects/myapp | Current working directory |
The entire bar represents your model's context window (100% means it is fully saturated).
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.
npx claudepluginhub stanlrt/cc-cache-aware-status-line --plugin simple-claude-code-status-linePlugins from other owners that cover similar ground