appkit: Skill for Claude Code

.claude/skills/terraform-stacks/SKILL.md

terraform-stacks is a skill for Claude Code from jenreh/appkit. It costs 77 tokens per session (3,709 once invoked), scanned A, a copy of terraform-stacks, MIT.

A guide for HashiCorp Terraform Stacks, a way to manage related infrastructure across environments, regions, or cloud accounts. It explains Stack configuration files, components, deployments, providers, and validation.

In plain words
What is it for?
Use it to create, change, or validate `.tfcomponent.hcl` and `.tfdeploy.hcl` files, connect modules to infrastructure components, and configure deployments for different environments or regions.
Why use it?
It clarifies the separate configuration format and file types used by Stacks. This helps prevent confusing Stack files with ordinary Terraform configuration and supports consistent multi-environment setup.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is jenreh/appkit's own configuration. It tells Claude Code how to work on appkit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything appkit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jenreh/appkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jenreh/appkit/main/.claude/skills/terraform-stacks/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jenreh/appkit

Made for: Claude Code.

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/jenreh/appkit/terraform-stacks.svg)](https://agentmods.dev/skills/jenreh/appkit/terraform-stacks)
Your own site
<a href="https://agentmods.dev/skills/jenreh/appkit/terraform-stacks"><img src="https://agentmods.dev/badge/skills/jenreh/appkit/terraform-stacks.svg" alt="Measured on agentmods" 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,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.03709
Opus 5 $0.00039 $0.01854
Sonnet 5 $0.00015 $0.00742
Haiku 4.5 $0.00008 $0.00371

Measured 6d ago against content hash 2da2c016fe2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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 — 1 line 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.

.claude/skills/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. 6d ago First seen · 481 lines · 77 tokens per session scan A 2da2c016fe2c

Subscribe to this mod's changes

terraform-stacks is a skill published in the GitHub repository jenreh/appkit (4 stars, last pushed 6d ago), licensed MIT. It adds 77 tokens to every session and 3,709 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 95% identical to terraform-stacks, differing in 1 line, and is treated as a copy.

Related

Other skills, from other repositories

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

migrate-radix-to-base

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.

shadcn-ui/ui · 61 tokens

gpt-image

Use this skill whenever a user asks to generate, create, draw, render, or edit images with GPT Image 2 / gpt-image-2, text-to-image, reference-image editing, inpainting, posters, typography, Chinese text, UI mockups, diagrams, or gallery prompts. Analyze the user's prompt, search the bundled Reference Gallery/craft…

wuyoscar/GPT-Image2-Skill · 120 tokens

get-prompt-from-image

Analyze user-provided reference images and reverse-engineer high-fidelity AI image-generation prompts. Use when the user asks to recreate, imitate, reverse-engineer, or extract prompts from photographs, illustrations, 3D renders, products, characters, landscapes, typography, logos, posters, or other visual references.…

wuyoscar/GPT-Image2-Skill · 83 tokens

heroui-react

HeroUI v3 React component library (Tailwind CSS v4 + React Aria). Use when building UIs with HeroUI — creating Buttons, Modals, Forms, Cards; installing @heroui/react; configuring dark/light themes with oklch variables; or fetching component docs. Keywords: HeroUI, Hero UI, heroui, @heroui/react, @heroui/styles.

heroui-inc/heroui · 83 tokens

motion

How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.

OpenDCAI/GameFactory-3A · 0 tokens