commit-guard

by Jason Plimpton · ★ 0 · updated 26 days ago

BandsGuardsCommandswarnings

0

Blocks git commit and git push when the change contains secrets, private keys, .env files, node_modules or giant files, before they leave your machine.

install commit-guard

Install

/plugin marketplace add choaticpixels/HauntedClaudeMod
/plugin install commit-guard@claude-mods

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.starttool.callcommand.runui.render
API calls
$.clock.now$.command.register$.fs.read$.fs.stat$.process.run$.state.get$.state.set$.store.get$.store.set$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
Bash calls
Reach
level 2 of 3 runs processesreads filesreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/choaticpixels/HauntedClaudeMod
Path in repo
plugins/commit-guard
Source commit
7a485f6 the exact code the scan read
Author
Jason Plimpton @choaticpixels
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 choaticpixels/HauntedClaudeMod

haunted-repo

choaticpixels/HauntedClaudeMod

Delete a file and its ghost haunts your prompt, whispering fragments of its lost code until you restore it. Seances, exorcisms, poltergeists and secrets.

★ 0PanesBandsStatus line

stuck-detector

choaticpixels/HauntedClaudeMod

Notices when Claude repeats the same failing command or edit, warns you, nudges Claude to change approach, and stops runaway retry loops before they burn your tokens.

★ 0BandsStatus lineGuards