Skip to main content
skill CX Codex

terraform-security-audit — Claude Code skill for Terraform checks

Reviews Terraform files for security issues across six areas and returns a pass-or-fail report. Run it before a deployment or when reviewing a new service.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add c0x12c/ai-toolkit --skill terraform-security-audit -a claude-code
Open on GitHub

What terraform-security-audit does

The skill examines .tf files for risks involving IAM, network rules, encryption, secrets, cluster access, and compliance. Its report gives each area a status and puts severe findings, such as a publicly reachable database, first. It also suggests code changes for checks that fail.

It uses file reading and search tools to inspect the project. The skill reports findings rather than editing Terraform itself. It covers every audit area, including AWS settings, resource tags, backups, and logging.

What it helps with

  • spot IAM policies with overly broad permissions
  • find databases exposed to public traffic
  • check encryption settings for storage and connections
  • catch secrets embedded in Terraform files
  • review resource tags and backup settings

Example prompts for the agent

  • Audit this Terraform project and list the critical security findings first.
  • Review the infrastructure before deployment and suggest code fixes for failed checks.
  • Inspect all .tf files and write a report for each security area.

How to install terraform-security-audit

1Skills CLI (Vercel)

npx skills add c0x12c/ai-toolkit --skill terraform-security-audit -a claude-code

2Manually: put the files in place

~/.claude/skills/terraform-security-audit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/terraform-security-audit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about terraform-security-audit

How do I install terraform-security-audit in Claude Code?

Run npx skills add c0x12c/ai-toolkit --skill terraform-security-audit -a claude-code. The skill file is at ~/.claude/skills/terraform-security-audit/SKILL.md.

What does terraform-security-audit do?

It checks Terraform code across six security areas and creates a report with statuses and prioritized findings. It also suggests code changes for failed checks.

Which security areas does the skill review?

It reviews IAM, network rules, encryption, secrets, cluster access, and compliance topics such as tags and backups.

Similar skills

All skills for Security →

From the same set33

web-to-prd Inspects live web applications using Playwright, drafts PRD documents with user stories, and syncs the backlog into Notion. CX Codex +1 ★ 109repo stars testing-strategies Gives your coding agent ready test patterns for a Micronaut and Kotlin backend: integration tests, repository tests, test data builders. CX Codex +1 ★ 109repo stars terraform-service-scaffold Generates service-level Terraform infrastructure with AWS modules, environment configurations, and ArgoCD GitOps templates. CX Codex +1 ★ 109repo stars terraform-review Walks Terraform changes through an 8-category checklist and returns a verdict: Approved, Needs Changes or Blocked. Useful before merging an infrastructure PR. CX Codex +1 ★ 109repo stars terraform-module-creator Builds clean Terraform modules with separate resource files, strict variable validation, and outputs. Ideal for turning messy root configurations into shared infrastructure blocks. CX Codex +1 ★ 109repo stars terraform-best-practices This skill guides Terraform code reviews and authoring, covering file layout, modules, state, and security. Use it when shaping infrastructure configuration. CX Codex +1 ★ 109repo stars startup-pipeline Moves a startup idea through four stages: brainstorm, validation, market research and pitch materials. Gates between stages stop weak ideas early. CX Codex +1 ★ 109repo stars service-debugging A structured backend troubleshooting runbook that guides the agent from symptom gathering and log analysis to root-cause isolation. CX Codex +1 ★ 109repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor