infrastructure-coder

infrastructure-coder is a skill for Claude Code from wyattowalsh/agents. It costs 50 tokens per session (2,208 once invoked), scanned A, original, MIT.

A tool for writing and reviewing infrastructure definitions for Terraform, Kubernetes, and Docker. Infrastructure as code describes servers, containers, networks, and related resources in files.

In plain words
What is it for?
Use it to generate or review Terraform modules, Kubernetes manifests, Helm charts, and Dockerfiles, and to compare configurations or scan them for security issues.
Why use it?
It helps identify insecure or unreliable infrastructure settings before they are applied.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

Part of the agents plugin — 71 skills, 20 agents, 5 hooks shipped together

Good fit Use it to generate or review Terraform modules, Kubernetes manifests, Helm charts, and Dockerfiles, and to compare configurations or scan them for security issues.

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

Made for: Claude Code.

Or install agents, the plugin that ships this one along with the rest of its 71 skills, 20 agents, 5 hooks.

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-coder

README.md
[![agentmods](https://agentmods.dev/badge/skills/wyattowalsh/agents/infrastructure-coder/github.svg)](https://agentmods.dev/skills/wyattowalsh/agents/infrastructure-coder)
Your own site
<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.

agentmods 80×15 button for infrastructure-coder

Your own site · 80×15
<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>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,208 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.00050 $0.02208
Opus 5.5 $0.00020 $0.00883
Sonnet 5.5 $0.00010 $0.00442
Haiku 4.5 $0.00005 $0.00221

Measured 1mo ago against content hash 81ff3bf035fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 11 executable files (scripts/asset_toolkit/__init__.py, scripts/asset_toolkit/_shared.py, scripts/asset_toolkit/common.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.

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.

skills/infrastructure-coder/SKILL.md · 220 lines

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

  1. Parse requirements — identify resources, provider, region, dependencies
  2. Run uv run python scripts/terraform-module-scanner.py <path> on any existing .tf files to understand current state
  3. Generate module structure:
    • main.tf — resource definitions
    • variables.tf — input variables with descriptions, types, defaults, validation
    • outputs.tf — useful outputs for downstream consumption
    • versions.tf — required providers and version constraints
  4. Apply patterns from references/terraform-patterns.md

Read the full file on GitHub · 220 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. 1mo ago First seen · 220 lines · 50 tokens per session scan A 81ff3bf035fd

Subscribe to this mod's changes

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.

Related

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…

NVIDIA/OpenShell · 134 tokens

azd-deployment

Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.

sickn33/agentic-awesome-skills · 29 tokens

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…

langbot-app/LangBot · 104 tokens

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…

UnicomAI/wanwu · 134 tokens

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.

companion-inc/feynman · 45 tokens

atmos-helmfile

Helmfile orchestration: sync/apply/destroy/diff, Kubernetes deployments, declarative Helm plugins, varfile generation, EKS integration, source management.

cloudposse/atmos · 38 tokens