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 look for them, they are not installed here.
That is not reduced protection. The four hooks in `hooks/hooks.json` enforce
deterministically, on every request, regardless of anything the model does:
- **`UserPromptSubmit`** screens every prompt before you see it.
- **`PreToolUse`** authorizes every shell command before it runs.
- **`PostToolUse`** scans fetched web content and redacts or withholds it.
- **`PermissionRequest`** is the real approval prompt for anything not
automatically allowed — `PreToolUse` cannot itself ask in Codex, only allow
or deny.
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, reply with its message rather than
composing your own.
**Why no MCP server:** Codex's `.mcp.json` cannot substitute an environment
variable into its `url` field, so a URL baked in at publish time cannot be
made to point at each installer's own appliance — it would either be fixed to
…
The line at the top of this page pins the label git:20260804.c8a22f2, 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_hpotuvegpr7hdc2w
GET https://markdownregistry.com/api/v1/resolve?ref=alelaguard/agentguards-plugins/guardrails
GET https://markdownregistry.com/api/v1/blob/94e1edac1b25a43c113e8e99d21f10a04e0b3cb4e606af0224e850a7b5a18c23
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/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/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 · gemini-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/guardrails/SKILL.md · AgentGuards security guardrails for a self-hosted appliance — explains that enforcement is fully automatic via hooks…