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.
npx agentmods add instructions/garagon/aguara/agents-mdgit clone --depth 1 https://github.com/garagon/aguaraWrote 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.
[](https://agentmods.dev/instructions/garagon/aguara/agents-md)<a href="https://agentmods.dev/instructions/garagon/aguara/agents-md"><img src="https://agentmods.dev/badge/instructions/garagon/aguara/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.02769 | $0.02769 |
| Opus 5 | $0.01385 | $0.01385 |
| Sonnet 5 | $0.00554 | $0.00554 |
| Haiku 4.5 | $0.00277 | $0.00277 |
Grade B, and why
aguara AGENTS.md scanned grade B with 3 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 4d 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.
Instruction-override phrasingmediumPrompt injection
Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.
"description": "Detects attempts to override or ignore previous instructions", 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.
| `external-download` | 17 | Binary downloads, curl-pipe-shell, auto-installs | Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
| `command-execution` | 16 | shell=True, eval, subprocess, child_process, PowerShell | How it starts
The opening of the file, as written. The whole thing — 303 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md - Aguara Reference for AI Agents
Aguara is a static security scanner for AI agent skills and MCP server configurations. Single Go binary, fully offline, deterministic, no LLM. Think "Semgrep for AI agents."
Quick Start
# Install
go install github.com/garagon/aguara@latest
# Scan a directory
aguara scan ./skills/
# Scan with CI defaults (fail on high+, no color)
aguara scan --ci ./skills/
# JSON output
aguara scan --format json ./skills/
# List all rules
aguara list-rules
Go Library API
import "github.com/garagon/aguara"
// Scan a file or directory
result, err := aguara.Scan(ctx, "./skills/")
// Scan inline content (no disk I/O)
result, err := aguara.ScanContent(ctx, content, "skill.md")
// List rules
rules := aguara.ListRules()
// Explain a rule
detail, err := aguara.ExplainRule("PROMPT_INJECTION_001")
Options
aguara.Scan(ctx, path,
aguara.WithMinSeverity(aguara.SeverityMedium),
aguara.WithDisabledRules("EXFIL_005", "CRED_001"),
aguara.WithCustomRules("./custom-rules/"),
aguara.WithWorkers(4),
aguara.WithRuleOverrides(map[string]aguara.RuleOverride{
"PROMPT_INJECTION_001": {Severity: "medium"},
"EXFIL_005": {Disabled: true},
}),
)
Types
type ScanResult struct {
Findings []Finding
FilesScanned int
RulesLoaded int
DurationMs int64 // in JSON output
}
type Finding struct {
RuleID string // "PROMPT_INJECTION_001"
RuleName string // "Instruction override attempt"
Severity Severity // 0=INFO, 1=LOW, 2=MEDIUM, 3=HIGH, 4=CRITICAL
Category string // "prompt-injection"
Description string // rule description
FilePath string // "skills/evil.md"
Line int // 1-indexed
Column int
MatchedText string // text that triggered the rule
Context []ContextLine // surrounding lines
Score float64 // 0-100 risk score
Analyzer string // "pattern", "nlp-injection", "toxicflow", "rugpull"
InCodeBlock bool // true if match is inside a fenced code block
}
type Severity int // SeverityInfo=0, SeverityLow=1, SeverityMedium=2, SeverityHigh=3, SeverityCritical=4
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.
- 4d ago First seen · 303 lines · 2,769 tokens per session scan B 24e867ef7b42
aguara AGENTS.md is an instructions file published in the GitHub repository garagon/aguara (88 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,769 tokens to every session, about $0.0138 per session on Opus 5. A static security scan graded it B with 3 findings (instruction-override phrasing, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
SecureAI-Scan CLAUDE.md
Instructions for akanthed/SecureAI-Scan, covering claude.md, what this is, hard requirements (non-negotiable, apply to every change), 1. zero tolerance for false positives and commands.
pkgxray CLAUDE.md
Instructions for adamsjack711-ux/pkgxray, covering project, rules, skills, getting started and commands.
zyrax-guard AGENTS.md
Instructions for tiagosilva07/zyrax-guard, covering engineering baseline, stack, how to behave, hard rules and conventions.
kc-secure-repo-template AGENTS.md
AGENTS.md instructions for CaseyLabs/kc-secure-repo-template, covering agents.md, project overview, project defaults, public interface and skill routing.
kc-secure-repo-template CLAUDE.md
Claude Code instructions for CaseyLabs/kc-secure-repo-template, a project described as: Security-hardened GitHub repository template, designed to prevent supply-chain attacks. Includes vulnerability scanning and AI agent skills.
dscan CLAUDE.md
Claude Code instructions for DeepScan-Security/dscan, covering dscan — claude code instructions, workflow rules, tdd rules, code style and what not to do.