Skip to content
Back to skills

Guardrails

ASecurity

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.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentsbashrailsapi

Works with

  • claude code
  • api
  • mcp

Security analysis

A100/100

Scanned October 1, 2026

npx -y skills add alelaguard/agentguards-plugins --skill guardrails --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Guardrails?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Guardrails
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alelaguard-guardrails-agentguards-plugins/badge)](https://www.skillsdirectory.com/skills/alelaguard-guardrails-agentguards-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: guardrails
description: 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.
---

# 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, allowed,
  or put to the user for approval.
- **`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
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.

To check that the guardrails are on, use the `status` skill. To set the API key,
use the `setup` skill.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.