terraform

terraform is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 38 tokens per session (1,185 once invoked), scanned A, original, MIT.

A tool for describing cloud infrastructure in configuration files and creating it through provider plugins. It records the resources it manages so it can preview planned changes.

In plain words
What is it for?
Use it to provision networks, databases, Kubernetes clusters, and other services across providers such as AWS, Azure, and Google Cloud.
Why use it?
It reduces manual cloud setup and helps teams review infrastructure changes before applying them. Shared state lets multiple people work from the same resource inventory.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to provision networks, databases, Kubernetes clusters, and other services across providers such as AWS, Azure, and Google Cloud.

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

Made for: Claude Code, Codex.

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/g1joshi/agent-skills/terraform/github.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/terraform)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/terraform"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/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/g1joshi/agent-skills/terraform"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/terraform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,185 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.
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.00038 $0.01185
Opus 5.5 $0.00015 $0.00474
Sonnet 5.5 $0.00008 $0.00237
Haiku 4.5 $0.00004 $0.00119

Measured 2mo ago against content hash c165786e25b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

skills/devops/terraform/SKILL.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Terraform

HashiCorp Terraform is an Infrastructure as Code (IaC) engine allowing declarative provisioning and lifecycle management of cloud resources across multi-cloud environments using HCL.

When to Use

  • Multi-Cloud Declarative Infrastructure as Code (IaC): Provisioning and managing resources across AWS, Azure, GCP, and Kubernetes.
  • State Management & Team Collaboration: Tracking real-world cloud resources via remote state backends with locking.
  • Modular Infrastructure Architecture: Writing reusable, version-controlled modules for standard cloud topologies.
  • Pre-Deployment Execution Planning: Auditing infrastructure changes with terraform plan before applying.

Quick Start

# main.tf
provider "aws" {
  region = "us-west-2"
}

resource "aws_s3_bucket" "b" {
  bucket = "my-tf-test-bucket"
  tags = {
    Name = "My bucket"
  }
}

Core Concepts

Modular Architecture with Remote State & Locking

Configuring S3 remote backend with DynamoDB state locking:

# versions.tf
terraform {
  required_version = ">= 1.9.0"
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 5.50"
    }
  }

  backend "s3" {
    bucket         = "corp-terraform-state-prod"
    key            = "platform/network/terraform.tfstate"
    region         = "us-east-1"
    dynamodb_table = "terraform-state-lock"
    encrypt        = true
  }
}

provider "aws" {
  region = var.aws_region
  default_tags {
    tags = {
      Environment = var.environment
      ManagedBy   = "Terraform"
      Project     = "CoreInfrastructure"
    }
  }
}

Reusable VPC Module with Inputs & Outputs

Encapsulating network resources:

# modules/vpc/main.tf
resource "aws_vpc" "main" {
  cidr_block           = var.cidr_block
  enable_dns_hostnames = true
  enable_dns_support   = true

  tags = {
    Name = "${var.environment}-vpc"
  }
}

resource "aws_subnet" "public" {
  count                   = length(var.public_subnet_cidrs)
  vpc_id                  = aws_vpc.main.id
  cidr_block              = var.public_subnet_cidrs[count.index]
  availability_zone       = var.availability_zones[count.index]
  map_public_ip_on_launch = true

  tags = {
    Name = "${var.environment}-public-${count.index + 1}"
  }
}

output "vpc_id" {
  description = "The ID of the provisioned VPC"
  value       = aws_vpc.main.id
}

Read the full file on GitHub · 178 lines

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. 2mo ago Changed · +5 lines c165786e25b1
  2. 2mo ago Changed · +112 lines · +21 tokens per session 9099c1194496
  3. 3mo ago First seen · 61 lines · 17 tokens per session scan A cd998eb9da6b

Subscribe to this mod's changes

terraform is a skill published in the GitHub repository G1Joshi/Agent-Skills (16 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 1,185 once invoked, about $0.0002 per session on Opus 5.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

terraform compared with skills from other repositories

terraform next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
terraformG1Joshi/Agent-SkillsSkill162mo agoMITA38Claude Code, Codex
shipping-and-launchaddyosmani/agent-skillsSkill122k9d agoMITA57Claude Code
cost-optimizationborhen68/SkillEngineSkill175mo agoMITA52Claude Code
using-agent-skillsaddyosmani/agent-skillsSkill122k9d agoMITA54Claude Code
context-engineeringaddyosmani/agent-skillsSkill122k9d agoMITA43Claude Code
doubt-driven-developmentaddyosmani/agent-skillsSkill122k9d agoMITA96Claude Code
git-workflow-and-versioningaddyosmani/agent-skillsSkill122k9d agoMITA131Claude Code