Agent Skill
Terraform Skill skill
terraform-skillantonbabenko/terraform-skillskills/terraform-skill/SKILL.md
Use when writing, reviewing, or debugging Terraform/OpenTofu modules, tests, CI, scans, or state ops - diagnoses failure mode (identity churn, secrets, blast radius, CI drift, state corruption) with version-aware guards.
always on
51 tokname + description
once used
4,613 tokSKILL.md body
bundled files
8171 KB
repo stars
2.4kGitHub
Install the Terraform Skill skill
Skills CLI (Claude Code, Codex, Cursor and others)
npx skills add https://github.com/antonbabenko/terraform-skill --skill terraform-skill
Claude Code, by hand (all projects)
git clone --depth 1 https://github.com/antonbabenko/terraform-skill.git /tmp/terraform-skill mkdir -p ~/.claude/skills cp -R /tmp/terraform-skill/skills/terraform-skill ~/.claude/skills/terraform-skill
For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.
What it costs your context
Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.
| When | What loads | Cost |
|---|---|---|
| Every session | Name and description | 51 tok |
| When the agent uses it | The SKILL.md instructions | 4,613 tok |
| Only if opened | 8 bundled files (171 KB) | varies |
Until it is used, terraform-skill costs about 27× less than the median MCP server we measured (1,363 tokens on every turn). Skills vs MCP study
Checks
Our checks found nothing to flag: it follows the Agent Skills specification's naming and size guidelines and doesn't pipe downloads into a shell.
Checked 2026-10-22 · method
What's inside
The headings of its SKILL.md. Read the full file on GitHub.
- Terraform Skill for Claude
- Response Contract
- Workflow
- Diagnose Before You Generate
- When to Use This Skill
- Core Principles
- Module Hierarchy
- Directory Layout
- Naming Conventions (summary)
- Block Ordering (summary)
- Testing Strategy
- Decision Matrix: Which Testing Approach?
- Native Test Rules (1.6+)
- Count vs ForEach — Quick Rule
- Locals for Dependency Management
- Module Development
- CI/CD
- Security & Compliance
- State Management
- Choosing a Remote Backend
- State Organization
- Version Management
- Modern Terraform Features (1.0+)
- Runtime-Specific Guidance