Home / Claude Code mods / Security / guardrails

guardrails

guardrails is a Claude Code mod by lippdev that real guardrails, enforced by hooks: /careful asks you before a destructive shell command runs; /freeze blocks edits outside a folder.

Updated 2026-11-30

What is guardrails?

guardrails is a Claude Code mod by lippdev that real guardrails, enforced by hooks: /careful asks you before a destructive shell command runs; /freeze blocks edits outside a folder. It is listed under Security and has 1 GitHub stars.

TypeClaude code mod
Authorlippdev
Repositorylippdev/lippstack
Popularity1 GitHub stars
CategorySecurity
SecurityLow risk (96/100)
Rank#3,834 of 9,397 Claude Code mods; #472 in Security
LicenseMIT
Last commit2026-11-30
Hooks3 events
SeesBash calls, Edit calls, NotebookEdit calls, Write calls
Draws onnothing

Is guardrails safe to install?

guardrails scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.state.get
$.state.set
$.ui.askdraws interface

How do I install guardrails?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/lippdev/lippstack
    claude plugin validate ./lippstack/plugins/guardrails
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add lippdev/lippstack && claude plugin install guardrails@lippstack

Or ask Claude to set it up

Paste this into Claude Code and it installs guardrails for you:

Install the "guardrails" Claude Code mod from https://github.com/lippdev/lippstack/tree/main/plugins/guardrails. Run claude plugin validate on it first and show me what it can access before you enable it.

More from lippdev/lippstack

This repository has 6 Claude Code mods on MCPMods.

  • cloud-rain: A theme for the desktop and mobile apps: a pixel-art night sky with slow digit rain, in navy or black. Ported from the C (Low risk)
  • done-ping: A desktop notification when Claude finishes a long task or is waiting for you (a permission, a question). (Low risk)
  • savvy-progress: Agents panel (/agents-info): running, finished and planned subagents with model, context, tokens and time, plus the acco (Low risk)
  • stage-bar: A colorful, animated progress bar above the prompt that tracks the stages of the task you asked for. Claude names the st (Low risk)
  • where-line: A status line under the prompt: project, git branch, model and how full the context is. (Low risk)