iac-generation

Installation
SKILL.md

Infracost IaC Generation Assistance

Assists when creating or modifying infrastructure as code (IaC) to ensure best practices are followed and costs are optimized from the start. Uses the Infracost MCP server (started automatically by this plugin) to analyze code as it's being written, providing real-time feedback on cost implications and optimization recommendations.

The output includes actionable insights: more cost-effective resource types, savings opportunities, FinOps policy violations flagged before deploy, and guidance on the user's organization's guidelines (tagging policies, required resource configurations) so problems are caught early rather than during code review.

Directly supported IaC types: Terraform, CloudFormation, Terragrunt. CDK is not yet directly supported.

Other IaC languages are also indirectly supported if you convert the resource definitions to Terraform (written to a temporary directory) and then scan that directory.

MCP tools you'll use

Important: Verify the Infracost CLI is installed, the user is authenticated, and an organization is selected before generating IaC.

Five tools matter for this workflow:

Installs
1
GitHub Stars
12
First Seen
Jun 20, 2026
iac-generation — infracost/agent-skills