claudemods

All Claude Code modsNikolajMosbaek/claude-tooling

git-confirm

A Claude Code mod in NikolajMosbaek/claude-tooling

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

review UI rewrite

git-confirm reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.

Install hint

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

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsother: $.state.get, other: $.state.set, runs processes, reads files, plays audio, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
Bash calls, every tool call, AskUserQuestion calls
Hooks
tool.call {tool=Bash}, tool.call, tool.call {tool=AskUserQuestion}, ui.render {component=AskUserQuestion}
API calls
$.audio.play, $.fs.exists, $.process.run, $.session.cwd, $.state.get, $.state.set, $.ui.ask, $.ui.log, $.ui.resolve
Validation on 2.1.302
Passed
Scanned revision
21bb10ce190e
Marketplace passed
claude-tooling
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. git-confirm/hooks/impact.ts:33, git-confirm/hooks/impact.ts:99, git-confirm/hooks/shell.ts:104

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from NikolajMosbaek/claude-tooling

Badge for your README

Reach badge for git-confirm Validation badge for git-confirm

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/NikolajMosbaek--claude-tooling--git-confirm-reach.svg)](https://mods.aidojo.si/mods/NikolajMosbaek--claude-tooling--git-confirm/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/NikolajMosbaek--claude-tooling--git-confirm-validates.svg)](https://mods.aidojo.si/mods/NikolajMosbaek--claude-tooling--git-confirm/)