guardrails

by rathialok901 · ★ 0 · updated 16 Oct 2026

ToastsGuardsCommandswarnings

0

Blocks destructive commands and access to secret files, for Claude and its agents (/guardrails)

install guardrails

Install

/plugin marketplace add rathialok901/claudemods
/plugin install guardrails@claudemods

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
session.startcommand.runtool.call
API calls
$.clock.now$.command.register$.state.get$.state.set$.ui.toast
Can see
Bash callsEdit callsWrite callsRead calls
Reach
level 1 of 3 reads mod 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/rathialok901/claudemods
Path in repo
plugins/guardrails
Source commit
5c821bd the exact code the scan read
Author
@rathialok901
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 rathialok901/claudemods

agent-dashboard

rathialok901/claudemods

Live pane of subagents: type, task, elapsed time, tool calls and status

★ 0PanesGuardsCommands

auto-compact

rathialok901/claudemods

Compacts the conversation once context passes a threshold (/compact-at)

★ 0ToastsCommands

budget-guard

rathialok901/claudemods

Daily spend budget: warns as you approach it and asks before going over (/budget)

★ 0ToastsCommandsPrompt

done-sound

rathialok901/claudemods

Chime when a long turn finishes, a different sound when it fails

★ 0ToastsAudio

explain-risky

rathialok901/claudemods

Explains risky commands in one plain-English line while their approval prompt is open

★ 0ToastsGuardsCommands

long-term-memory

rathialok901/claudemods

Remembers session summaries, decisions and preferences across sessions, in a file you can edit (/brain)

★ 0ToastsCommandsPrompt

mascot

rathialok901/claudemods

A little character above the prompt that reacts to what Claude is doing (/mascot)

★ 0BandsGuardsCommands

model-advisor

rathialok901/claudemods

Picks Sonnet or Opus for each prompt by how hard it is (/model-advisor)

★ 0ReskinsCommandsPrompt

mods-center

rathialok901/claudemods

A colourful control panel for all your mods: live status and one-key toggles (/mods)

★ 0PanesCommands

next-step

rathialok901/claudemods

Suggests the next prompt after each turn: run tests, fix the error, commit (Tab to take)

★ 0GuardsCommandsPrompt

phone-alert

rathialok901/claudemods

Alerts your phone through ntfy or iMessage when a long task finishes or Claude needs you while you're away (/phone-alert)

★ 0ToastsGuardsCommands

prompt-enhancer

rathialok901/claudemods

Adds the last error and recent files behind short, vague prompts like 'fix it' (/enhancer)

★ 0ToastsGuardsCommands