Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.
Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /terraform-stacks in Claude Code or $terraform-stacks in Codex.
The description says when to use it:
Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing…
Copy the terraform-stacks folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/hashicorp/agent-skills.git /tmp/hashicorp-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hashicorp-agent-skills/plugins/terraform/skills/terraform-stacks .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if terraform-stacks does not appear.
git clone --depth 1 https://github.com/hashicorp/agent-skills.git /tmp/hashicorp-agent-skills
mkdir -p .agents/skills
cp -r /tmp/hashicorp-agent-skills/plugins/terraform/skills/terraform-stacks .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for terraform-stacks and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
terraform-stacks ships 7 files, 102.2 KB in total. Select a file to load it from GitHub.