terraform-skill
Terraform & OpenTofu Skill for AI Agents - testing, modules, CI/CD, and production patterns
Features
- ✓AI-assisted Terraform testing & CI/CD
- ✓Best practices for module structure & versioning
- ✓Multi-cloud support with AWS, Azure, GCP
- ✓Comprehensive state management & security
- ✓Quick reference for decision flowcharts & patterns
- ✓Visit GitHub for more tools and instructions
Installation Guide
antonbabenko/agent-plugins(terraform-skill is listed there as an external plugin). Do not also add
antonbabenko/terraform-skill as a marketplace - both use the same marketplacename and will clash.
Quick install (any agent)
Works with any Agent Skills-compatible tool:
npx skills add https://github.com/antonbabenko/terraform-skillPer-host instructions
<!-- prettier-ignore-start -->
<details>
<summary>Claude Code</summary>
/plugin marketplace add antonbabenko/agent-plugins
/plugin install terraform-skill@antonbabenko</details>
<details>
<summary>Gemini CLI</summary>
gemini extensions install https://github.com/antonbabenko/terraform-skillUpdate with gemini extensions update terraform-skill.
</details>
<details>
<summary>Cursor</summary>
git clone https://github.com/antonbabenko/terraform-skill.git ~/.cursor/skills/terraform-skillCursor auto-discovers skills from .agents/skills/ and .cursor/skills/.
</details>
<details>
<summary>Copilot</summary>
/plugin install https://github.com/antonbabenko/terraform-skill
# or
git clone https://github.com/antonbabenko/terraform-skill.git ~/.copilot/skills/terraform-skillCopilot auto-discovers skills from .copilot/skills/.
</details>
<details>
<summary>OpenCode</summary>
git clone https://github.com/antonbabenko/terraform-skill.git ~/.agents/skills/terraform-skillOpenCode auto-discovers skills from .agents/skills/, .opencode/skills/, and .claude/skills/.
</details>
<details>
<summary>Codex (OpenAI)</summary>
git clone https://github.com/antonbabenko/terraform-skill.git ~/.agents/skills/terraform-skillCodex auto-discovers skills from ~/.agents/skills/ and .agents/skills/. Update with cd ~/.agents/skills/terraform-skill && git pull.
For a managed Codex plugin install, use the antonbabenko/agent-plugins
marketplace (codex plugin marketplace add antonbabenko/agent-plugins, then
install terraform-skill). Do not add antonbabenko/terraform-skill as a
separate marketplace - it clashes by name with agent-plugins.
</details>
<details>
<summary>Kiro</summary>
git clone https://github.com/antonbabenko/terraform-skill.git ~/.kiro/skills/terraform-skillKiro auto-discovers skills from .kiro/skills/ (workspace) and ~/.kiro/skills/ (global).
</details>
<details>
<summary>Antigravity/Antigravity IDE/Antigravity CLI</summary>
git clone https://github.com/antonbabenko/terraform-skill.git
ln -s "$(pwd)/terraform-skill/skills/terraform-skill" ~/.gemini/config/skills/terraform-skillUpdate with git pull.
</details>
<details>
<summary>Kiro</summary>
This repo is also a Kiro Power (rootPOWER.md + optional mcp.json). In Kiro: **Powers panel → "Add power from
GitHub"**, then paste:
https://github.com/antonbabenko/terraform-skillKiro activates the power on keyword match (e.g. "terraform", "opentofu",
"state", "modules"). Installing it also registers the optional read-only
HashiCorp terraform-mcp-server (from mcp.json) under the Powers section of~/.kiro/settings/mcp.json — the guidance works without it. POWER.md is
generated from skills/terraform-skill/SKILL.md; the skill content is shared,
not duplicated.
</details>
<details>
<summary>Manual (symlink local clone)</summary>
git clone https://github.com/antonbabenko/terraform-skill
mkdir -p ~/.claude/plugins
ln -s "$(pwd)/terraform-skill" ~/.claude/plugins/terraform-skillClaude Code autodiscovers the skill at skills/terraform-skill/SKILL.md on next launch. Edits to the clone are picked up live.
</details>
<!-- prettier-ignore-end -->
Verify installation
After installation, try:
"Create a Terraform module with testing for an S3 bucket"Claude picks up the skill automatically when working with Terraform or OpenTofu code.