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 hopchouinardv1.6.0MITIn 1 marketplace
4-line ANSI dashboard statusline for Claude Code showing environment and reasoning effort, context window and subscription rate limits, session cost, and git and worktree status
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
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 Claude Code plugin that renders a 4-line ANSI-colored statusline dashboard showing environment info and reasoning effort, context window usage and subscription rate limits, session cost, and git and worktree status.
ENV: CC:2.1.220 | Model: Opus 5 (1M context) | Eff: high | SK: 44 | MCP: 5 | Hooks: 7
CTX: ▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░ 17% of 1M | 5h: 42% (2h14m) | 7d: 68% (3d5h)
USE: $0.42 | 45m12s | API: 12m3s | +156 -23 lines
GIT: my-project | feat-x | WT: feat-x ← main | Age: 25m | Mod: 3 | Staged: 1 | ↑2 ↓0
| Line | Content |
|---|---|
| ENV | Claude Code version, model name (with context window), reasoning effort, skill/MCP/hook counts |
| CTX | Context window usage with color-coded progress bar, plus 5-hour and 7-day subscription limits |
| USE | Session cost, wall-clock duration, API duration, lines added/removed |
| GIT | Repo name, branch, worktree, last commit age, modified/staged file counts, unpushed/unpulled |
Three sections appear only when Claude Code sends the data, and are omitted entirely — separator included — when it does not:
| Section | Appears when |
|---|---|
Eff: <level> | the current model supports reasoning effort |
5h: / 7d: | you are on a Claude.ai subscription, after the session's first API response |
WT: <name> | the current directory is inside a git worktree |
The WT: section shows the worktree name and the branch it was created from.
The branch checked out in the worktree is already the branch shown earlier on
the line.
If a section does not appear and you think it should, capture the raw payload Claude Code is sending.
On macOS/Linux:
touch ~/.claude/statusline-debug
# send any message so the statusline re-renders
cat ~/.claude/statusline-payload.json
rm ~/.claude/statusline-debug
On Windows (PowerShell):
New-Item -ItemType File -Force "$HOME\.claude\statusline-debug"
# send any message so the statusline re-renders
Get-Content "$HOME\.claude\statusline-payload.json"
Remove-Item "$HOME\.claude\statusline-debug"
The capture only runs while the flag file exists, so delete the flag when you are done.
/plugin marketplace add hopchouinard/patchoutech-plugins
/plugin install cc-statusline@patchoutech-plugins
The plugin includes a setup command that deploys the script and configures your settings automatically:
/cc-statusline:setup
This will:
statusline.py to ~/.claude/statusline.pystatusLine config to ~/.claude/settings.json with the correct Python command (python3 on macOS/Linux, python on Windows)Note: A SessionStart hook also runs automatically on each new session. It keeps the script up to date and reminds Claude to suggest setup if the config is missing.
The statusline appears on the next session start.
/plugin update cc-statusline@patchoutech-plugins
/reload-plugins
The SessionStart hook will automatically deploy the updated script to ~/.claude/statusline.py on your next session.
Test rendering with a sample payload:
/cc-statusline:statusline-test
Skills, MCP servers, and hooks are counted across all sources:
| Source | Skills | MCP Servers | Hooks |
|---|---|---|---|
Global (~/.claude/) | commands/, skills/ | settings.json | settings.json |
Project ({cwd}/.claude/) | commands/, skills/ | settings.json, settings.local.json, .mcp.json | settings.json, settings.local.json |
Plugins (installed_plugins.json) | skills/, commands/ | .mcp.json | hooks/hooks.json |
Counts are cached for 60 seconds.
| Metric | Green | Yellow | Red | Blinking Red |
|---|---|---|---|---|
| Context window | 0-50% | 51-75% | 76-90% | >90% |
| Rate limits (5h, 7d) | 0-50% | 51-75% | 76-90% | >90% |
| Cost | < $1 | $1-$5 | > $5 | -- |
Effort is colored by cost rather than alarm: low dim, medium green,
high yellow, xhigh red, max bold red. It never blinks — blinking is
reserved for the >90% alarms above.
The plugin auto-detects the platform and adapts accordingly:
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.
cc-statusline@patchoutech-plugins is listed by hopchouinard/patchoutech-plugins — review the source before installing
npx claudepluginhub hopchouinard/patchoutech-plugins --plugin cc-statuslinePlugins from other owners that cover similar ground