installskill

Skills / hashicorp/agent-skills

terraform-stacks

Guide to Terraform Stacks configuration files, components and deployments.

Pinned commit
5e30fa5c867bCommitted 2026-11-03
Files
7102 KB
License
GPL
Snapshot taken
2026-11-28
Description from the skill
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.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install hashicorp/agent-skills plugins/terraform/skills/terraform-stacks --agent claude-code --pin 5e30fa5c867ba6777c37e4206babfd08049c396f

gh picks the directory for the agent, names the folder after the source directory (terraform-stacks), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read b5d93c2d7a43fb52eac7917dac806d34eaf3a5a5.

skills CLIpinned

$ npx skills add hashicorp/agent-skills@5e30fa5c867ba6777c37e4206babfd08049c396f --skill terraform-stacks -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Claude Code pluginnot pinnedrun inside the agent

> /plugin marketplace add hashicorp/agent-skills
> /plugin install terraform@hashicorp

Not pinned: installs whatever the marketplace currently serves. The plugin bundles 15 other skills with this one. Plugin scope is chosen in the /plugin dialog.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/hashicorp/agent-skills.git "$tmp"
$ git -C "$tmp" checkout --quiet 5e30fa5c867ba6777c37e4206babfd08049c396f
$ mkdir -p .claude/skills
$ cp -R "$tmp/plugins/terraform/skills/terraform-stacks" .claude/skills/terraform-stacks

No extra tooling. Files land byte for byte as published in .claude/skills/terraform-stacks, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/terraform-stacks && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expectedc9b5dd6a8cf24f4995505d11da4016d6d8c0a06d23e378faf24b0a9b27f0858a

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 6SKILL.md · 1

Runs commands32

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 32 in docs and other text files

Network access23

Calls that fetch from or send to a remote host.

0 in scripts · 23 in docs and other text files

Installs packagesNo match

Commands that pull and run third-party packages at use time.

Reads env or credentials2

References to environment variables, tokens, keys or credential files.

0 in scripts · 2 in docs and other text files

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • app.terraform.io×20
  • my-alb-123456789.us-west-2.elb.amazonaws.com×3
  • developer.hashicorp.com×2
  • github.com×2
  • example.com×1
  • status.hashicorp.com×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
c9b5dd6a8cf24f4995505d11da4016d6d8c0a06d23e378faf24b0a9b27f0858a
Git tree SHA
b5d93c2d7a43fb52eac7917dac806d34eaf3a5a5
PathKindSizeSHA-256
SKILL.mdSKILL.md17 KB2ccf67ec43443913…
references/api-monitoring.mdDocs16 KB41c93db72e44cb19…
references/component-blocks.mdDocs9.9 KB7ae14b59e6155e18…
references/deployment-blocks.mdDocs8.7 KB371d489af099bcb3…
references/examples.mdDocs30 KBbcce8667b2f7ab77…
references/linked-stacks.mdDocs4.2 KBe7cafa2a3b54a05e…
references/troubleshooting.mdDocs16 KBe906ea598be037a3…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
409limit 1,024 characters
SKILL.md body
474 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
None declared
Repository license
LICENSE (GPL)
Claude Code plugin
terraform@hashicorp

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.