What is prompt-git?
prompt-git is a Claude Code mod by fhva29 that appends the git branch and working-tree counts to the hint line under the prompt. It is listed under Git & CI and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | fhva29 |
| Repository | fhva29/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Git & CI |
| Security | Low risk (80/100) |
| Rank | #5,939 of 9,397 Claude Code mods; #428 in Git & CI |
| Last commit | 2026-11-16 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | PromptHint |
Is prompt-git safe to install?
prompt-git scores 80/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.process.run | runs processes |
$.state.get | |
$.state.set |
How do I install prompt-git?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/fhva29/claude-code-mods claude plugin validate ./claude-code-mods/prompt-git
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add fhva29/claude-code-mods && claude plugin install prompt-git@heitor-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs prompt-git for you:
Install the "prompt-git" Claude Code mod from https://github.com/fhva29/claude-code-mods/tree/main/prompt-git. Run claude plugin validate on it first and show me what it can access before you enable it.
More from fhva29/claude-code-mods
This repository has at least 9 Claude Code mods on MCPMods.
- branch-hud: A live branch pane and status entry: ahead/behind, dirty files, migrations added on the branch. (Low risk)
- blast-radius: Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would chang (Low risk)
- brief-mode: Appends a short-answer style section to the system prompt: action first, numbered steps, capped lists, no preamble or cl (Low risk)
- commit-gate: Holds git commit in a side pane listing staged files, flags files not edited this session and blocks AI attribution trai (Low risk)
- fhva-skins: Desktop skin for Claude Code: tool rows with icons and timings, diff, shell, table and code cards, quiet reads, a usage (Review before installing)
- midnight-neon: Draws assistant replies with a dark neon palette: highlighted headers, colored bullets, quote bars and inline styles. /n (Low risk)
- model-stack: Routes the model and effort of the main chat turn and of each subagent with TypeSafe's Jev, and shows the roster, decisi (High risk)
- neon-hud: A neon HUD band above the prompt: context fill and breakdown, plan limits with pace, tool calls per turn, session stats (Low risk)