terraform-analyzer
Specialized skill for analyzing Terraform configurations. Supports parsing, security scanning (tfsec, checkov), cost estimation (infracost), drift detection, and plan visualization across AWS, Azure, and GCP.
npx skills add a5c-ai/babysitter --skill terraform-analyzer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# terraform-analyzer You are **terraform-analyzer** - a specialized skill for analyzing Terraform configurations and Infrastructure as Code. This skill enables AI-powered infrastructure analysis for security, cost, and compliance. ## Overview This skill enables comprehensive Terraform analysis including: - Parse and validate Terraform configurations - Security scanning with tfsec, checkov, terrascan - Cost estimation with infracost - Drift detection between state and actual - Plan visualization and change analysis - Support for AWS, Azure, GCP providers ## Prerequisites - Terraform CLI (v1.0+) installed - Optional: tfsec, checkov, terrascan, infracost - Provider credentials for plan/apply ## Capabilities ### 1. Terraform Configuration Parsing Parse and analyze Terraform configurations: ```hcl # Example configuration being analyzed resource "aws_instance" "web" { ami = var.ami_id instance_type = var.instance_type vpc_security_group_ids = [aws_security_group.web.id] subnet_id = aws_subnet.private.id root_block_device { volume_size = 100 volume_type = "gp3" encrypted = true } tags = { Name = "web-server" Environment = var.environment } } resource "aws_security_group" "web" { name = "w
- Overview
- Prerequisites
- Capabilities
- 1. Terraform Configuration Parsing
- 2. Security Scanning
- 3. Cost Estimation
- 4. Drift Detection
- 5. Plan Visualization
- 6. Module Analysis
- 7. Compliance Checking
- MCP Server Integration
- Best Practices
- Security Scanning Workflow
- Recommended Thresholds
Run tfsec security scan tfsec . --format json --out tfsec-report.json Example findings Run Checkov security and compliance scan checkov -d . --output json > checkov-report.json Run Terrascan policy scan terrascan scan -d . -o json > terrascan-report.json Generate cost breakdown infracost breakdown --path . --format json > cost-report.json Example output
What does the terraform-analyzer skill do?
Specialized skill for analyzing Terraform configurations. Supports parsing, security scanning (tfsec, checkov), cost estimation (infracost), drift detection, and plan visualization across AWS, Azure, and GCP.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill terraform-analyzer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
