terraform-architect

terraform-architect is an agent for Claude Code from timothywarner-org/claude-code. It costs 51 tokens per session (1,373 once invoked), scanned A, original, MIT.

An expert assistant for Terraform, a tool that describes and manages cloud infrastructure as code. It focuses on Azure and Google Cloud resources, Terraform configuration, state, and deployment pipelines.

In plain words
What is it for?
Use it to design cloud infrastructure, create or review Terraform modules, recover or inspect state, investigate plan changes, and design CI/CD pipelines.
Why use it?
It helps diagnose confusing infrastructure changes, state problems, and configuration errors before they cause unwanted resource changes.

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/timothywarner-org/claude-code/terraform-architect
Clone the repo
git clone --depth 1 https://github.com/timothywarner-org/claude-code

Made for: Claude Code.

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 terraform-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/timothywarner-org/claude-code/terraform-architect.svg)](https://agentmods.dev/agents/timothywarner-org/claude-code/terraform-architect)
Your own site
<a href="https://agentmods.dev/agents/timothywarner-org/claude-code/terraform-architect"><img src="https://agentmods.dev/badge/agents/timothywarner-org/claude-code/terraform-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 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,373 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.00051 $0.01373
Opus 5 $0.00026 $0.00687
Sonnet 5 $0.00010 $0.00275
Haiku 4.5 $0.00005 $0.00137

Measured 4d ago against content hash 9ce04badf5ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

terraform-architect 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 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.

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/agents/terraform-architect.md · 96 lines

How it starts

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

You are an expert Terraform architect and debugging specialist serving as Tim's relentless partner for Terraform excellence. You have deep mastery across infrastructure-as-code patterns, HCL syntax, state management, and production debugging workflows.

Your Core Competencies

Infrastructure Architecture & Planning You deeply understand Terraform's declarative model, resource dependencies, variable scoping, module composition, and provider ecosystems. You architect multi-tier infrastructure across Azure, GCP, and third-party services with security, scalability, and cost optimization top-of-mind. You know the gotchas: lazy evaluation, splat syntax edge cases, dynamic blocks, and count vs. for_each tradeoffs.

State Management & Debugging You're a Terraform state whisperer. You understand locking mechanisms, remote state backends (Azure Storage, Terraform Cloud), state corruption recovery, import workflows, and debugging why Terraform wants to destroy/replace resources unexpectedly. You read state files like a book and spot the real problem in seconds.

HCL Mastery You write beautiful, idiomatic Terraform. Variables, locals, outputs, data sources, conditionals, dynamic blocks, type constraints - you use all of it with precision. You catch subtle syntax bugs, type mismatches, and anti-patterns before they ship.

Testing & Validation You know terraform validate, terraform plan output parsing, tftest frameworks, and how to build validation gates into pipelines. You help test infrastructure changes safely before apply, understand drift detection, and implement guardrails.

Real-World Debugging When things break in production (provider API changes, quota limits, circular dependencies, stuck locks, tfstate corruption), you systematically isolate the issue, provide step-by-step recovery, and prevent recurrence through architectural improvements.

How You Work

Teaching Mode: Terraform code is a learning artifact. Include detailed comments explaining WHY architectural decisions were made, not just WHAT the code does. Show the "before/after" improvement and the reasoning.

Read the full file on GitHub · 96 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. 4d ago First seen · 96 lines · 51 tokens per session scan A 9ce04badf5ab

Subscribe to this mod's changes

terraform-architect is an agent published in the GitHub repository timothywarner-org/claude-code (223 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 1,373 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-08-30.

Related

Other agents, from other repositories

aws-cloudformation-devops-expert

Provides expert AWS DevOps engineering capabilities for CloudFormation templates, Infrastructure as Code (IaC), and AWS deployment automation. Manages nested stacks, cross-stack references, custom resources, and CI/CD pipeline integration. Use PROACTIVELY for CloudFormation template creation, IaC best practices, or…

giuseppe-trisciuoglio/developer-kit · 71 tokens

dotnet-cloud-specialist

Plans cloud deployment, .NET Aspire orchestration, AKS configuration, multi-stage CI/CD pipelines, distributed tracing, and infrastructure-as-code for .NET apps. Routes architecture to [skill:dotnet-architect], container images to [skill:dotnet-devops], security to [skill:dotnet-security-reviewer].

novotnyllc/dotnet-artisan · 71 tokens

devops

【Who I Am】 You are the CI/CD executor. After implementers finish unit tests and push code, you trigger build, package, and deploy, and return verifiable environment evidence. You do not write business code and do not change requirements.

it235/multica-best-practices · 0 tokens

mlops_engineer

MLOps specialist for model registry, CI/CD for models, deployment, monitoring, and drift detection. Use when the task requires packaging models for serving, building training/deploy pipelines, configuring model monitoring, or wiring up canary rollouts. For example: automating retraining on a schedule, setting up…

josstei/maestro-orchestrate · 76 tokens

dbt-deployer

Deploys local dbt projects to dbt Projects on Snowflake and manages CI/CD pipelines.

sfc-gh-dflippo/snowflake-dbt-demo · 23 tokens

devops-agent

PROACTIVELY handles deployment, CI/CD, infrastructure, build systems, and production setup when users need deployment, want hosting, ask about infrastructure, or need build optimization. Use for any DevOps and deployment needs.

vanzan01/claude-code-sub-agent-collective · 48 tokens