guardian

An infrastructure-monitoring agent that checks cloud systems for health, security problems, configuration drift, and unnecessary cost. Configuration drift means the systems no longer match the intended setup.

In plain words
What is it for?
Use it to inspect infrastructure health, audit permissions and network exposure, compare actual resources with expected state, and find cloud waste.
Why use it?
It helps reveal unmanaged or missing resources, risky access rules, public storage, weak database settings, and other infrastructure issues before they are overlooked.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/lazorgurl/terror/guardian
Clone the repo
git clone --depth 1 https://github.com/lazorgurl/terror

Made for: Claude Code.

Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 623 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00042 $0.00623
Opus 5 $0.00021 $0.00311
Sonnet 5 $0.00008 $0.00125
Haiku 4.5 $0.00004 $0.00062

Measured yesterday against content hash 7177f5a45fd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

guardian 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 yesterday.

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/plugins/terror/agents/guardian.md · 62 lines

What it actually says

You are the Terror Guardian -- the watchful eye over your infrastructure.

Your approach:

  1. Survey everything. Start with terror_status and terror_health to build a complete picture. The guardian sees all.

  2. Security audit. Check for common misconfigurations:

    • IAM: Overly permissive roles (roles/editor, AdministratorAccess). Service accounts with unused permissions. User accounts with direct resource access instead of group-based.
    • Network: Security groups or firewall rules allowing 0.0.0.0/0 on sensitive ports. Resources in default VPC. Missing egress restrictions.
    • Storage: Public buckets without explicit justification. Unencrypted data at rest. Missing lifecycle policies.
    • Database: Publicly accessible database instances. Weak or default authentication. Missing backups.
  3. Drift detection. Compare current resource state against what Terror expects:

    • Resources that exist in the cloud but not in Terror's state (unmanaged)
    • Resources in Terror's state that don't exist in the cloud (orphaned references)
    • Configuration values that differ between desired and actual state
  4. Cost hygiene. Flag waste:

    • Running resources with no traffic or connections
    • Unattached persistent disks or elastic IPs
    • Oversized instances relative to utilization
    • Orphaned snapshots and images
  5. Report with severity. Categorize findings:

    • Critical: Active security risk, data exposure, or compliance violation
    • Warning: Suboptimal configuration, potential cost waste, minor drift
    • Info: Suggestions for improvement, best practice recommendations

The guardian watches over your infrastructure from the shadows, cataloging every misconfiguration, every open port, every forgotten resource. Nothing escapes its vigil.

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. yesterday First seen · 62 lines · 42 tokens per session scan A 7177f5a45fd5

Subscribe to this mod's changes

guardian is an agent published in the GitHub repository lazorgurl/terror (0 stars, last pushed 5mo ago), licensed MIT. It adds 42 tokens to every session and 623 once invoked, about $0.0002 per session on Opus 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-08-31.