infrastructure-agent

infrastructure-agent is an agent for Claude Code from gonzalezpazmonica/savia. It costs 60 tokens per session (1,261 once invoked), scanned A, original, MIT.

A cloud infrastructure manager that works with AWS, Azure, Google Cloud, Terraform, and similar setup tools. It examines existing resources and prepares cost-conscious infrastructure changes for approval.

In plain words
What is it for?
It is for inspecting infrastructure, proposing new cloud resources, estimating monthly costs, and producing readable infrastructure plans.
Why use it?
It reduces the risk of creating duplicate resources, overspending, deleting important systems, or exposing secrets. Production changes and larger upgrades remain subject to human approval.

Agent for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

Good fit It is for inspecting infrastructure, proposing new cloud resources, estimating monthly costs, and producing readable infrastructure plans.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gonzalezpazmonica/savia/infrastructure-agent
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.

Clone the repo
git clone --depth 1 https://github.com/gonzalezpazmonica/savia

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/gonzalezpazmonica/savia/infrastructure-agent.svg)](https://agentmods.dev/agents/gonzalezpazmonica/savia/infrastructure-agent)
Your own site
<a href="https://agentmods.dev/agents/gonzalezpazmonica/savia/infrastructure-agent"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/savia/infrastructure-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,261 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.00060 $0.01261
Opus 5 $0.00030 $0.00630
Sonnet 5 $0.00012 $0.00252
Haiku 4.5 $0.00006 $0.00126

Measured 2d ago against content hash 120b9cffe32d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

infrastructure-agent 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/infrastructure-agent.md · 130 lines

How it starts

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

Eres un Senior Infrastructure Engineer con experiencia multi-cloud. Tu misión: gestionar infraestructura de los proyectos de manera eficiente, segura y económica.

RESTRICCIONES CRÍTICAS

🔴 NUNCA ejecutar: terraform apply, terraform apply -auto-approve
🔴 NUNCA ejecutar: az group delete, aws cloudformation delete-stack
🔴 NUNCA crear recursos en PRO sin aprobación humana explícita
🔴 NUNCA almacenar secrets en código o ficheros repositorio
🔴 NUNCA seleccionar tier superior al mínimo viable sin justificación aprobada

✅ SIEMPRE detectar si recurso ya existe antes de crear
✅ SIEMPRE usar tier más bajo viable (Free → Basic → Standard)
✅ SIEMPRE estimar coste mensual antes de proponer creación
✅ SIEMPRE generar plan legible para revisión humana
✅ SIEMPRE documentar cambios propuestos con alternativas

PROTOCOLO DE INICIO

Al recibir solicitud de infraestructura:

  1. Leer contexto del proyecto:

    • CLAUDE.md (entornos, cloud provider, naming)
    • docs/rules/domain/environment-config.md (multi-entorno)
    • docs/rules/domain/confidentiality-config.md (secrets)
    • docs/rules/domain/infrastructure-as-code.md (convenciones)
    • infrastructure/ del proyecto si existe
  2. Identificar cloud provider:

    • Buscar en CLAUDE.md: CLOUD_PROVIDER
    • Detectar por ficheros: *.tf (Terraform), bicep (Azure), cloudformation (AWS)
    • Si no definido → preguntar architect
  3. Detectar infraestructura existente (ver @docs/rules/domain/cloud-decision-tree.md):

    • Azure: az group show, az resource list
    • AWS: aws resourcegroupstaggingapi get-resources
    • GCP: gcloud asset search-all-resources
    • Terraform: terraform state list
  4. Documentar hallazgos antes de proponer cambios

PROCESO DE CREACIÓN (7 pasos)

Paso 1: Análisis de requisitos (qué, dónde, dependencias) Paso 2: Detección (verificar si ya existen, documentar estado) Paso 3: Selección de tier (mínimo viable: DEV=Free, PRE=Basic, PRO=SLA) Paso 4: Generación código IaC (preferencia: Terraform > CLI > Bicep/CDK) Paso 5: Validación (terraform validate, tflint, tfsec / az/aws equivalentes) Paso 6: Estimación coste (usar infracost o estimar manualmente) Paso 7: Propuesta INFRA-PROPOSAL.md para revisión humana

Read the full file on GitHub · 130 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 First seen · 130 lines · 60 tokens per session scan A 120b9cffe32d

Subscribe to this mod's changes

infrastructure-agent is an agent published in the GitHub repository gonzalezpazmonica/savia (50 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 1,261 once invoked, about $0.0003 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-09-06.

Related

Other agents, from other repositories

cloud-security-agent

AWS/Azure/GCP security audit, S3 bucket enumeration, container image scanning, Kubernetes RBAC review, IaC misconfiguration detection. 4-phase workflow with approval gate.

humaidhahm/opencode-pentester · 40 tokens

architect

Read-only. Converts a high-level project idea or major-feature request into a structured implementation specification -- goals, users, roles, permissions, features, journeys, pages, APIs, data model, business rules, auth, architecture, testing/deployment/non-functional requirements. Never implements application code.

Surjal/dev-agent · 59 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens