claudemods

All Claude Code modshugo88/claude-code-bash-guard

bash-guard

A Claude Code mod in hugo88/claude-code-bash-guard

Blocks catastrophic Bash commands; holds risky ones (rm -r, git reset --hard, git clean, force push, migrations) and shows what they would change, with Proceed and Cancel

bash-guard reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install bash-guard --marketplace hugo88/claude-code-bash-guard

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 runsruns processes, 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
Hooks
tool.call {tool=Bash}, ui.render {component=Pane}, ui.render {component=AbovePrompt}
API calls
$.clock.now, $.process.run, $.session.cwd, $.ui.close, $.ui.invalidate, $.ui.open, $.ui.resolve, $.ui.toast
Validation on 2.1.302
Passed
Scanned revision
d56dc7c643f3
Marketplace passed
claude-code-bash-guard

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.

Badge for your README

Reach badge for bash-guard Validation badge for bash-guard

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/hugo88--claude-code-bash-guard--bash-guard-reach.svg)](https://mods.aidojo.si/mods/hugo88--claude-code-bash-guard--bash-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/hugo88--claude-code-bash-guard--bash-guard-validates.svg)](https://mods.aidojo.si/mods/hugo88--claude-code-bash-guard--bash-guard/)