atmos-terraform

atmos-terraform is a skill for Claude Code from cloudposse/atmos. It costs 42 tokens per session (4,653 once invoked), scanned A, original, Apache-2.0.

A stack-aware wrapper for Terraform and OpenTofu, tools that create and manage cloud infrastructure from configuration files. It resolves workspaces, backends, variable files, authentication, and the selected command-line program.

In plain words
What is it for?
Use it to plan, apply, deploy, select workspaces, configure state backends, generate variables, and run either Terraform or OpenTofu.
Why use it?
It removes repetitive setup for each infrastructure component and keeps operations consistent across environments and stacks.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the atmos plugin — 57 skills shipped together

Good fit Use it to plan, apply, deploy, select workspaces, configure state backends, generate variables, and run either Terraform or OpenTofu.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cloudposse/atmos/atmos-terraform
About the project

Atmos is an infrastructure runtime that coordinates tools such as Terraform, OpenTofu, Kubernetes, Helm, Packer, Ansible, and containers through consistent commands and configuration. It is for teams running cloud infrastructure on laptops, in CI, or through AI agents across environments and regions. Its catalogue entries provide skills, agents, commands, and other add-ons for Atmos workflows.

cloudposse/atmos · 1,413 stars · on GitHub · atmos.tools

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 cloudposse/atmos --skill atmos-terraform
Clone the repo
git clone --depth 1 https://github.com/cloudposse/atmos

Made for: Claude Code.

Or install atmos, the plugin that ships this one along with the rest of its 57 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cloudposse/atmos/atmos-terraform"><img src="https://agentmods.dev/badge/skills/cloudposse/atmos/atmos-terraform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,653 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 warn 7 Sept 2026
SkillSpector: 8 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 168
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 186
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 198
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 215
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 457
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 185
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 185
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 441
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00042 $0.04653
Opus 5.5 $0.00017 $0.01861
Sonnet 5.5 $0.00008 $0.00931
Haiku 4.5 $0.00004 $0.00465

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

Security

Grade A, and why

atmos-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 8d 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.

agent-skills/skills/atmos-terraform/SKILL.md · 480 lines

How it starts

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

Atmos Terraform and OpenTofu Orchestration

Atmos wraps Terraform/OpenTofu with stack-aware configuration, workspaces, backends, variable files, and authentication.

Everything in this skill applies identically to Terraform and OpenTofu. The atmos terraform command namespace is the same regardless of which binary is configured -- atmos terraform plan runs tofu plan when the binary is set to tofu. Use the user's terminology in responses (if they say "OpenTofu," say "OpenTofu").

Terraform or OpenTofu: Binary Selection

Atmos defaults to the terraform binary. Switch to OpenTofu by setting components.terraform.command: tofu in atmos.yaml. The setting cascades through CLI > env > config > defaults precedence and can be overridden at multiple levels for mixed setups.

Global (whole project on OpenTofu)

# atmos.yaml
components:
  terraform:
    command: tofu                # All atmos terraform commands invoke `tofu` instead of `terraform`
    base_path: components/terraform

Or via environment variable:

export ATMOS_COMPONENTS_TERRAFORM_COMMAND=tofu
atmos terraform plan vpc -s dev   # Runs: tofu plan

Per-stack override

Use terraform.overrides.command in a stack manifest to switch the binary for everything in that stack:

# stacks/orgs/acme/plat/prod/_defaults.yaml
terraform:
  overrides:
    command: tofu

Per-component override

Set command on an individual component to run a single component on a different binary than the rest of the stack (useful for legacy components that haven't been validated on OpenTofu, or new components testing OpenTofu-specific features):

components:
  terraform:
    legacy-vpc:
      command: terraform           # This component stays on Terraform
      vars: ...
    new-eks:
      command: tofu                # This component runs on OpenTofu
      vars: ...

Per-invocation override

Pass --command (or its compatibility alias --terraform-command) to override the executable for one invocation. Use one flag, with a name or path; put native arguments after --:

Read the full file on GitHub · 480 lines

Files

What ships with it

3 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. 8d ago Changed 00b8b19109fe
  2. 18d ago Changed · -9 lines ab4287d7ca71
  3. 1mo ago Changed · +5 lines 5fbbfc07169d
  4. 2mo ago Changed · +16 lines 65a6140def6f
  5. 2mo ago First seen · 468 lines · 42 tokens per session scan A 4122c9275f8f

Subscribe to this mod's changes

atmos-terraform is a skill published in the GitHub repository cloudposse/atmos (1,413 stars, last pushed yesterday), licensed Apache-2.0. It adds 42 tokens to every session and 4,653 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

atmos-terraform compared with skills from other repositories

atmos-terraform next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
atmos-terraformcloudposse/atmosSkill1.4kyesterdayApache-2.0A42Claude Code
gke-basicsskillmds/skillmdSkill1893d agoMITA4Claude Code
clum-mcptddh/clumSkill613d agoMITF19Claude Code, Codex
x-netsx-cmd/x-cmdSkill4.7k7d agoApache-2.0A69Claude Code, Codex
x-osvx-cmd/x-cmdSkill4.7k7d agoApache-2.0A72Claude Code, Codex
x-uptimex-cmd/x-cmdSkill4.7k7d agoApache-2.0A67Claude Code, Codex
tsvx-cmd/x-cmdSkill4.7k7d agoApache-2.0A47Claude Code, Codex