cascade-guard

by Rob Gruhl · ★ 0 · updated 12 Oct 2026

GuardsAutomationvalidates

0

A Bash guard in tiers: rules in code, then a decision model, then the person; every ruling is remembered so the next one stays in code

install cascade-guard

Install

git clone https://github.com/RobGruhl/claude-mod-learnings
claude --plugin-dir ./claude-mod-learnings/experiments/cascade-guard

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
tool.call
API calls
$.http.fetch$.store.get$.store.set$.ui.ask$.ui.log
Can see
Bash calls
Reach
level 3 of 3 networkpersists 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/RobGruhl/claude-mod-learnings
Path in repo
experiments/cascade-guard
Source commit
fd475ce the exact code the scan read
Author
Rob Gruhl @RobGruhl
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 RobGruhl/claude-mod-learnings

skeleton-guard

RobGruhl/claude-mod-learnings

The Mod Skeleton: counts tool calls, holds destructive shell commands and secret files, and shows a tally above the prompt

★ 0BandsReskinsGuards