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 Adminhead Verified Orgv0.2.0In 1 marketplace
A mod that draws a git line under the prompt: repo path, branch, linked-worktree marker, ahead/behind with colour past unpushed-commit thresholds, staged/modified/new/conflict counts, changed lines and stash count.
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.
Enable the modenabled
Off removes the git line under the prompt. Takes effect after a reload or in a new session. Only an exact false turns it off.
booleandefault true
Show stash countshow_stashes
Off skips git stash list and leaves the stash count off the line. Only an exact false turns it off.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it runs programs.
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.
Show changed linesshow_changed_lines
Off skips git diff HEAD --numstat and leaves the added and deleted line counts off the line. Only an exact false turns it off.
booleandefault true
Git timeout (seconds)git_timeout_seconds
How long each git call may run before it is abandoned. Values outside 1 to 60 are clamped; anything unreadable uses 10.
number1–60default 10
Unpushed commits: warningpush_warning_threshold
Colour the ahead count amber at this many unpushed commits. 0 turns it off.
numberdefault 5
Unpushed commits: criticalpush_critical_threshold
Colour the ahead count red at this many unpushed commits. 0 turns it off.
numberdefault 20
A mod that adds one git line under the prompt hint (terminal only):
/plugin install git-statusline --marketplace Adminhead/claude-plugins
baseline installs it for you.
repo/hooks ⎇ wt:feature main ↑2 ↓1 conflict 1 staged 3 mod 2 new 2 lines +13 -2 stash 2
repo/sub/dir inside a repository, else the absolute cwd.wt:<name> when the cwd is a linked worktree (its git dir differs from the common git dir).↑N is green, then amber at the warning threshold and red at the critical one (push_warning_threshold, default 5; push_critical_threshold, default 20; 0 turns a level off). Set them with /config or pluginConfigs["git-statusline"].options.enabled (off removes the line; only an exact false turns it off), show_changed_lines and show_stashes (off skips git diff HEAD --numstat or git stash list; default on), git_timeout_seconds (per git call, clamped to 1-60, default 10).✓ when clean; otherwise conflict, staged, modified and untracked counts, lines changed against HEAD, and the stash count.It refreshes on session start and on each session.measure, running git rev-parse, git status --porcelain=v2 --branch, git diff HEAD --numstat and git stash list as argv (no shell), unless show_changed_lines or show_stashes is off. It stacks under whatever the engine and other plugins draw at the hint, by rendering await next(e) first. A failing git keeps the last line and logs once to the debug log.
Needs git 2.31 or later (rev-parse --path-format=absolute).
Ported from the archived coremods git-line mod; worktree, push-threshold and stash ideas from claude-hud (MIT; no code copied).
Test: claude plugin test plugins/git-statusline.
npx claudepluginhub adminhead/claude-plugins --plugin git-statuslineBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.