How AgentGuards enforces its guardrails in Claude Code — fully automatic, via hooks, with nothing for you to call. Load this if asked how AgentGuards works, whether you need to screen something yourself, or why no agentguards check_input / authorize_action tools are available.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# AgentGuards — enforced by hooks
This plugin has no MCP server, so there is no `check_input`, `authorize_action`
or `health_check` tool — do not `ToolSearch` for them, they are not installed.
That is not reduced protection. The hooks in `hooks/hooks.json` enforce
deterministically, on every request, whatever the model does:
- **`UserPromptSubmit`** screens every prompt before you see it. A blocked prompt
never reaches you.
- **`PreToolUse`** authorizes every `Bash` command before it runs: denied, put to
the user for approval, or left to Claude Code's own permission rules. It never
approves a command on the user's behalf.
- **`PostToolUse`** scans content from `WebFetch`, `WebSearch`, and any `Bash`
command that fetches (`curl`, `wget`, `http`, `fetch`, `aria2c` — also behind
`sudo`, `timeout`, `bash -c`, `$(...)`), redacting or withholding it before you
read it. `Write`, `Edit` and `MultiEdit` are scanned for vulnerabilities and
secrets.
Nothing here requires you to call a tool, check a decision, or format a block
message — the hook has already acted by the time you see (or don't see) the
…
The line at the top of this page pins the label git:20261017.b6d5d99, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_ol6e4xpddh7p2lqk
GET https://markdownregistry.com/api/v1/resolve?ref=alelaguard/agentguards-plugins/guardrails
GET https://markdownregistry.com/api/v1/blob/68dcec12e0c142ec2d11b8c68f2c28337acb70a75dca256e4eccea824cd63f11
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
alelaguard/agentguards-plugins · claude-directory/skills/setup/SKILL.md · Set up and verify AgentGuards in Claude Code. Use when the user runs /agentguards:setup, asks to configure AgentGuards…
alelaguard/agentguards-plugins · claude-directory/skills/status/SKILL.md · Report AgentGuards guardrail status. Use when the user runs /agentguards:status or asks whether AgentGuards is active…
alelaguard/agentguards-plugins · claude-selfhosted/skills/guardrails/SKILL.md · AgentGuards security guardrails for a self-hosted appliance — explains that enforcement is fully automatic via hooks…
alelaguard/agentguards-plugins · claude-selfhosted/skills/setup/SKILL.md · Set up and verify AgentGuards in Claude Code against a self-hosted appliance. Use when the user runs…
alelaguard/agentguards-plugins · claude-selfhosted/skills/status/SKILL.md · Report AgentGuards guardrail status for a self-hosted appliance. Use when the user runs /agentguards:status or asks…
alelaguard/agentguards-plugins · claude/skills/guardrails/SKILL.md · How AgentGuards enforces its guardrails in Claude Code — fully automatic, via hooks, with nothing for you to call. Load…
alelaguard/agentguards-plugins · claude/skills/setup/SKILL.md · Set up and verify AgentGuards in Claude Code. Use when the user runs /agentguards:setup, asks to configure AgentGuards…
alelaguard/agentguards-plugins · claude/skills/status/SKILL.md · Report AgentGuards guardrail status. Use when the user runs /agentguards:status or asks whether AgentGuards is active…
alelaguard/agentguards-plugins · codex-selfhosted/skills/guardrails/SKILL.md · AgentGuards security guardrails for a self-hosted appliance — explains that enforcement is fully automatic via hooks…
alelaguard/agentguards-plugins · codex-selfhosted/skills/setup/SKILL.md · Set up and verify AgentGuards in Codex against a self-hosted appliance. Use when the user asks to configure…
alelaguard/agentguards-plugins · codex-selfhosted/skills/status/SKILL.md · Report AgentGuards guardrail status for a self-hosted appliance. Use when the user asks whether AgentGuards is active…
alelaguard/agentguards-plugins · codex/skills/guardrails/SKILL.md · How AgentGuards enforces its guardrails in Codex — fully automatic, via hooks, with nothing for you to call. Load this…
ai-analyst-lab/ai-analyst · .claude/skills/guardrails/SKILL.md · Ensure every success metric is paired with guardrail metrics and check for trade-offs before presenting improvements as…
fusengine/agents · plugins/prompt-engineer/skills/guardrails/SKILL.md · Use when implementing input/output guardrails, writing ethical guardrail templates, or auditing an agent/prompt for…
alelaguard/agentguards-plugins · claude/skills/guardrails/SKILL.md · How AgentGuards enforces its guardrails in Claude Code — fully automatic, via hooks, with nothing for you to call. Load…
alelaguard/agentguards-plugins · codex/skills/guardrails/SKILL.md · How AgentGuards enforces its guardrails in Codex — fully automatic, via hooks, with nothing for you to call. Load this…
alelaguard/agentguards-plugins · codex-selfhosted/skills/guardrails/SKILL.md · AgentGuards security guardrails for a self-hosted appliance — explains that enforcement is fully automatic via hooks…
alelaguard/agentguards-plugins · gemini-selfhosted/skills/guardrails/SKILL.md · AgentGuards security guardrails for a self-hosted appliance — explains that enforcement is fully automatic via hooks…