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 artem-from-uav0.7.1MITIn 1 marketplace
Gives Claude Code a one-line statusline that tracks your git branch, context usage and session spend. Its render says it makes no network calls and needs only jq and git; the setup command asks before overwriting another statusline.
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, git-status, worktree, context-usage, session-cost, terminal-prompt, status-bar
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
[!TIP] ✨ A minimal single-line statusline — repo, branch, model, context, and cost at a glance. No network, just
jqandgit.
A lightweight sibling of the statusline plugin: one line rendered
entirely from the JSON Claude Code already pipes in, plus local git. No API calls, no python3,
no progress bars.
[!NOTE] ⚙️ How it works · 🎨 Layout · 📦 Installation · 🔧 Setup · 📚 Reference
In the main checkout (yellow Root badge, attached to the branch):
claude-plugins Root・main Opus・4.8・high 1M・5% $0.52
Inside a git worktree there is no badge — the branch itself reads worktree-<name>, with the
worktree- head and the + dimmed ([CP] = uncommitted changes + unpushed commits):
claude-plugins worktree-feature+statusline-compact・[CP] Opus・4.8・high 1M・5% $0.69
In an ultra effort mode, the effort level is replaced by a single violet ultra token:
claude-plugins Root・main Opus・4.8・ultra 1M・5% $0.52
[CPM] block over one feature's lifecycle
Mis disabled by default. TheMletter is the only part that shells out togh, and it's temporarily off while we measureghload across cases (it's under suspicion of overloadinggh).CandPwork unchanged. To opt back in — e.g. to take measurements — setSTATUSLINE_COMPACT_ENABLE_PR_CHECK=1in the environment the statusline runs in. The examples below show the full[CPM]behaviour as it works withMenabled.
Watch the same terminal as you take a change from edit to merge — the block flips through
[C] → [P] → [M] and then disappears. Each letter is red, the brackets gray; the whole block
(and its ・) is omitted the moment nothing applies.
# 1. you edit a file — uncommitted work → C
claude-plugins worktree-feature+login・[C] Opus・4.8・high 1M・12% $0.30
# 2. you commit locally — C clears, but the commit isn't on the remote yet → P
claude-plugins worktree-feature+login・[P] Opus・4.8・high 1M・14% $0.41
# 3. you push — nothing is out of sync, so the block vanishes for a moment
claude-plugins worktree-feature+login Opus・4.8・high 1M・15% $0.48
# 4. you open a PR — the branch is pushed & clean, so M is now checked (background gh);
# the open PR isn't merged yet → M
claude-plugins worktree-feature+login・[M] Opus・4.8・high 1M・18% $0.55
# 4b. you commit a fixup on top — not pushed yet → P, but the PR is still open → M stays → PM
claude-plugins worktree-feature+login・[PM] Opus・4.8・high 1M・19% $0.58
# 5. the PR merges — M clears (a merged result is cached permanently); block gone
claude-plugins worktree-feature+login Opus・4.8・high 1M・20% $0.61
If you commit without pushing while a change is still uncommitted, letters stack — e.g. [CP].
M first lights up only once the branch is fully pushed (step 4 onward): before there's a remote
branch, gh isn't called and P already tells you the branch isn't pushed. But once a PR exists and
M is known, adding a local commit on top keeps M lit alongside P — you'll see [PM]. Protected
branches (main/master/develop) never show M.
Segments, left to right: repo name · the git branch, preceded by a yellow Root badge in the main
checkout (a worktree needs none — its branch says so itself) · a [CPM] status block (red letters,
gray brackets) · model · effort (or ultra in an ultra mode) · context-window size · context used %
· session cost.
| Trigger | What happens |
|---|---|
| SessionStart | Installs statusline-compact.sh to ~/.claude/ |
| Every prompt | Renders a single line from stdin JSON + local git — no network |
Every value comes straight from the JSON Claude Code pipes to the statusline command
(.workspace.repo.name, .workspace.git_worktree, .model.display_name, .effort.level,
.context_window.*, .cost.total_cost_usd); the git branch and dirty flag are read locally. The
ultra detection additionally scans the session transcript (.transcript_path) for the last /effort
command — still no network, just a fast grep + jq over the local JSONL file.
There are no network requests and no python3 dependency — a deliberate contrast with the
full three-line statusline plugin.
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 artem-from-ua/claude-plugins --plugin statusline-compactPlugins from other owners that cover similar ground