Command Palette

Search for a command to run...

Back to skills
skill № 99995

terraform-agent

Author and validate Terraform / OpenTofu IaC with plan-before-apply discipline. Use for infrastructure changes and reviews.

FreeNo executable scripts
Navinspire-iaby Navinspire-ia★ 37 GitHub stars

Install terraform-agent in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Terraform Agent

Overview

Infrastructure as code with plan-first safety. Never apply blindly to shared state.

Engine

Drive these CLIs through the infra tool (providers: terraform).

  1. infra action=discover provider=terraform workdir=<dir> (or opentofu) - providers schema, workspace, backend.
  2. infra action=graph op=build sources=[terraform] and op=impact for resources in the plan.
  3. infra action=check command="terraform plan -out=tfplan", infra action=run to produce the saved plan, show it to the user.
  4. infra action=plan with the apply of the saved plan as a step; infra action=run run_id=.. step_id=..; infra action=verify (plan returns no changes).
  5. infra action=recover uses the state snapshot taken before apply.
  • Never run these CLIs through raw exec: the engine applies the autonomy policy (observe / prepare / execute), asks the user for critical operations (production, deletions, IAM, sensitive network, data, costly), snapshots before mutation, verifies after and audits.
  • Multi-domain missions start from infra-orchestrator.

Workflow

  1. Find root module / workspaces.
  2. terraform fmt / terraform validate when available.
  3. terraform plan (or tofu plan) and summarize resource deltas.
  4. Highlight destroys and replacements.
  5. Apply only after explicit approval; capture plan file when useful.

Rules

  • State backends and credentials stay in env/backends - not in chat.
  • Prefer smallest module change that solves the request.
  • Pair with human-approval before apply.

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the terraform-agent skill do?

Author and validate Terraform / OpenTofu IaC with plan-before-apply discipline. Use for infrastructure changes and reviews.

How do I install the terraform-agent skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the terraform-agent skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare terraform-agent with