terraform

terraform is a skill for Claude Code, Codex from iuliandita/skills. It costs 43 tokens per session (1,746 once invoked), scanned A, original, MIT.

A guide for writing and reviewing Terraform or OpenTofu configuration in HCL, the language used to describe infrastructure. It covers resources, reusable modules, state, policies, and related operations.

In plain words
What is it for?
Use it to build or review cloud infrastructure, design modules, manage state, configure continuous-integration checks, write policy rules, and work with multi-account or PCI-scoped environments.
Why use it?
It helps teams describe infrastructure in repeatable files, review changes, detect configuration drift, and keep an audit trail. Terraform and OpenTofu are closely related tools, but they have different licensing and governance.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build or review cloud infrastructure, design modules, manage state, configure continuous-integration checks, write policy rules, and work with multi-account or PCI-scoped environments.

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

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/iuliandita/skills/terraform/github.svg)](https://agentmods.dev/skills/iuliandita/skills/terraform)
Your own site
<a href="https://agentmods.dev/skills/iuliandita/skills/terraform"><img src="https://agentmods.dev/badge/skills/iuliandita/skills/terraform/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 terraform

Your own site · 80×15
<a href="https://agentmods.dev/skills/iuliandita/skills/terraform"><img src="https://agentmods.dev/badge/skills/iuliandita/skills/terraform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,746 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00043 $0.01746
Opus 5.5 $0.00017 $0.00698
Sonnet 5.5 $0.00009 $0.00349
Haiku 4.5 $0.00004 $0.00175

Measured 26d ago against content hash 7fe0d80896ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

terraform 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 26d 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.

skills/terraform/SKILL.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.

Terraform and OpenTofu

Write and review reproducible infrastructure with narrow state boundaries, protected credentials, reviewable plans, and explicit human approval for every apply. Use the installed runtime and pinned provider schema as the authority for resource arguments and behavior.

Version-specific behavior: inspect the existing lock file and provider documentation before changing pins or relying on a runtime feature.

When to use

  • Writing or reviewing Terraform/OpenTofu configurations, modules, providers, state, or imports
  • Designing backend, locking, state-boundary, OIDC, policy-as-code, or drift-detection decisions
  • Implementing infrastructure controls for regulated or PCI-scoped systems
  • Reviewing generated HCL for security, correctness, replacement, and state impact

When NOT to use

  • Kubernetes manifests or Helm charts; use kubernetes
  • Read-only Kubernetes health checks; use kubernetes-health
  • VM guest configuration; use ansible or virtualization
  • CI/CD pipeline architecture; use ci-cd
  • Database schema, indexing, replication, or engine operations; use databases
  • Application security auditing; use security-audit
  • Proxmox VM/LXC provisioning specifics (bpg/proxmox provider, templates, cloud-init); use virtualization - this skill owns general HCL/module/state work

AI Self-Check

  • Provider versions and resource arguments match the installed lock file and current provider docs
  • Regions, account IDs, CIDRs, AMIs, and credentials are variables or discovered values, not literals
  • IAM is least privilege; broad actions/resources and public ingress are explicit, justified exceptions
  • Storage has encryption, access controls, versioning, logging, and a deliberate public-access posture
  • Backend encryption, locking, state access, and sensitive value exposure are reviewed
  • Stateful resources have deliberate lifecycle, backup, migration, and replacement behavior
  • Provider/module/action versions are pinned; .terraform.lock.hcl is committed
  • Secret values avoid ordinary state when supported and have a documented runtime delivery path
  • Imports, moves, replacements, and destroys are visible in the reviewed plan
  • No provisioners or committed real-value tfvars appear; tags/ownership are present where supported
  • terraform fmt and terraform validate pass; scans and policy gates match the repository's policy
  • Cross-cutting agent hygiene applied; read references/agent-hygiene.md when relevant

Read the full file on GitHub · 138 lines

Files

What ships with it

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

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. 26d ago Changed · +19 tokens per session 7fe0d80896ab
  2. 1mo ago Changed · +4 lines a373a6cf9fc3
  3. 2mo ago Changed · +4 lines 347cea77b85b
  4. 2mo ago Changed · +1 lines 8d8c09504ad7
  5. 2mo ago Changed · -368 lines · -1 tokens per session bcc63f7c3f97
  6. 2mo ago Changed · +1 lines 054a548010ac
  7. 2mo ago Changed 46e9914471a8
  8. 2mo ago Changed · +10 lines · -48 tokens per session efe587249ed8
  9. 2mo ago Changed 1ad5f8e1295b
  10. 3mo ago First seen · 486 lines · 73 tokens per session scan A e2572f3d8d4d

Subscribe to this mod's changes

terraform is a skill published in the GitHub repository iuliandita/skills (12 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 1,746 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-08-31.

Related

terraform compared with skills from other repositories

terraform next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
terraformiuliandita/skillsSkill12todayMITA43Claude Code, Codex
coolifyericrisco/rsc-harnessSkill695yesterdayMITB100Claude Code, Codex
factory-deploymentnonlinear-xyz/factory-kitSkill108d agoMITA108Claude Code
analyzing-docker-container-forensicsmarysatasselshaped667/skills-collection-1Skill11mo agoMITD34Claude Code, Codex
tianji-workermsgbyte/tianjiSkill3.1kyesterdayApache-2.0A38Claude Code, Codex
activate-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA45Claude Code
ecspressokayac/ecspressoSkill1.1k9d agoMITA17Claude Code