Agent skill

Terraform Best Practices

by c0x12c in c0x12c/ai-toolkit

Quick reference for Terraform conventions including file organization, naming, modules, state, security, and anti-patterns.

No licenceAuto-check passedDevOps & Cloud

Install Terraform Best Practices

skills CLI
$ npx skills add c0x12c/ai-toolkit --skill terraform-best-practices -a claude-code

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

GitHub CLI
$ gh skill install c0x12c/ai-toolkit terraform-best-practices --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/c0x12c/ai-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/terraform-best-practices .claude/skills/terraform-best-practices && 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
terraform-best-practices
GitHub stars
106
Token cost
~1.6k tokens
SKILL.md length
149 words
Files
1
Skills in repo
33
Repo updated
First seen
Licence
None found

At a glance

Quick reference for Terraform conventions including file organization, naming, modules, state, security, and anti-patterns.

  • Reviewing Terraform code
  • SKILL.md covers File Organization, Naming, Module Patterns and State Management, plus 4 more sections
  • Calls terraform; reaches github.com
  • Tasks that involve Infrastructure as code

What it does

Terraform Best Practices is an agent skill from c0x12c/ai-toolkit. Quick reference for Terraform conventions including file organization, naming, modules, state, security, and anti-patterns. Use when writing or reviewing Terraform code.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Infrastructure as code and File organization. It works with Terraform.

When your agent uses it

  • Reviewing Terraform code
  • Tasks that involve Infrastructure as code
  • Tasks that involve File organization

Example prompts

  • “/terraform-best-practices”

What it can do on your machine

Read from SKILL.md and the folder at commit 96b2c9d. 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

    Shell commands in SKILL.md call:

    • terraform

    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

    Also links to:

    • registry.terraform.io

    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

Terraform Best Practices loads about 1.6k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 149 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

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); files beside SKILL.md are not scanned.

SKILL.md

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

“Use modules from the c0x12c Terraform Registry. Each module source follows c0x12c/{name}/aws — see the registry for available modules and versions.”

— opening of SKILL.md by c0x12c
name
terraform-best-practices

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .codex/skills/terraform-best-practices of c0x12c/ai-toolkit.

Open the folder on GitHubat commit 96b2c9d

Compare with similar skills

Terraform Best Practices 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.

Terraform Best Practices compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Terraform Best Practices this skillc0x12c/ai-toolkit106—~1.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 c0x12c/ai-toolkit

All 33 skills in this repo
  • UI UX Pro Max

    c0x12c/ai-toolkit

    UI/UX design intelligence with searchable style, palette, typography, and chart databases.

    106 GitHub stars~2.1k tokensUpdated 3 mo ago
    Auto-check passed
  • API Endpoint Creator

    c0x12c/ai-toolkit

    Creates RPC-style endpoint following layered architecture (Controller → Manager → Repository).

    106 GitHub stars~3.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Backend API Design

    c0x12c/ai-toolkit

    Design RPC-style APIs with layered architecture (Controller → Manager → Repository).

    106 GitHub stars~814 tokensUpdated 3 mo ago
    Auto-check passed
  • CI CD Patterns

    c0x12c/ai-toolkit

    CI/CD pipeline patterns for GitHub Actions, PR automation, and deployment workflows.

    106 GitHub stars~833 tokensUpdated 3 mo ago
    Auto-check passed
  • Content Engine

    c0x12c/ai-toolkit

    Turn one idea into platform-native content for X, LinkedIn, TikTok, YouTube, newsletters.

    106 GitHub stars~986 tokensUpdated 3 mo ago
    Auto-check passed
  • Database Table Creator

    c0x12c/ai-toolkit

    Creates database table with full Kotlin synchronization (SQL migration → Table → Entity → Repository → Tests).

    106 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed

Works with

Categories

Questions about Terraform Best Practices

What does Terraform Best Practices do?

Quick reference for Terraform conventions including file organization, naming, modules, state, security, and anti-patterns. Terraform Best Practices is an agent skill from c0x12c/ai-toolkit. Quick reference for Terraform conventions including file organization, naming, modules, state, security, and anti-patterns.

When should I use Terraform Best Practices?

Terraform Best Practices fits situations like: reviewing Terraform code; tasks that involve Infrastructure as code; tasks that involve File organization.

How do I install Terraform Best Practices in Claude Code?

Run `npx skills add c0x12c/ai-toolkit --skill terraform-best-practices -a claude-code`. Or copy the skill folder (.codex/skills/terraform-best-practices in c0x12c/ai-toolkit) into .claude/skills/terraform-best-practices in your project. Claude Code loads it when a task matches its description.

How do I install Terraform Best Practices in Codex?

Run `npx skills add c0x12c/ai-toolkit --skill terraform-best-practices -a codex`. Or copy the skill folder (.codex/skills/terraform-best-practices in c0x12c/ai-toolkit) into .agents/skills/terraform-best-practices in your project. Codex loads it when a task matches its description.

Can I use Terraform Best Practices 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 c0x12c/ai-toolkit --skill terraform-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/terraform-best-practices, .gemini/skills/terraform-best-practices, .github/skills/terraform-best-practices and .opencode/skills/terraform-best-practices in your project.

What does Terraform Best Practices need to run?

Going by SKILL.md and its folder, Terraform Best Practices needs the command-line tools its instructions call (terraform).

Does Terraform Best Practices access the network?

SKILL.md names 2 domains. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. As links in the text: registry.terraform.io. This is read from the text; nothing was executed.

Is Terraform Best Practices 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. Review the folder before installing.

What licence does Terraform Best Practices use?

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

How many tokens does Terraform Best Practices use?

About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Terraform Best Practices?

Skills that share tags, products or a category with Terraform Best Practices: 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 Terraform Best Practices?

c0x12c (a GitHub organization) maintains it in c0x12c/ai-toolkit, which has 106 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on June 18, 2026.

Source: c0x12c/ai-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.