Agent skill

Iac Terraform

by ahmedasmar in ahmedasmar/devops-claude-skills

Infrastructure as Code with Terraform and Terragrunt. An agent skill from ahmedasmar/devops-claude-skills.

No licenceAuto-check passedDevOps & Cloud

Install Iac Terraform

skills CLI
$ npx skills add ahmedasmar/devops-claude-skills --skill iac-terraform -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ahmedasmar/devops-claude-skills iac-terraform --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ahmedasmar/devops-claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/iac-terraform/skills .claude/skills/iac-terraform && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
iac-terraform
GitHub stars
203
Token cost
~2.6k tokens
SKILL.md length
552 words
Files
10 (incl. scripts, references, assets)
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Infrastructure as Code with Terraform and Terragrunt. An agent skill from ahmedasmar/devops-claude-skills.

  • Works in 5 steps: New Infrastructure Development → State Management & Inspection → Standard Terraform Workflow → …
  • The user mentions Terraform
  • SKILL.md covers Core Workflows, Terragrunt Patterns, Reference Documentation and CI/CD Workflows, plus 3 more sections
  • Runs Python scripts from its folder; calls terraform and python3; reaches github.com

What it does

Iac Terraform is an agent skill from ahmedasmar/devops-claude-skills. Infrastructure as Code with Terraform and Terragrunt. Use this skill whenever the user mentions Terraform, Terragrunt, HCL, or infrastructure as code. Triggers include writing or reviewing .tf files, creating reusable modules, debugging terraform plan/apply errors, managing remote state and locks, fixing state drift, setting up CI/CD for Terraform, scaffolding new modules, validating module structure, and implementing Terragrunt DRY patterns across environments.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts, reference files and assets (for example `assets/templates/MODULE_TEMPLATE.md`, `assets/workflows/github-actions-terraform.yml` and `assets/workflows/github-actions-terragrunt.yml`).

It sits in DevOps & Cloud, covering Infrastructure as code. It works with Terraform. The repository describes itself as: A Claude Code Skills Marketplace for DevOps workflows.

When your agent uses it

  • The user mentions Terraform
  • Infrastructure as code
  • Include writing
  • Reviewing .tf files

Example prompts

  • “/iac-terraform”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. New Infrastructure Development
  2. State Management & Inspection
  3. Standard Terraform Workflow
  4. Troubleshooting Issues
  5. Code Review & Quality

What it can do on your machine

Read from SKILL.md and the folder at commit 1489c33. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • terraform
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Iac Terraform loads about 2.6k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 120 tokens; SKILL.md has 552 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~120
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 552 words (~2,641 tokens).

“Comprehensive guidance for infrastructure as code using Terraform and Terragrunt, from development through production deployment.”

— opening of SKILL.md by ahmedasmar
name
iac-terraform

Read the full SKILL.md on GitHub

Files

SKILL.md and 9 other files (scripts, references, assets) in iac-terraform/skills of ahmedasmar/devops-claude-skills.

  • SKILL.md
  • assets/templates/MODULE_TEMPLATE.md
  • assets/workflows/github-actions-terraform.yml
  • assets/workflows/github-actions-terragrunt.yml
  • assets/workflows/gitlab-ci-terraform.yml
  • references/best_practices.md
  • references/cost_optimization.md
  • references/troubleshooting.md
  • scripts/init_module.py
  • scripts/validate_module.py

Open the folder on GitHubat commit 1489c33

Compare with similar skills

Iac Terraform next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Iac Terraform compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Iac Terraform this skillahmedasmar/devops-claude-skills203—~2.6kAutomated safety check: PassNone
Terraform and OpenTofu Guideagentscope-ai/QwenPaw36k6 repos~4.2kAutomated safety check: PassApache-2.0
Terraform Skillantonbabenko/terraform-skill2.4k1 repos~5.1kAutomated safety check: PassApache-2.0
Review Docshashicorp/terraform-provider-aws11k—~1.3kAutomated safety check: PassMPL-2.0
Senior DevOps Toolkitmaslennikov-ig/claude-code-orchestrator-kit2606 repos~1.1kAutomated safety check: NotesCustom licence
Cloudflarehodgef/apiker1277 repos~2.2kAutomated safety check: PassMIT

