PreToolUse Bash guard for Claude Code that still holds under --dangerously-skip-permissions. Blocks pipe-to-shell installs, disk wipes and fork bombs; asks before rm -rf, force-push, git reset --hard, DROP/TRUNCATE, kubectl delete, cloud deletes and secret-file reads. 15 rules, each off/ask/block; a project's own config can only tighten them, loosening comes only from your config outside the project. Plus a PostToolUse audit log with secrets redacted and /guardrails:self-test to see every decision without running anything.

version
1.2.4
GitHub stars
3.7K

Install

/plugin install guardrails@buildwithclaude

Run it inside Claude Code after adding the marketplace with /plugin marketplace add davepoon/buildwithclaude.

Contents

Discovered from source

Skills 1

Sponsors

Details

Marketplace
davepoon/buildwithclaude
Source
plugins/guardrails
Author
choiyounggi
Category
security
License
MIT
Keywords
security, safety, guardrails, hooks, pretooluse, destructive-commands, audit-log, yolo-mode

More from davepoon/buildwithclaude

All 172