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 skills add wyattowalsh/agents --skill infrastructure-codergit clone --depth 1 https://github.com/wyattowalsh/agentsWrote 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/skills/wyattowalsh/agents/infrastructure-coder)<a href="https://agentmods.dev/skills/wyattowalsh/agents/infrastructure-coder"><img src="https://agentmods.dev/badge/skills/wyattowalsh/agents/infrastructure-coder/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.
<a href="https://agentmods.dev/skills/wyattowalsh/agents/infrastructure-coder"><img src="https://agentmods.dev/badge/skills/wyattowalsh/agents/infrastructure-coder.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00050 | $0.02208 |
| Opus 5.5 | $0.00020 | $0.00883 |
| Sonnet 5.5 | $0.00010 | $0.00442 |
| Haiku 4.5 | $0.00005 | $0.00221 |
Grade A, and why
infrastructure-coder 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Infrastructure Coder
Generate, review, and analyze Infrastructure-as-Code. Terraform/OpenTofu modules, Kubernetes manifests, Dockerfiles.
Scope: IaC generation and analysis only. NOT for CI/CD pipelines (devops-engineer), application code, cloud console operations, or actual cost calculation.
Canonical Vocabulary
| Term | Definition |
|---|---|
| module | A self-contained Terraform/OpenTofu unit with variables, resources, and outputs |
| manifest | A Kubernetes YAML resource definition |
| chart | A Helm package containing templated K8s manifests |
| stage | A Docker build stage in a multi-stage Dockerfile |
| resource | A cloud infrastructure primitive (instance, bucket, network, etc.) |
| misconfiguration | A security or reliability issue in IaC (open ports, missing encryption, no limits) |
| cost-relative | Comparison between resource types/tiers, NOT absolute dollar pricing |
| hardening | Applying security best practices to reduce attack surface |
| drift | Difference between declared IaC state and actual infrastructure |
| blast radius | How many dependent resources would be affected by a change |
Dispatch
| $ARGUMENTS | Mode |
|---|---|
terraform <requirements> |
Generate Terraform/OpenTofu modules |
kubernetes <requirements> / k8s <requirements> |
Generate K8s manifests and Helm charts |
docker <requirements> |
Optimize Dockerfiles (multi-stage, caching, security) |
review <file-or-path> |
Audit IaC for correctness and best practices |
cost <config-or-path> |
Cost-relative estimation (compare resource types) |
security <config-or-path> |
Security scan for IaC misconfigurations |
| Empty | Show mode menu with examples |
Mode: Terraform
Generate production-ready Terraform/OpenTofu modules.
Terraform Steps
- Parse requirements — identify resources, provider, region, dependencies
- Run
uv run python scripts/terraform-module-scanner.py <path>on any existing.tffiles to understand current state - Generate module structure:
main.tf— resource definitionsvariables.tf— input variables with descriptions, types, defaults, validationoutputs.tf— useful outputs for downstream consumptionversions.tf— required providers and version constraints
- Apply patterns from references/terraform-patterns.md
What ships with it
28 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.
- data/cloud-equivalents.json 2.2 KB
- data/dockerfile-rules.json 2.1 KB
- data/k8s-best-practices.json 2.0 KB
- evals/docker-optimize.json 905 B
- evals/evals.json 2.7 KB
- evals/explicit-terraform.json 735 B
- evals/implicit-trigger.json 809 B
- evals/kubernetes-manifest.json 941 B
- evals/negative-control.json 491 B
- evals/security-scan.json 730 B
- references/cloud-equivalents.md 4.5 KB
- references/cost-comparison.md 3.9 KB
- references/dockerfile-guide.md 5.5 KB
- references/kubernetes-patterns.md 6.3 KB
- references/security-hardening.md 3.4 KB
- references/terraform-patterns.md 4.7 KB
- scripts/asset_toolkit/__init__.py 303 B runs code
- scripts/asset_toolkit/_shared.py 5.6 KB runs code
- scripts/asset_toolkit/common.py 3.0 KB runs code
- scripts/asset_toolkit/package.py 43 KB runs code
- scripts/asset_toolkit/validate_evals.py 11 KB runs code
- scripts/asset_toolkit/validate_hooks.py 13 KB runs code
- scripts/asset_toolkit/validate_skill.py 3.6 KB runs code
- scripts/check.py 2.2 KB runs code
- scripts/dockerfile-analyzer.py 8.2 KB runs code
- scripts/k8s-manifest-validator.py 9.1 KB runs code
- scripts/terraform-module-scanner.py 7.6 KB runs code
- templates/dashboard.html 7.2 KB
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.
- 1mo ago First seen · 220 lines · 50 tokens per session scan A 81ff3bf035fd
infrastructure-coder is a skill published in the GitHub repository wyattowalsh/agents (5 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 2,208 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-09-03.
Other skills, from other repositories
openshell-cli
Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, profile management, policy iteration, settings, service exposure, BYOC workflows, and attached-provider inference. Covers basic through advanced multi-step workflows. Trigger…
azd-deployment
Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.
langbot-deploy
Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…
compute-env-setup
Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…
compute-env-setup
Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.
atmos-helmfile
Helmfile orchestration: sync/apply/destroy/diff, Kubernetes deployments, declarative Helm plugins, varfile generation, EKS integration, source management.