AgentGuards security guardrails for a self-hosted appliance — explains that enforcement is fully automatic via hooks and there is nothing further to call. Load this if asked how guardrails are enforced in this variant, or why no agentguards MCP 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 — self-hosted, hooks-only
This variant bundles no MCP server, so there is no `check_input`/`authorize_action`
to reach for — do not `ToolSearch` for them, they are not installed here.
That is not reduced protection. The three hooks in `hooks/hooks.json` enforce
deterministically, on every request, regardless of anything the model does:
- **`UserPromptSubmit`** screens every prompt before you see it. A block or
escalate exits non-zero and you never receive the message.
- **`PreToolUse`** authorizes every `Bash` command before it runs.
- **`PostToolUse`** scans content from `WebFetch`, `WebSearch`, and any `Bash`
command that invokes `curl`/`wget`/`http`/`fetch`/`aria2c` — redacting or
withholding it before you read it.
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
result. If a hook blocks something, its message appears as the tool result or
the reason a prompt was rejected; reply with that message rather than composing
your own.
**Why no MCP server:** Claude Code's plugin `.mcp.json` cannot substitute an
…
The line at the top of this page pins the label git:20260804.4143397, 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_j4nnothybgrs2iys
GET https://markdownregistry.com/api/v1/resolve?ref=alelaguard/agentguards-plugins/guardrails
GET https://markdownregistry.com/api/v1/blob/d2ef61a5a374b5497e8cbc7b89368706a80b40371488bcd208dc0896fca54f01
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/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-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/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…