From git-statusline
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.
3 events · 5 calls
Ships in git-statusline. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runEach event it registers a hook on, with the matcher when it sets one
session.startsession.measureui.render{component=PromptHint}Every mods API method its source calls, by namespace
runcwdinvalidatelogresolveWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub adminhead/claude-plugins --plugin git-statusline