git-confirm

by Nikolaj Søgaard Simonsen · ★ 0 · updated 2 days ago

ReskinsGuardsAudiovalidates

0

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 git-confirm

Install

/plugin marketplace add NikolajMosbaek/claude-tooling
/plugin install git-confirm@claude-tooling

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
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 other: $.state.getother: $.state.setruns processesreads filesplays 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
21bb10c the 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

★ 0GuardsCommandsAutomation