infra-cost-guard

Estimate cloud resource costs from Terraform plans and live lists.

1|Updated Jun 11, 2026
One-click install
npx skills add https://github.com/sergeyitaly/claude-skill-deployer --skill infra-cost-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infra-cost-guard
Source: https://github.com/sergeyitaly/claude-skill-deployer/tree/main/skills_library/infra-cost-guard
Command: npx skills add https://github.com/sergeyitaly/claude-skill-deployer --skill infra-cost-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the risk of unexpected, high cloud infrastructure bills that arise when expensive resources (such as firewalls, NAT gateways, managed databases, and high-tier compute instances) are deployed via Terraform or left running without cost visibility.

Core Features & Use Cases

  • Multi-cloud cost detection: Identifies expensive resource types in Terraform plans and live cloud resource lists across Azure, AWS, and GCP.
  • Accurate cost estimation: Calculates hourly, daily, and monthly running costs for detected resources using standard pricing benchmarks.
  • Pre-apply warnings: Emits clear cost summaries before terraform apply, including explicit teardown commands to stop charges immediately if resources are no longer needed.
  • Post-apply reminders: Writes teardown reminders to project run-logs after successful applies to avoid forgotten long-running resources.
  • Use Case: A DevOps engineer preparing to deploy a test Kubernetes cluster and firewall on Azure can use this Skill to get an immediate estimate of ~$30/day in charges, along with the exact command to run when testing is complete.

Quick Start

Use the infra-cost-guard skill to estimate the total monthly cost of all expensive resources in your latest Terraform plan before you run terraform apply.

Frequently Asked Questions about infra-cost-guard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I estimate cloud infrastructure costs before running a Terraform apply?

Terraform cost estimation works by scanning your Terraform plan to identify expensive resources across AWS, Azure, and GCP. It calculates hourly, daily, and monthly running costs and emits pre-apply warnings with exact teardown commands to prevent unexpected cloud bills.

Can I get cost warnings for expensive resources like NAT gateways and managed databases?

Yes, you can get cost warnings for expensive resources like NAT gateways, firewalls, and managed databases. The Skill detects these costly resource types in Terraform plans and live resource lists, calculating their running costs to prevent unexpected infrastructure charges before deployment.

Does this cost guard tool work with live cloud resources or only Terraform plans?

This cost guard tool works with both Terraform plans and live cloud resource lists. It identifies expensive compute, networking, and managed database resources across AWS, Azure, and GCP, providing running cost estimates and post-apply teardown reminders for long-running resources.

What is the best way to prevent forgotten long-running cloud resources from incurring charges?

The best way to prevent forgotten long-running cloud resources from incurring charges is to use a cost guard that writes post-apply teardown reminders to project run-logs after successful Terraform applies, ensuring you have the exact commands to stop charges when testing is complete.

How do I calculate the daily running cost of a test Kubernetes cluster and firewall on Azure?

You calculate the daily running cost of a test Kubernetes cluster and firewall on Azure by estimating the running costs of the expensive resources in your deployment. The Skill generates daily cost estimates and provides explicit teardown commands to run when testing is finished.