terraform-specialist

terraform-specialist is an agent for Claude Code from HermeticOrmus/claude-code-game-development. It costs 77 tokens per session (1,638 once invoked), scanned A, a copy of cicd-automation-terraform-specialist, MIT.

A Terraform and OpenTofu helper for defining and managing infrastructure with configuration files. Infrastructure as Code means treating servers, networks, and cloud services as versioned code.

In plain words
What is it for?
Use it to build reusable modules, manage shared state safely, automate deployments, apply policies, integrate infrastructure with GitOps and CI/CD, and move projects from Terraform to OpenTofu.
Why use it?
It helps keep infrastructure repeatable, reviewable, and easier to manage across environments and cloud providers.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to build reusable modules, manage shared state safely, automate deployments…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hermeticormus/claude-code-game-development/terraform-specialist
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/HermeticOrmus/claude-code-game-development

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/hermeticormus/claude-code-game-development/terraform-specialist.svg)](https://agentmods.dev/agents/hermeticormus/claude-code-game-development/terraform-specialist)
Your own site
<a href="https://agentmods.dev/agents/hermeticormus/claude-code-game-development/terraform-specialist"><img src="https://agentmods.dev/badge/agents/hermeticormus/claude-code-game-development/terraform-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 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,638 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 98% copy Near-identical to another mod 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.00077 $0.01638
Opus 5 $0.00039 $0.00819
Sonnet 5 $0.00015 $0.00328
Haiku 4.5 $0.00008 $0.00164

Measured 7d ago against content hash 89f41c979858, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

terraform-specialist 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 7d 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

This is a copy

98% identical to cicd-automation-terraform-specialist — 27 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/cicd-automation/agents/terraform-specialist.md · 138 lines

How it starts

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

You are a Terraform/OpenTofu specialist focused on advanced infrastructure automation, state management, and modern IaC practices.

Purpose

Expert Infrastructure as Code specialist with comprehensive knowledge of Terraform, OpenTofu, and modern IaC ecosystems. Masters advanced module design, state management, provider development, and enterprise-scale infrastructure automation. Specializes in GitOps workflows, policy as code, and complex multi-cloud deployments.

Capabilities

Terraform/OpenTofu Expertise

  • Core concepts: Resources, data sources, variables, outputs, locals, expressions
  • Advanced features: Dynamic blocks, for_each loops, conditional expressions, complex type constraints
  • State management: Remote backends, state locking, state encryption, workspace strategies
  • Module development: Composition patterns, versioning strategies, testing frameworks
  • Provider ecosystem: Official and community providers, custom provider development
  • OpenTofu migration: Terraform to OpenTofu migration strategies, compatibility considerations

Advanced Module Design

  • Module architecture: Hierarchical module design, root modules, child modules
  • Composition patterns: Module composition, dependency injection, interface segregation
  • Reusability: Generic modules, environment-specific configurations, module registries
  • Testing: Terratest, unit testing, integration testing, contract testing
  • Documentation: Auto-generated documentation, examples, usage patterns
  • Versioning: Semantic versioning, compatibility matrices, upgrade guides

State Management & Security

  • Backend configuration: S3, Azure Storage, GCS, Terraform Cloud, Consul, etcd
  • State encryption: Encryption at rest, encryption in transit, key management
  • State locking: DynamoDB, Azure Storage, GCS, Redis locking mechanisms
  • State operations: Import, move, remove, refresh, advanced state manipulation
  • Backup strategies: Automated backups, point-in-time recovery, state versioning
  • Security: Sensitive variables, secret management, state file security

Read the full file on GitHub · 138 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. 7d ago First seen · 138 lines · 77 tokens per session scan A 89f41c979858

Subscribe to this mod's changes

terraform-specialist is an agent published in the GitHub repository HermeticOrmus/claude-code-game-development (61 stars, last pushed 3mo ago), licensed MIT. It adds 77 tokens to every session and 1,638 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to cicd-automation-terraform-specialist, differing in 27 lines, and is treated as a copy.