Home / Claude Code mods / Security / guardrails

guardrails

guardrails is a Claude Code mod by bharath-gp that safety and review of Claude's output, helped by local decision models. Mods: blast-radius, secret-sentry, reflect (/reflect-queue, /reflect-pause), assumption-tracker (/assumptions),.

Updated 2026-11-27

What is guardrails?

guardrails is a Claude Code mod by bharath-gp that safety and review of Claude's output, helped by local decision models. Mods: blast-radius, secret-sentry, reflect (/reflect-queue, /reflect-pause), assumption-tracker (/assumptions),. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authorbharath-gp
Repositorybharath-gp/ai-harness
Popularityno public popularity data yet
CategorySecurity
SecurityHigh risk (32/100)
Rank#5,144 of 9,397 Claude Code mods; #586 in Security
LicenseMIT
Last commit2026-11-27
Hooks10 events
SeesAskUserQuestion calls, Bash calls, Edit calls, NotebookEdit calls, Write calls, classic hooks, every prompt, subagent spawns
Draws onAskUserQuestion, AbovePrompt, Pane

Is guardrails safe to install?

guardrails scores 32/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 1 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
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.register
$.command.rundrives Claude
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.http.fetchnetwork requests
$.model.completedrives Claude
$.process.runruns processes
$.prompt.fillwrites the prompt box
$.prompt.read
$.prompt.submitdrives Claude
$.session.cwd
$.session.id
$.session.messagesreads the transcript
$.session.model
$.session.root
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.askdraws interface
$.ui.closedraws interface
$.ui.copydraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws 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/bharath-gp/ai-harness
    claude plugin validate ./ai-harness/plugins/guardrails
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add bharath-gp/ai-harness && claude plugin install guardrails@ai-harness

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/bharath-gp/ai-harness/tree/main/plugins/guardrails. Run claude plugin validate on it first and show me what it can access before you enable it.

More from bharath-gp/ai-harness

This repository has 2 Claude Code mods on MCPMods.

  • cockpit: Live session dashboard in one side pane (/cockpit). Mods: agents-progress (/agents-info), cache-keeper (/keepwarm, /cach (High risk)