- Home
- Skills
- DevOps & Cloud
- Cloud Bill Shock Pre-Flight Auditor
Works with the AI Agents you already use
Cloud Bill Shock Pre-Flight Auditor
Catch runaway AWS/GCP NAT egress, infinite CloudWatch logs, unoptimized EBS/RDS, and unbounded Kubernetes autoscalers before deploy—with a read-only FinOps scanner and transparent USD/mo savings estimates.
$9
Cloud Bill Shock Pre-Flight Auditor
Example session with this skill installed
Run a FinOps pre-flight bill-shock audit on our startup's AWS Terraform and EKS manifests in infra/ before we promote to production. Estimate conservative monthly savings and show safe Terraform/K8s fixes before editing any files.
- Read your context and instructions
- Compiled the cloud bill shock
Cloud Bill Shock Pre-Flight FinOps Report
Bill-Shock Risk Tier: CRITICAL ·
Estimated Monthly Waste: $454 – $1,251 / month ($5,448 – $15,012 / year)
Findings: 2 Critical · 5 High · 2 Medium (based on transparent US-East On-Demand pricing baselines)
| Rule | Severity | Location | Trap Detected | Est. Savings / mo | Confidence |
|---|---|---|---|---|---|
FIN-AWS-001 | Critical | infra/network.tf:18 | aws_nat_gateway without S3/DynamoDB VPC Gateway Endpoints | $95 – $420/mo | Medium |
FIN-K8S-001 | Critical | k8s/api-deploy.yaml:24 | Deployment api missing resources.requests & limits | $120 – $350/mo | Medium |
FIN-AWS-002 | High | infra/logs.tf:5 | aws_cloudwatch_log_group has no retention_in_days (Never Expire) | $35 – $140/mo | Medium |
FIN-K8S-003 | High | k8s/services.yaml:12 | 3 separate type: LoadBalancer Services instead of 1 shared Ingress | $54 – $75/mo | High |
FIN-AWS-004 | High | infra/db.tf:31 | Legacy gp2 EBS volume (500 GB) instead of gp3 | $10 – $20/mo | High |
FIN-AWS-005 | High | infra/db.tf:14 | Legacy db.m5.xlarge + multi_az = true in staging path | $140 – $246/mo | High |
Top Copy-Paste Remediation Diff (infra/network.tf — Free VPC Gateway Endpoint)
resource "aws_vpc_endpoint" "s3_gateway" {
vpc_id = aws_vpc.main.id
service_name = "com.amazonaws.${var.region}.s3"
vpc_endpoint_type = "Gateway"
route_table_ids = aws_route_table.private[*].id
}
Next Steps (Approval Required)
Zero-risk wins (no downtime): Add S3/DynamoDB VPC Gateway Endpoints, set retention_in_days = 30, and add S3 lifecycle policies.
2. Planned maintenance wins: Switch gp2 → gp3 and rightsize staging RDS / K8s pod requests.
3. Reply "Apply Phase 1 cost guardrails" to patch Terraform/K8s files and generate a FinOps PR summary.
Connects securely to your tools. The creator never sees your data.
About this skill
Catch Cloud Bill Shocks Before terraform apply or kubectl apply
Cloud Bill Shock Pre-Flight Auditor turns your AI coding agent into a pre-deployment FinOps gate backed by a zero-dependency, strictly read-only Python static analyzer (scripts/scan_cloud_waste.py). Scan Terraform, Kubernetes, Helm, CloudFormation, and Serverless templates locally—without live AWS/GCP credentials—and get itemized conservative monthly USD savings ranges plus copy-paste remediation diffs.
What It Detects (13 High-Impact FinOps Rules)
- AWS & Terraform (
FIN-AWS-001–007):- NAT Gateways missing free S3/DynamoDB VPC Gateway Endpoints (the classic
$32/mo + $0.045/GBegress trap) - CloudWatch Log Groups missing
retention_in_days(default = Never Expire) - S3 Buckets missing lifecycle/tiering rules for logs, artifacts, and noncurrent versions
- Legacy
gp2or uncalibratedio1/io2EBS volumes vsgp3 - Legacy EC2/RDS families (
m5/c5/r5/db.m5) vs Graviton (t4g/m7g/db.r6g) and unnecessarymulti_az = truein non-prod - Missing cost-allocation tags (
Environment,Owner,Service) - Unbounded Lambda functions missing
reserved_concurrent_executionsor budget alerts
- NAT Gateways missing free S3/DynamoDB VPC Gateway Endpoints (the classic
- GCP (
FIN-GCP-001–002): Cloud Storage buckets missinglifecycle_rule, legacyn1-standard-*nodes & unbounded GKE autoscaling. - Kubernetes & Helm (
FIN-K8S-001–004): Deployments/StatefulSets missingresources.requests/limits, runaway HPAmaxReplicas, per-microservicetype: LoadBalancerServices instead of shared Ingress/Gateway, and oversized PVCs.
How to Use
Ask your AI agent naturally in any repo containing Terraform or Kubernetes manifests:
- "Run a cloud bill-shock FinOps audit on our
infra/folder and estimate monthly waste." - "Check our Terraform and EKS manifests for cost traps before we deploy to staging."
- "Audit our AWS/GCP infrastructure for NAT egress traps, infinite CloudWatch logs, and missing K8s limits."
Or invoke the bundled read-only scanner directly:
python3 scripts/scan_cloud_waste.py --path . --env auto --format markdown
What's Inside (15 Files)
SKILL.md— Deterministic 5-step FinOps pre-flight workflow with transparent confidence-tagged savings ranges and approval gatescripts/scan_cloud_waste.py— Pure Python 3 stdlib static analyzer (13 rules,--env prod|nonprod|auto, JSON/Markdown output,--fail-onCI gate)references/— Transparent AWS/GCP/K8s pricing baselines, top-15 real-world bill-shock traps catalog, and copy-paste Terraform/K8s remediation patternstemplates/— FinOps pre-flight report scorecard & cost-guardrail PR summaryexamples/— Complete worked AWS + EKS startup audit uncovering$454–$1,251/moin immediate savingstests/— Leaky & optimized Terraform/K8s fixtures + runnable unit tests
Security & Privacy Guarantee
- 100% read-only & offline — zero live cloud API keys, zero network calls, zero
subprocess, zeroos.environ. - Automatically skips
.env*,*.tfvars,*.tfstate, and credential/key files.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.
Static analysis of Terraform, Kubernetes, Helm, CloudFormation, and Serverless manifests using US-East On-Demand baseline pricing ranges; does not query live AWS Cost Explorer or GCP Billing APIs.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.9+ (stdlib only)
Permissions
Bundled analyzer is 100% offline and read-only; skips .env, .tfvars, and .tfstate files. Write Files is only used after explicit user approval to apply IaC cost fixes.