Skill Detail

Estimate Terraform and OpenTofu cost deltas before infrastructure changes merge with Infracost

Show projected cloud cost increases or savings from Terraform and OpenTofu plans before a PR merges.

CI/CD IntegrationsMulti-Framework
CI/CD Integrations Multi-Framework Security Reviewed
⭐ 12.3k GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill estimate-terraform-and-opentofu-cost-deltas-before-infrastructure-changes-merge-with-infracost Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Infracost CLI, Terraform or OpenTofu plan output
Install & setup
Install the Infracost CLI from the official docs, then authenticate or configure pricing inputs before running cost breakdown or diff commands against Terraform or OpenTofu plans.
Author
Infracost
Publisher
Organization
Last updated
Apr 15, 2026
Quick brief

Use Infracost when an agent needs to answer a narrow pre-merge question: how much will this Terraform or OpenTofu change move projected cloud spend up or down. The agent can read plan output, run cost breakdowns and diffs, and turn the results into a review-ready summary before infrastructure changes merge. Invoke this instead of using the product normally when the job is pull request cost adjudication, not general IaC authoring or cloud billing. The boundary is cost-delta review for infrastructure plans before approval, not a generic Terraform tool or cloud cost platform.