terraform-stacks

terraform-stacks is a skill for Claude Code, Codex from Cloudgeni-ai/opengeni. It costs 77 tokens per session (3,710 once invoked), scanned A, a copy of terraform-stacks, Apache-2.0.

A guide for HashiCorp Terraform Stacks, a configuration system for managing groups of cloud infrastructure components across environments, regions, or accounts. It uses files such as .tfcomponent.hcl and .tfdeploy.hcl.

In plain words
What is it for?
Use it to create, change, or validate Terraform Stack components and deployments backed by local, public, or private Terraform modules.
Why use it?
It helps keep related infrastructure together while applying different settings to places such as development, staging, and production.

Skill for Claude CodeCodex

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

Good fit Use it to create, change, or validate Terraform Stack components and deployments backed by local, public, or private Terraform modules.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cloudgeni-ai/opengeni/terraform-stacks"><img src="https://agentmods.dev/badge/skills/cloudgeni-ai/opengeni/terraform-stacks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,710 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% 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.03710
Opus 5.5 $0.00031 $0.01484
Sonnet 5.5 $0.00015 $0.00742
Haiku 4.5 $0.00008 $0.00371

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

Security

Grade A, and why

terraform-stacks scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Artifacts endpoint returns HTTP 307 redirect (use `curl -L`)
Origin

This is a copy

95% identical to terraform-stacks — 3 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.

packages/runtime/src/curated_skill_library/terraform-stacks/SKILL.md · 481 lines

How it starts

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

Terraform Stacks

Terraform Stacks simplify infrastructure provisioning and management at scale by providing a configuration layer above traditional Terraform modules. Stacks enable declarative orchestration of multiple components across environments, regions, and cloud accounts.

Core Concepts

Stack: A complete unit of infrastructure composed of components and deployments that can be managed together.

Component: An abstraction around a Terraform module that defines infrastructure pieces. Each component specifies a source module, inputs, and providers.

Deployment: An instance of all components in a stack with specific input values. Use deployments for different environments (dev/staging/prod), regions, or cloud accounts.

Stack Language: A separate HCL-based language (not regular Terraform HCL) with distinct blocks and file extensions.

File Structure

Terraform Stacks use specific file extensions:

  • Component configuration: .tfcomponent.hcl
  • Deployment configuration: .tfdeploy.hcl
  • Provider lock file: .terraform.lock.hcl (generated by CLI)

All configuration files must be at the root level of the Stack repository. HCP Terraform processes all files in dependency order.

Recommended File Organization

my-stack/
├── .terraform-version               # The required Terraform version for this Stack
├── variables.tfcomponent.hcl        # Variable declarations
├── providers.tfcomponent.hcl        # Provider configurations
├── components.tfcomponent.hcl       # Component definitions
├── outputs.tfcomponent.hcl          # Stack outputs
├── deployments.tfdeploy.hcl         # Deployment definitions
├── .terraform.lock.hcl              # Provider lock file (generated)
└── modules/                         # Local modules (optional - only if using local modules)
    ├── s3/
    └── compute/

Note: The modules/ directory is only required when using local module sources. Components can reference modules from:

  • Local file paths: ./modules/vpc
  • Public registry: terraform-aws-modules/vpc/aws
  • Private registry: app.terraform.io/<org-name>/vpc/aws
  • Git: git::https://github.com/org/repo.git//path?ref=v1.0.0

Read the full file on GitHub · 481 lines

Files

What ships with it

6 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. 3mo ago First seen · 481 lines · 77 tokens per session scan A 7c459ac61bea

Subscribe to this mod's changes

terraform-stacks is a skill published in the GitHub repository Cloudgeni-ai/opengeni (229 stars, last pushed today), licensed Apache-2.0. It adds 77 tokens to every session and 3,710 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 95% identical to terraform-stacks, differing in 3 lines, and is treated as a copy.

Related

terraform-stacks compared with skills from other repositories

terraform-stacks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
terraform-stacksCloudgeni-ai/opengeniSkill229todayApache-2.0A77Claude Code, Codex
effect-v4ComposioHQ/composioSkill31ktodayMITA159Claude Code, Codex
stripe-projectse2b-dev/E2BSkill15kyesterdayApache-2.0A51Claude Code, Codex
tdde2b-dev/E2BSkill15kyesterdayApache-2.0A33Codex
ax-java-genax-llm/axSkill3.0ktodayApache-2.0A49Claude Code, Codex
ax-go-flowax-llm/axSkill3.0ktodayApache-2.0A43Claude Code, Codex
ax-rust-signatureax-llm/axSkill3.0ktodayApache-2.0A36Claude Code, Codex