cm-git-branch

by ClaudeMods · ★ 0 · updated 6 days ago

BandsGuardsvalidates

0

Shows the current git branch, how many files changed and ahead/behind counts in a one-line band above the prompt.

install cm-git-branch

Install

/plugin marketplace add rotbit/claudemods-marketplace
/plugin install cm-git-branch@claudemods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.completetool.callui.render
API calls
$.clock.every$.process.run$.session.cwd$.state.get$.state.set$.ui.resolve
Draws
AbovePrompt
Can see
Bash calls
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/rotbit/claudemods-marketplace
Path in repo
cm-git-branch
Source commit
7a6da12 the exact code the scan read
Author
ClaudeMods @rotbit
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from rotbit/claudemods-marketplace

cm-block-dangerous-commands

rotbit/claudemods-marketplace

Refuses destructive Bash commands (rm -rf /, force-push to main, DROP TABLE, curl | sh, ...) before Claude runs them, and tells Claude why.

★ 0ToastsGuards

cm-context-meter

rotbit/claudemods-marketplace

Puts context-window fill, 5-hour/7-day plan usage and session cost in the status line, and warns once when the context gets full.

★ 0Status line

cm-done-toast

rotbit/claudemods-marketplace

Shows "Done in 2m 14s" and plays a short chime when a long Claude turn finishes; optional macOS/Linux system notification.

★ 0ToastsAudio

cm-tool-call-counter

rotbit/claudemods-marketplace

Counts Claude's tool calls per turn and per session, shows the count beside the spinner, and adds /tally for a per-tool breakdown with error counts.

★ 0Status lineReskinsGuards