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 FabienSallesv1.1.0MITIn 1 marketplace
Puts your context usage, git branch and 5h rate-limit countdown into Claude Code's status line. Needs jq and /statusline:setup after install, since the plugin alone cannot activate it; the 5h countdown appears only for Claude.ai Pro/Max.
Trending plugins
7-day copy clicks
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
statusline, status-bar, context-usage, git-branch, rate-limit, progress-bar, terminal-prompt, context
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code statusline: directory, git branch, model, context progress bar, and 5h rate-limit usage with time-to-reset.

Plain-text fallback (no terminal colors):
~/projects/github/claude-marketplace | main | Opus 4.7 (1M context) | ctx:[██░░░░░░░░] 29% | 5h:5% · 4h14
Claude Code does not accept the statusLine key in plugin.json, so /plugin install statusline alone cannot activate the bar. /statusline:setup finishes the wiring:
/plugin marketplace add FabienSalles/claude-marketplace
/plugin install statusline@fabien-claude-marketplace
/statusline:setup
/statusline:setup creates the symlink ~/.claude/statusline-command.sh → ${CLAUDE_PLUGIN_ROOT}/statusline.sh and writes statusLine.command = "~/.claude/statusline-command.sh" to ~/.claude/settings.json, backing up the previous settings.json before editing it. The symlink shields settings from the plugin cache path, which rotates on every plugin update. Re-run /statusline:setup after upgrading the plugin so the symlink target follows.
Segments are joined by |:
| Segment | Color | Content |
|---|---|---|
~/path | blue | current directory (HOME replaced with ~) |
branch | yellow | git branch (falls back to worktree name) |
Model name | cyan | active Claude model |
ctx:[████░░░░░░] 42% | green / yellow / red | context window usage (green <50 %, yellow ≥50 %, red ≥80 %) |
5h:67% · 1h42 | magenta | 5h rate-limit usage and time until reset (the · HhMM only appears when rate_limits.five_hour.resets_at is provided by Claude Code) |
The 5h block is only emitted by Claude.ai Pro/Max subscribers and only after the first API response of the session.
"refreshInterval": 60 next to statusLine in ~/.claude/settings.json so the bar (and the countdown) refreshes every minute even when no event fires.jq (already installed on most Macs via Homebrew).statusline.sh: the script (single jq pass, ~80 lines)commands/setup.md: the /statusline:setup slash command.claude-plugin/plugin.json: manifestBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub fabiensalles/claude-marketplace --plugin statusline