claudemods

All Claude Code modsStoica-Mihai/claude-mods

guardrails

A Claude Code mod in Stoica-Mihai/claude-mods

Blocks the Bash commands your own rules file names, and shows every block in /blocked. Ships no rules.

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

Install hint

/plugin install guardrails --marketplace Stoica-Mihai/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

L2 Writes or runsother: $.state.get, other: $.state.set, runs processes, reads files, reads env vars, persists state, 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
session.start, tool.call {tool=Bash}, command.run {command=blocked}, ui.render {component=Pane, requestId=blocked}
API calls
$.clock.now, $.command.register, $.env.get, $.fs.read, $.fs.stat, $.process.run, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.open, $.ui.resolve, $.ui.toast
Validation on 2.1.302
Passed
Scanned revision
a2ec9a9a866e
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. How the scan works.

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