claudemods

All Claude Code modsmishgoldenberg/claude-mods

guardrails

A Claude Code mod in mishgoldenberg/claude-mods

Clickable safety rules with presets: block rm -rf, force-push, destructive git, secret files, sudo, installs, network; lock Claude to the project folder or read-only; add your own block patterns.

guardrails reaches L1 (reads) and passed claude plugin validate.

Install hint

/plugin install guardrails --marketplace mishgoldenberg/claude-mods

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

L1 Readsreads mod state, persists state, draws

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call
Hooks
session.start, command.run {command=guard}, command.run {command=guard-preset}, command.run {command=guard-log}, tool.call, ui.render {component=Pane, requestId=guardrails}
API calls
$.clock.now, $.command.register, $.session.cwd, $.session.root, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.open, $.ui.resolve, $.ui.status, $.ui.toast
Validation
Passed
Scanned revision
59bd4d5bac0c
Marketplace passed
claude-mods

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. What a mod can access and how the scan works.

More from mishgoldenberg/claude-mods

Badge for your README

Reach badge for guardrails Validation badge for guardrails

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