Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Optimize costs across AWS, GCP, Azure with cross-cloud waste detection, workload placement, commitment balancing, and unified FinOps.
.claude/skills/williamzujkowski-multi-cloud-cost-optimizer/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 72% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 62% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 62% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 204% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 148% | 0% |
Primary trigger conditions:
When NOT to use this skill:
Value proposition: Identifies 20-35% additional savings beyond single-cloud optimization by leveraging cross-cloud price competition, workload placement optimization, and eliminating multi-cloud waste patterns. Organizations using multi-cloud cost optimization tools achieve 35-68% total cost reductions (CloudZero, accessed 2025-10-26T14:30:00-04:00).
Required inputs validation:
pythonNOW_ET = "2025-10-26T14:30:00-04:00" assert len(cloud_accounts) >= 2, "Multi-cloud optimization requires ≥2 cloud providers" assert all(acc["billing_api_access"] for acc in cloud_accounts), "Billing API access required for all accounts" assert time_range in ["30d", "90d", "180d"], "Valid time ranges: 30d, 90d, 180d" assert optimization_scope in ["all", "compute", "storage", "network", "data-transfer"] # Data freshness check for account in cloud_accounts: if account["last_billing_sync"] > 48h: warn(f"{account['provider']} billing data stale; recommendations may be outdated") # Minimum spend threshold check total_monthly_spend = sum_monthly_spend(cloud_accounts) if total_monthly_spend < 50000: suggest("Multi-cloud optimization most valuable for monthly spend >$50k")
Authority checks:
ce:GetCostAndUsage, organizations:ListAccounts if using AWS Organizationsbilling.accounts.get, billing.resourceCosts.list permissionsMicrosoft.CostManagement/query/action permissionSource citations (accessed 2025-10-26T14:30:00-04:00):
Goal: Identify top 3 cross-cloud optimization opportunities in <5 minutes.
Steps:
Token budget checkpoint: ~1.8k tokens for API calls, normalization, analysis, output formatting.
Goal: Generate detailed cross-cloud optimization plan with quantified savings and migration recommendations.
Extends T1 with:
Example calculation (accessed 2025-10-26T14:30:00-04:00): Workload: 500TB PostgreSQL database + 50 vCPU app tier Current: AWS RDS Aurora PostgreSQL $12,000/month, EC2 m5.4xlarge reserved $1,500/month Target: GCP Cloud SQL PostgreSQL $7,200/month, n2-standard-16 CUD $900/month Monthly savings: $5,400/month Migration cost: 500TB egress ($45,000) + 2 weeks downtime ($10,000) = $55,000 Annual savings: $64,800 ROI: $64,800 / $55,000 = 1.18x → recommend if strategic, defer if purely financial
Sources (accessed 2025-10-26T14:30:00-04:00):
Egress cost examples (accessed 2025-10-26T14:30:00-04:00):
Authority sources (accessed 2025-10-26T14:30:00-04:00):
Output: JSON report with sections: unified_cost_summary, cross_cloud_waste (T1), workload_placement_recommendations, commitment_balance_plan, egress_optimization, tagging_compliance, finops_maturity_score, prioritized_action_plan.
Token budget checkpoint: ~5.5k tokens (includes T1 + extended multi-cloud analysis + detailed outputs).
Goal: Deep financial modeling, predictive forecasting, and custom multi-cloud optimization strategies for >$1M annual spend.
Extends T2 with:
Authority sources (accessed 2025-10-26T14:30:00-04:00):
Output: Full enterprise-grade multi-cloud financial optimization plan including forecasts, custom commitment strategies, vendor negotiation playbook, sustainability metrics, and multi-account consolidation roadmap.
Token budget checkpoint: ~11k tokens (includes T1 + T2 + enterprise-grade analysis).
When to abort:
Ambiguity thresholds:
Prioritization logic:
(annual_savings / implementation_effort_cost) descendingFinOps principle application (accessed 2025-10-26T14:30:00-04:00):
Per FinOps Foundation principles (https://www.finops.org/framework/principles/):
Schema (JSON):
json{ "unified_cost_report": { "period": "2025-09-26 to 2025-10-26", "total_spend": 245000.00, "breakdown_by_cloud": { "aws": {"spend": 125000.00, "percentage": 51.0, "trend": "+5%"}, "gcp": {"spend": 80000.00, "percentage": 32.7, "trend": "-2%"}, "azure": {"spend": 40000.00, "percentage": 16.3, "trend": "+8%"} }, "waste_identified": 68000.00, "savings_potential": { "monthly": 52000.00, "annual": 624000.00, "percentage": 21.2 } }, "workload_placement_recommendations": [ { "workload_id": "analytics-cluster-01", "current_cloud": "aws", "current_cost_monthly": 12000.00, "recommended_cloud": "gcp", "recommended_cost_monthly": 6800.00, "monthly_savings": 5200.00, "annual_savings": 62400.00, "migration_cost": 55000.00, "roi": 1.13, "rationale": "BigQuery vs Redshift cost advantage for analytics workload" } ], "commitment_balance_plan": { "current_coverage_rate": 58.0, "target_coverage_rate": 75.0, "current_blended_discount": 28.0, "target_blended_discount": 42.0, "recommendations": [ { "cloud": "aws", "action": "reduce", "current_commitment_monthly": 60000.00, "recommended_commitment_monthly": 48000.00, "rationale": "RI utilization at 68%, under-utilized" }, { "cloud": "gcp", "action": "increase", "current_commitment_monthly": 15000.00, "recommended_commitment_monthly": 32000.00, "rationale": "On-demand spend at 72%, opportunity for 70% CUD savings" } ] }, "cross_cloud_waste_inventory": [ { "waste_type": "unused_cross_cloud_vpn", "resources": [ {"provider": "aws", "resource_id": "vpn-0a1b2c3d", "idle_days": 60}, {"provider": "azure", "resource_id": "vpn-xyz789", "idle_days": 60} ], "monthly_cost": 1800.00 }, { "waste_type": "duplicate_backup_storage", "resources": [ {"provider": "aws", "resource_id": "s3://backups-prod", "size_tb": 50}, {"provider": "gcp", "resource_id": "gs://backups-prod", "size_tb": 50} ], "monthly_cost": 2300.00 } ], "action_plan": [ { "priority": 1, "action": "Delete unused cross-cloud VPN connections", "impact": "medium", "effort": "low", "monthly_savings": 1800.00, "owner": "cloud-networking-team" }, { "priority": 2, "action": "Rebalance commitments (reduce AWS RI, increase GCP CUD)", "impact": "high", "effort": "medium", "monthly_savings": 8400.00, "owner": "finops-team" } ] }
Required fields: unified_cost_report (with breakdown_by_cloud, savings_potential), action_plan (prioritized).
Optional fields: workload_placement_recommendations, commitment_balance_plan (only if applicable based on business_constraints).
yaml# Multi-cloud: AWS $125k/mo, GCP $80k/mo, Azure $40k/mo input: {scope: all, time_range: 90d, model: chargeback} output: total_spend: $245k, waste: $68k (28%), savings: $52k/mo workload_placement: - analytics: AWS Redshift $12k → GCP BigQuery $6.8k (save $5.2k/mo) cross_cloud_waste: - unused VPN (AWS+Azure): $1.8k/mo - duplicate backups (AWS+GCP): $2.3k/mo commitment_rebalance: AWS RI: $60k → $48k/mo (reduce) GCP CUD: $15k → $32k/mo (increase) action_plan: 1. Delete unused VPN (LOW effort) → $1.8k/mo 2. Consolidate backups (LOW effort) → $2.3k/mo 3. Rebalance commitments (MED effort) → $8.4k/mo 4. Migrate analytics (HIGH effort, ROI 1.13x) → $5.2k/mo
Token budgets (enforced):
Accuracy requirements:
Safety constraints:
Auditability:
Determinism:
Official cloud provider documentation:
FinOps Foundation resources:
Multi-cloud cost optimization guides:
Related skills:
finops-cost-analyzer: For single-cloud cost optimization (invoke before multi-cloud aggregation)cloud-multicloud-advisor: For strategic multi-cloud architecture design (invoke before deployment)cloud-provider-advisor: For initial cloud provider selection (invoke during planning phase)| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-11 | pass→pass | 10,365 | 11,039 | +7% | 1 | 1 | 0% | 1,914 | 8,227 | +330% | 0 | 0 | — |
case-01 | fail→pass | 23,409 | 15,481 | -34% | 1 | 1 | 0% | 5,779 | 9,962 | +72% | 0 | 0 | — |
case-02 | fail→pass | 25,721 | 12,097 | -53% | 1 | 1 | 0% | 5,762 | 9,314 | +62% | 0 | 0 | — |
case-03 | fail→pass | 24,846 | 12,309 | -50% | 1 | 1 | 0% | 5,800 | 9,386 | +62% | 0 | 0 | — |
case-04 | fail→pass | 16,605 | 17,318 | +4% | 1 | 1 | 0% | 3,173 | 9,635 | +204% | 0 | 0 | — |
case-12 | pass→pass | 9,623 | 7,270 | -24% | 1 | 1 | 0% | 1,886 | 7,510 | +298% | 0 | 0 | — |
case-05 | fail→pass | 19,429 | 15,003 | -23% | 1 | 1 | 0% | 3,555 | 8,825 | +148% | 0 | 0 | — |
case-06 | fail→fail | 17,596 | 14,049 | -20% | 1 | 1 | 0% | 3,328 | 8,819 | +165% | 0 | 0 | — |
case-07 | fail→pass | 10,415 | 14,233 | +37% | 1 | 1 | 0% | 1,819 | 9,130 | +402% | 0 | 0 | — |
case-08 | pass→pass | 11,658 | 15,077 | +29% | 1 | 1 | 0% | 2,148 | 9,426 | +339% | 0 | 0 | — |
case-09 | fail→pass | 14,028 | 6,414 | -54% | 1 | 1 | 0% | 2,503 | 7,291 | +191% | 0 | 0 | — |
case-10 | fail→pass | 13,665 | 11,567 | -15% | 1 | 1 | 0% | 2,467 | 8,512 | +245% | 0 | 0 | — |
case-13 | pass→pass | 13,765 | 9,925 | -28% | 1 | 1 | 0% | 2,505 | 8,163 | +226% | 0 | 0 | — |
case-14 | fail→pass | 11,516 | 10,653 | -7% | 1 | 1 | 0% | 2,044 | 7,975 | +290% | 0 | 0 | — |
case-15 | pass→pass | 8,420 | 6,157 | -27% | 1 | 1 | 0% | 1,551 | 7,463 | +381% | 0 | 0 | — |
case-16 | fail→pass | 11,709 | 6,052 | -48% | 1 | 1 | 0% | 2,156 | 7,305 | +239% | 0 | 0 | — |
case-17 | fail→fail | 11,636 | 11,395 | -2% | 1 | 1 | 0% | 2,285 | 8,740 | +282% | 0 | 0 | — |
case-18 | pass→pass | 10,731 | 6,093 | -43% | 1 | 1 | 0% | 1,794 | 7,273 | +305% | 0 | 0 | — |
case-19 | pass→pass | 8,218 | 7,307 | -11% | 1 | 1 | 0% | 1,313 | 7,317 | +457% | 0 | 0 | — |
case-20 | fail→pass | 13,188 | 8,512 | -35% | 1 | 1 | 0% | 2,212 | 7,854 | +255% | 0 | 0 | — |
case-21 | fail→fail | 11,580 | 9,942 | -14% | 1 | 1 | 0% | 2,319 | 8,019 | +246% | 0 | 0 | — |
case-22 | pass→pass | 15,253 | 13,838 | -9% | 1 | 1 | 0% | 2,689 | 8,718 | +224% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +50 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.