Similar skills

  • Terraform and OpenTofu Guide

    agentscope-ai/QwenPaw

    Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.

    36k GitHub starsUsed in 6 repos~4.2k tokens
    DevOps & CloudAuto-check passed
  • Terraform Skill

    antonbabenko/terraform-skill

    A skill your agent uses when writing, reviewing, or debugging Terraform/OpenTofu modules, tests, CI, scans, or state ops - diagnoses failure mode (identity churn, secrets, blast radius, CI drift…

    2.4k GitHub starsUsed in 1 repo~5.1k tokens
    DevOps & CloudAuto-check passed
  • Review Docs

    hashicorp/terraform-provider-aws

    Official

    Review a Terraform AWS Provider PR's end-user documentation (website/docs//.markdown): whether docs are needed, description openings, argument/attribute style, section structure, tags wording, code…

    11k GitHub stars~1.3k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Senior DevOps Toolkit

    maslennikov-ig/claude-code-orchestrator-kit

    Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…

    260 GitHub starsUsed in 6 repos~1.1k tokens
    DevOps & CloudAuto-check: notes
  • Cloudflare

    hodgef/apiker

    Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF…

    127 GitHub starsUsed in 7 repos~2.2k tokens
    DevOps & CloudAuto-check passed
  • Terravision Cloud Diagrams

    patrickchugh/terravision

    Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.

    1.6k GitHub stars~5.6k tokensUpdated 4 days ago
    DevOps & CloudAuto-check: notes

More from ahmedasmar/devops-claude-skills

  • CI CD

    ahmedasmar/devops-claude-skills

    CI/CD pipeline design, optimization, DevSecOps security scanning, and troubleshooting.

    203 GitHub stars~3.5k tokensUpdated 6 mo ago
    Auto-check passed
  • Monitoring Observability

    ahmedasmar/devops-claude-skills

    Monitoring and observability strategy, implementation, and troubleshooting.

    203 GitHub stars~3.9k tokensUpdated 6 mo ago
    Auto-check passed
  • K8s Troubleshooter

    ahmedasmar/devops-claude-skills

    Systematic Kubernetes troubleshooting and incident response.

    203 GitHub stars~2.4k tokensUpdated 6 mo ago
    Auto-check passed
  • AWS Cost Optimization

    ahmedasmar/devops-claude-skills

    AWS cost optimization and FinOps workflows. An agent skill from ahmedasmar/devops-claude-skills.

    203 GitHub stars~4.3k tokensUpdated 6 mo ago
    Auto-check passed

Works with

Categories

Questions about Iac Terraform

What does Iac Terraform do?

Infrastructure as Code with Terraform and Terragrunt. An agent skill from ahmedasmar/devops-claude-skills. Iac Terraform is an agent skill from ahmedasmar/devops-claude-skills. Infrastructure as Code with Terraform and Terragrunt.

When should I use Iac Terraform?

Iac Terraform fits situations like: the user mentions Terraform; infrastructure as code; include writing; reviewing .tf files.

How do I install Iac Terraform in Claude Code?

Run `npx skills add ahmedasmar/devops-claude-skills --skill iac-terraform -a claude-code`. Or copy the skill folder (iac-terraform/skills in ahmedasmar/devops-claude-skills) into .claude/skills/iac-terraform in your project. Claude Code loads it when a task matches its description.

How do I install Iac Terraform in Codex?

Run `npx skills add ahmedasmar/devops-claude-skills --skill iac-terraform -a codex`. Or copy the skill folder (iac-terraform/skills in ahmedasmar/devops-claude-skills) into .agents/skills/iac-terraform in your project. Codex loads it when a task matches its description.

Can I use Iac Terraform in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ahmedasmar/devops-claude-skills --skill iac-terraform -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/iac-terraform, .gemini/skills/iac-terraform, .github/skills/iac-terraform and .opencode/skills/iac-terraform in your project.

What does Iac Terraform need to run?

Going by SKILL.md and its folder, Iac Terraform needs Python for the scripts in its folder and the command-line tools its instructions call (terraform and python3). Our summary lists: Python 3.

Does Iac Terraform access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Iac Terraform safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Iac Terraform use?

No licence was found for Iac Terraform or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Iac Terraform use?

About 2.6k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 10k tokens, read only when the agent opens those files.

What are the alternatives to Iac Terraform?

Skills that share tags, products or a category with Iac Terraform: Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 36k stars), Terraform Skill (antonbabenko/terraform-skill, 2.4k stars), Review Docs (hashicorp/terraform-provider-aws, 11k stars) and Senior DevOps Toolkit (maslennikov-ig/claude-code-orchestrator-kit, 260 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Iac Terraform?

ahmedasmar (a GitHub user) maintains it in ahmedasmar/devops-claude-skills, which has 203 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on April 11, 2026.

Source: ahmedasmar/devops-claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.