git-confirm
by Nikolaj Søgaard Simonsen · ★ 0 · updated 10 days ago
Refuses force-pushes, and before a git command that would destroy work that isn't Claude's own, shows an alarm with what would be lost and asks
Install
/plugin marketplace add NikolajMosbaek/claude-tooling/plugin install git-confirm@claude-toolingThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
tool.callui.render- API calls
$.audio.play$.fs.exists$.process.run$.session.cwd$.state.get$.state.set$.ui.ask$.ui.log$.ui.resolve- Draws
AskUserQuestion- Can see
Bash callsevery tool callAskUserQuestion calls- Reach
- level 2 of 3 runs processesreads filesreads mod stateplays audiodraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/NikolajMosbaek/claude-tooling
- Path in repo
git-confirm- Source commit
7dac448the exact code the scan read- Author
- Nikolaj Søgaard Simonsen @NikolajMosbaek
- License
- No license declared — ask the author before reusing code.
- 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 NikolajMosbaek/claude-tooling
dev-commands
NikolajMosbaek/claude-tooling
Instant commands that run without a Claude turn: /build-status for the latest xcodebuild, /wt for the worktree list
task-status
NikolajMosbaek/claude-tooling
A live pane beside the chat showing the running task across Plan, Development, Test, Bug fixing and Creating PR, plus /task-status for the same as text