agentguards

agentguards is a skill for Claude Code from alelaguard/agentguards-plugins. It costs 58 tokens per session (755 once invoked), scanned A, original, MIT.

A set of read-only security checks for text, shell commands, and source code. It can flag unsafe instructions or code and return a decision without running, changing, or deleting anything.

In plain words
What is it for?
It is for scanning external text, assessing risky commands, and checking code for hardcoded secrets or security issues.
Why use it?
Untrusted text can contain harmful instructions, and commands or code may expose systems to destructive actions or security flaws. These checks add a review step before acting.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the agentguards plugin — 1 skill, 1 MCP server shipped together

Good fit It is for scanning external text, assessing risky commands, and checking code for hardcoded secrets or security issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alelaguard/agentguards-plugins/agentguards
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alelaguard/agentguards-plugins --skill agentguards
Clone the repo
git clone --depth 1 https://github.com/alelaguard/agentguards-plugins

Made for: Claude Code.

Or install agentguards, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agentguards

README.md
[![agentmods](https://agentmods.dev/badge/skills/alelaguard/agentguards-plugins/agentguards/github.svg)](https://agentmods.dev/skills/alelaguard/agentguards-plugins/agentguards)
Your own site
<a href="https://agentmods.dev/skills/alelaguard/agentguards-plugins/agentguards"><img src="https://agentmods.dev/badge/skills/alelaguard/agentguards-plugins/agentguards/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agentguards

Your own site · 80×15
<a href="https://agentmods.dev/skills/alelaguard/agentguards-plugins/agentguards"><img src="https://agentmods.dev/badge/skills/alelaguard/agentguards-plugins/agentguards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 755 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.00755
Opus 5.5 $0.00023 $0.00302
Sonnet 5.5 $0.00012 $0.00151
Haiku 4.5 $0.00006 $0.00076

Measured 2d ago against content hash 99e1a5a0e919, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agentguards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude-directory/skills/agentguards/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AgentGuards

This plugin connects the AgentGuards MCP server, which has three read-only tools. Each one sends what it is given to the AgentGuards service and returns a verdict. None of them runs, changes or deletes anything.

Tool What it does Verdicts
scan_untrusted_text Checks outside text for instructions aimed at an AI agent; removes hidden ones and masks live keys. Not a personal-data check allow / block / redact
check_command_safety Rates a shell command's risk, with a reason allow / deny / require-approval
scan_code Static-analysis rules for common risky patterns, and hardcoded credentials in known formats. Not a full security review. Pass file_path when you know it allow / warn / block

When to call them

Call a tool when the user asks for it, for example:

  • "Check this page / email / issue for prompt injection" → scan_untrusted_text
  • "Is this command safe to run?" or "check commands with AgentGuards before you run them" → check_command_safety
  • "Scan this file for secrets before I commit" → scan_code

If the user has asked you to check things with AgentGuards for the rest of the task, keep doing that for the kind of content they named. Otherwise, don't call the tools on your own. Each call sends the content to AgentGuards and counts against the user's AgentGuards quota.

Pass the text, command or code that the user asked about as it is, without summarising it. Each call takes up to 100,000 characters. If the text is longer, tell the user and ask whether to scan it in parts.

Reporting the result

Tell the user the verdict and the reason in plain words, then let them decide what to do:

  • block / deny / escalate: say what AgentGuards found and that it advises against using the text or running the command.
  • redact: offer the redacted text.
  • require-approval / warn: say why, and ask the user whether to go ahead.
  • allow: say that nothing was found. For scan_untrusted_text this means no signs of injected instructions. It does not mean the text is safe to follow.

Read the full file on GitHub · 68 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · -11 lines · -27 tokens per session 99e1a5a0e919
  2. 21d ago First seen · 79 lines · 85 tokens per session scan A 858cb8e3ab71

Subscribe to this mod's changes

agentguards is a skill published in the GitHub repository alelaguard/agentguards-plugins (4 stars, last pushed 3d ago), licensed MIT. It adds 58 tokens to every session and 755 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-09.

Related

agentguards compared with skills from other repositories

agentguards next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentguardsalelaguard/agentguards-pluginsSkill43d agoMITA58Claude Code
clawmoatdarfaz/clawmoatSkill463mo agoMITA107Claude Code, Codex
integrate-arcjet-guard-langchainarcjet/arcjet-jsSkill7042d agoApache-2.0A101Claude Code, Codex
integrate-arcjet-guard-tanstack-aiarcjet/arcjet-jsSkill7042d agoApache-2.0A131Claude Code, Codex
integrate-arcjet-guard-genkitarcjet/arcjet-jsSkill7042d agoApache-2.0A89Claude Code, Codex
integrate-arcjet-guard-langgrapharcjet/arcjet-jsSkill7042d agoApache-2.0A87Claude Code, Codex
integrate-arcjet-guard-mastraarcjet/arcjet-jsSkill7042d agoApache-2.0A82Claude Code, Codex