agent-guard

agent-guard is a skill for Claude Code, Codex from elliottwaves-20/agent-guard. It costs 430 tokens per session (8,681 once invoked), scanned C, original, MIT.

A security-scanning skill for checking third-party agent skills, plugins, and MCP servers before installation. MCP is a standard way for an AI agent to connect to external tools and services.

In plain words
What is it for?
Use it to inspect skill files, MCP source code, installation scripts, and package sources, with optional checks of a running MCP server.
Why use it?
Third-party add-ons run with your account's permissions and could contain prompt injection, credential theft, data theft, or backdoors. The scan helps identify those risks before the code is installed.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

Good fit Use it to inspect skill files, MCP source code, installation scripts, and package sources, with optional checks of a running MCP server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/elliottwaves-20/agent-guard/agent-guard
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 elliottwaves-20/agent-guard --skill agent-guard
Clone the repo
git clone --depth 1 https://github.com/elliottwaves-20/agent-guard

Made for: Claude Code, Codex.

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 agent-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/elliottwaves-20/agent-guard/agent-guard/github.svg)](https://agentmods.dev/skills/elliottwaves-20/agent-guard/agent-guard)
Your own site
<a href="https://agentmods.dev/skills/elliottwaves-20/agent-guard/agent-guard"><img src="https://agentmods.dev/badge/skills/elliottwaves-20/agent-guard/agent-guard/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 agent-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/elliottwaves-20/agent-guard/agent-guard"><img src="https://agentmods.dev/badge/skills/elliottwaves-20/agent-guard/agent-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 430 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,681 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 5 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.00430 $0.08681
Opus 5.5 $0.00172 $0.03472
Sonnet 5.5 $0.00086 $0.01736
Haiku 4.5 $0.00043 $0.00868

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

Security

Grade C, and why

agent-guard scanned grade C with 5 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 6d ago.

The scan reads SKILL.md. This mod also ships 36 executable files (scripts/_cisco_boot.py, scripts/_console.py, scripts/_distribution.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

`curl | bash` install scripts and cargo crate sources.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

find "$HOME/.claude/plugins/cache" -name "SKILL.md" -not -path "*/node_modules/*" \

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Enumerates other installed skillslowAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

find "$HOME/.claude/skills" -maxdepth 2 -name "SKILL.md" \

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$WORKDIR"

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

malcontent), curl|bash install scripts via the SkillSpector static scan. Use
SKILL.md · 694 lines

How it starts

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

agent-guard — scan first, install after

Scanner setup is an explicit bootstrap trust decision by the operator. The setup scripts install trusted scanner tools and dependencies before any target can be scanned; they do not constitute a prior security verdict for the toolchain. Review setup separately. The scan-first workflow below applies to target skills and packages, not to automatically provisioning the scanner. Git installation requires the full scanned commit SHA. Package installation examples require substituting the exact scanned package version; bare example names are not installation approval. Existing destinations must be scanned directly before reuse; the installer never silently substitutes their contents.

Skills and MCP servers are third-party code that runs with your user account's permissions. A malicious one can read SSH keys, .env files, and browser profiles, exfiltrate them, or hijack the agent itself through a poisoned SKILL.md. This skill makes a security scan the mandatory first step of every installation.

Because skills follow the open SKILL.md standard and MCP is an open protocol, the scan is agent-agnostic: one verdict covers Claude Code, Codex, Antigravity, Gemini CLI, Hermes, OpenClaw, and any other compatible agent — and the installer deploys the same audited commit to all of them in one step.

Professional scanners do the work, each where it is strongest:

  • NVIDIA SkillSpector — skill scans and the static MCP source scan. One tool for both, with 71 vulnerability patterns (prompt injection, data exfiltration, privilege escalation, MCP tool poisoning / least-privilege, supply chain with live OSV.dev CVE lookup, bundled hooks/settings), taint tracking, YARA, hidden/nested-archive inspection, and LLM analysis through the user's own coding-agent CLI login (no API key) or a hosted provider. Also covers curl | bash install scripts and cargo crate sources.
  • cisco-ai-mcp-scanner — the optional live runtime MCP check (scan_mcp.py --sandbox / remote). A static scan cannot see MCP tools that a server only registers at runtime; this starts the server in a sandbox to inspect them.
  • Datadog GuardDog — CLI-tool package scans (npm/PyPI/Go/cargo) via scan_cli.py; malware heuristics + YARA + registry metadata, run through the official Docker image on Windows.
  • VirusTotal + malcontent — release binaries via scan_cli.py binary: hash reputation, optionally (--deep) a capability analysis.

Read the full file on GitHub · 694 lines

Files

What ships with it

41 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed · +1 lines 73fdabd62466
  2. 9d ago Changed · +20 lines 9d64926705b0
  3. 15d ago Changed · +7 lines 0d8968ddc67f
  4. 16d ago Changed · +2 lines · +6 tokens per session bfa7811333b9
  5. 1mo ago Changed · +69 lines · +24 tokens per session 0a148db90c33
  6. 1mo ago Changed · +16 lines · +25 tokens per session 7bd8893cc912
  7. 2mo ago First seen · 579 lines · 375 tokens per session scan C e7a3fd3d8376

Subscribe to this mod's changes

agent-guard is a skill published in the GitHub repository elliottwaves-20/agent-guard (5 stars, last pushed 5d ago), licensed MIT. It adds 430 tokens to every session and 8,681 once invoked, about $0.0017 per session on Opus 5.5. A static security scan graded it C with 5 findings (downloads and executes remote code, reads agent configuration directories, enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

clinical-trial-protocol-skill

Generate clinical trial protocols for medical devices or drugs. This skill should be used when users say "Create a clinical trial protocol", "Generate protocol for [device/drug]", "Help me design a clinical study", "Research similar trials for [intervention]", or when developing FDA submission documentation for…

Agent-Threat-Rule/agent-threat-rules · 70 tokens

agent-safety

Use when bounding an LLM agent that already runs — scoping its task domain, gating tools to least privilege, defending against prompt injection in untrusted web/email/RAG text, requiring human approval on irreversible actions, capping runtime and cost, or triaging what it already did. NOT building the loop, tools, or…

ericrisco/rsc-harness · 79 tokens

adr-skill

Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses…

Agent-Threat-Rule/agent-threat-rules · 89 tokens

prior-auth-review-skill

Automate payer review of prior authorization (PA) requests. This skill should be used when users say "Review this PA request", "Process prior authorization for [procedure]", "Assess medical necessity", "Generate PA decision", or when processing clinical documentation for coverage policy validation and authorization…

Agent-Threat-Rule/agent-threat-rules · 63 tokens

linear-claude-skill

Manage Linear issues, projects, and teams.

Agent-Threat-Rule/agent-threat-rules · 15 tokens

playwright-skill

IMPORTANT - Path Resolution: This skill can be installed in different locations (plugin system, manual installation, global, or project-specific). Before executing any commands, determine the skill directory based on where you loaded this SKILL.md file, and use that path in all commands below.

Agent-Threat-Rule/agent-threat-rules · 60 tokens