terraform

terraform is a skill for Claude Code from georgekhananaev/claude-skills-vault. It costs 57 tokens per session (413 once invoked), scanned A, original, MIT.

A set of Terraform guidelines and tools for managing cloud infrastructure through configuration files. Terraform is an infrastructure-as-code tool that creates and updates resources from those files.

In plain words
What is it for?
Use it to write or review Terraform files, create Terraform tests, and refactor one large configuration into reusable modules.
Why use it?
It helps keep Terraform code consistent, validated, tested, and easier to reuse instead of leaving large configurations difficult to maintain.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to write or review Terraform files, create Terraform tests, and refactor one large configuration into reusable modules.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/georgekhananaev/claude-skills-vault/terraform"><img src="https://agentmods.dev/badge/skills/georgekhananaev/claude-skills-vault/terraform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 413 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00057 $0.00413
Opus 5 $0.00028 $0.00206
Sonnet 5 $0.00011 $0.00083
Haiku 4.5 $0.00006 $0.00041

Measured 9d ago against content hash c83d8bc28ab1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

terraform scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/terraform/SKILL.md · 51 lines

What it actually says

Terraform Skills

HashiCorp's official Terraform agent skills for infrastructure-as-code development.

Available Sub-Skills

Skill File Use When
Style Guide terraform-style-guide-SKILL.md Writing or reviewing Terraform HCL code
Testing terraform-test-SKILL.md Creating .tftest.hcl test files, writing assertions, mocking
Module Refactoring refactor-module-SKILL.md Transforming monolithic configs into reusable modules

Quick Reference

File Organization

File Purpose
terraform.tf Version requirements
providers.tf Provider configurations
main.tf Primary resources
variables.tf Input variables (alphabetical)
outputs.tf Output values (alphabetical)
locals.tf Local values

Key Conventions

  • Two spaces per indent, no tabs
  • Lowercase with underscores for names
  • Every variable needs type and description
  • Every output needs description
  • Prefer for_each over count
  • Never hardcode credentials

Validation

terraform fmt -recursive
terraform validate

Source

From hashicorp/agent-skills - terraform code-generation and module-generation plugins.

Files

What ships with it

3 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. 9d ago First seen · 51 lines · 57 tokens per session scan A c83d8bc28ab1

Subscribe to this mod's changes

terraform is a skill published in the GitHub repository georgekhananaev/claude-skills-vault (28 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 413 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

azure-devops

Manage Azure DevOps projects, work items, repos, PRs, pipelines, wikis, test plans, security alerts, variable groups, environments/approvals, branch policies, and attachments. Use when user asks to: manage sprints, create/update work items, list repos, create PRs, run pipelines, search code, manage wiki pages, check…

sanjay3290/ai-skills · 105 tokens

Supply Chain Security

Software supply chain security — SBOM generation and analysis, dependency confusion and typosquatting detection, malicious package indicators, CI/CD pipeline hardening, and artifact provenance/signing (SLSA, Sigstore).

Masriyan/Claude-Code-CyberSecurity-Skill · 47 tokens

review-tooling

Detect what dev tooling infrastructure a project has and flag gaps across linters, formatters, pre-commit hooks, test runners, and CI/CD pipelines. Returns structured findings without applying changes. Use when the user asks to "review tooling", "check project tooling", "what tooling is missing", "review dev…

tobihagemann/turbo · 74 tokens

workflow-diagram

Generates a Mermaid workflow diagram showing process steps, decisions, and state transitions. Use when documenting CI/CD pipelines or lifecycle processes.

athola/claude-night-market · 30 tokens

airflow-dag

Create Apache Airflow DAGs for construction data pipelines. Orchestrate ETL, validation, and reporting workflows.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 28 tokens

mobile-experience-report

Use when the user says 'my site looks bad on mobile', 'check mobile layout', 'responsive audit', or 'site broken on phones'. Diagnoses breakpoint problems, text sizing, column stacking failures, hidden elements, and navigation menu behavior, device by device.

respira-press/agent-skills-wordpress · 58 tokens