Works with the AI tools you already use
Cloud Cost Optimizer
by Echo Rose
Cloud Cost Optimizer - A Premium AI Agent Skill
Secure checkout via Stripe
See it in action
You say
Initialize a cloud cost optimizer config and run a workflow named my-cloud-cost-optimizer-workflow.
Your agent does
- Config initialized in config/config.yaml.
- Running cloud-cost-optimizer workflow: my-cloud-cost-optimizer-workflow...
- Success.
- Report: reports/cloud-cost-optimizer-report.md
What you get
About this skill
Cloud Cost Optimizer
# Cloud Cost Optimizer
Cloud infrastructure spending is the fastest-growing operational expense for most organizations. The average company wastes 30-45 percent of their cloud budget on idle resources, over-provisioned instances, orphaned storage, and poorly optimized data transfer. Without a systematic approach to cost optimization, teams get surprised by monthly bills, struggle to allocate costs to specific projects, and miss savings opportunities that compound over time. Manual cost analysis across AWS, Azure, and GCP is time-consuming, requires deep expertise in each provider, and is rarely done consistently. Most teams lack the tooling to answer basic questions like: which workloads are over-provisioned? Where are we wasting money on unattached resources? What is our savings potential with reserved instances?
What It Does
- Analyzes cloud infrastructure across AWS, Azure, and GCP for cost optimization opportunities
- Identifies idle and underutilized resources (compute, storage, database, network)
- Generates right-sizing recommendations for over-provisioned instances
- Calculates potential savings from reserved instances, savings plans, and committed use discounts
- Detects orphaned resources (unattached volumes, elastic IPs, load balancers)
- Reports on data transfer costs and suggests optimization strategies
Frameworks/Standards Covered
| Framework | Application | |-----------|------------| | FinOps Foundation Maturity Model | Cost governance, allocation, and optimization maturity assessment | | AWS Well-Architected Framework - Cost Optimization Pillar | Right-sizing, reserved instances, managed services | | Azure Well-Architected Framework - Cost Optimization | Azure hybrid benefit, reservations, autoscaling | | Google Cloud Architecture Framework - Cost Optimization | Committed use discounts, preemptible VMs, storage classes | | CNCF OpenCost Standard | Kubernetes cost allocation and monitoring | | Cloud Carbon Footprint Methodology | Carbon-aware cost optimization | | TAG Financial Efficiency (FinOps for Cloud) | Multi-cloud cost governance best practices |
Features
### Multi-Cloud Cost Analysis The optimizer supports all three major cloud providers with provider-specific analysis logic. Each provider has unique pricing models, discount mechanisms, and resource types. The tool maps each provider SKU and pricing model to a unified cost analysis framework. For AWS, the tool analyzes EC2 instances (on-demand, reserved, spot, savings plans), RDS databases, EBS volumes, S3 storage classes, data transfer costs, and Lambda compute. It maps to AWS Cost Explorer APIs and Trusted Advisor recommendations. For Azure, it analyzes VMs (pay-as-you-go, reserved instances, spot, hybrid benefit), managed disks, Azure SQL databases, Blob storage tiers, and bandwidth costs. It integrates with Azure Cost Management and Advisor recommendations. For GCP, it analyzes Compute Engine instances (on-demand, committed use, preemptible), persistent disks, Cloud SQL, Cloud Storage classes, and network egress. It maps to GCP Recommender and Cost Table insights. ### Right-Sizing Engine The right-sizing engine analyzes CPU, memory, network, and disk utilization metrics to identify over-provisioned and under-provisioned resources. It considers historical usage patterns, peak vs. average utilization, and workload characteristics. For compute resources, the tool compares current instance type against recommended alternatives across all providers. It factors in whether the workload is CPU-bound, memory-bound, or network-bound and recommends instance families accordingly. For storage, it analyzes I/O patterns, throughput requirements, and data access frequency to recommend appropriate storage tiers and disk types. ### Reserved Instance and Commitment Optimization The optimizer evaluates whether purchasing reserved instances, savings plans, or committed use discounts is cost-effective based on historical usage patterns and workload stability. It calculates breakeven points, optimal commitment terms (1-year vs 3-year), and payment options (all upfront, partial upfront, no upfront). The tool considers partial coverage strategies to maintain flexibility while maximizing savings. The analysis includes AWS Savings Plans (compute and EC2), Azure Reserved VM Instances, and GCP Committed Use Discounts. For each, it models the savings compared to on-demand pricing. ### Waste Detection The tool identifies common waste patterns across all cloud providers: - Idle compute instances (low CPU and network activity for extended periods) - Orphaned storage volumes (unattached EBS volumes, Azure managed disks, GCP persistent disks) - Unused elastic IPs and public IP addresses - Orphaned load balancers without backend targets - Over-provisioned database instances with low utilization - Stale snapshots and backup images - Unused or underutilized NAT gateways and VPN connections - Cold storage migration opportunities for infrequently accessed data - Zombie resources from terminated environments or failed deployments ### Cost Allocation and Tagging The optimizer enforces cost allocation tagging strategies aligned with FinOps best practices. It scans for missing, invalid, or inconsistent tags across all resources and generates remediation plans. Required tags for FinOps maturity include: cost_center, application, environment, owner_email, lifecycle_status, and project_id. The tool validates tag compliance and identifies untagged resources that inflate unallocated costs. ### Savings Plan Generation Each optimization run produces a prioritized savings plan with estimated cost reduction, implementation effort, and risk level for each recommendation. Plans are categorized as: - Quick wins: Low-effort, high-impact savings (remove idle resources, downsize over-provisioned instances) - Strategic: Medium-effort savings requiring commitment (reserved instances, savings plans, CUDs) - Transformational: High-effort, structural changes (architecture redesign, migration to managed services, right-sizing policies)
Usage
### Quick Start ```bash pip install cloud-cost-optimizer cco analyze --provider aws --profile production cco report --input analysis.json --format html cco waste --provider all --regions us-east-1,us-west-2 cco ri-analysis --provider aws --usage-file usage.csv ``` ### Configuration Create a configuration file at config/optimizer_config.yaml: ```yaml analyzer: providers: - aws - azure - gcp regions: - us-east-1 - us-west-2 lookback_days: 90 utilization_thresholds: cpu_idle: 5 cpu_underutilized: 20 memory_idle: 10 network_idle: 100 rightsizing: enabled: true min_savings: 50 consider_graviton: true reserved_instances: enabled: true min_coverage: 60 max_coverage: 80 terms: - 1-year - 3-year waste_detection: idle_threshold_days: 14 orphaned_volume_days: 30 stale_snapshot_days: 90 cost_allocation: required_tags: - cost_center - application - environment - owner_email enforce_tag_policy: true reporting: formats: - html - json - csv - markdown slack_webhook: "" ```
Output Format
The tool produces a structured optimization report containing: ```json { "report_metadata": { "generated_at": "2026-07-06T17:30:00Z", "provider": "aws", "region": "us-east-1", "total_monthly_spend": 45230.00 }, "savings_summary": { "total_annual_savings": 128400.00, "savings_percentage": 23.6, "quick_wins": 34000, "strategic_savings": 78400 }, "recommendations": [ { "id": "R001", "type": "rightsizing", "resource": "i-0abcd1234efgh5678", "current_type": "m5.4xlarge", "recommended_type": "m5.2xlarge", "current_cost": 480.00, "projected_cost": 240.00, "annual_savings": 2880.00, "confidence": "high", "effort": "low", "risk": "low", "rationale": "CPU utilization averages 12 percent over 90 days" } ], "waste_findings": [ { "id": "W001", "type": "idle_instance", "resource": "i-0efgh5678ijkl9012", "region": "us-east-1", "monthly_waste": 320.00, "annual_waste": 3840.00, "idle_days": 45, "action": "stop_or_terminate" } ], "ri_recommendations": [ { "instance_family": "m5", "current_on_demand": 12000.00, "recommended_coverage": 70, "estimated_savings": 3600.00, "recommended_term": "1-year", "payment_option": "partial_upfront" } ], "tag_compliance": { "tagged_resources": 65, "untagged_resources": 12, "compliance_rate": 84.4, "missing_tags": ["cost_center", "application"] } } ```
Why This Beats Prompting It Yourself
Prompting Yourself Cloud Cost Optimizer ------------------- --------------------- Depth Generic advice, lacks provider-specific pricing models Provider-aware analysis with 3 major clouds and their unique discount structures Data No actual cost data, relies on assumptions Real cost analysis with lookback periods, utilization metrics, and concrete savings estimates Completeness Misses edge cases (orphaned snapshots, cross-region data transfer) Comprehensive waste detection covering 20+ resource categories Actionability You should optimize Prioritized savings plan with effort estimates, confidence scores, and step-by-step remediations Integration No structured output JSON/CSV/HTML/Markdown reports consumable by CI/CD pipelines, dashboards, and ticketing systems Governance No cost allocation analysis Tag compliance enforcement, cost center mapping, and FinOps maturity scoring Accuracy Guesswork on savings percentages Data-driven savings calculations with historical utilization baselinesUse Cases
- Monthly FinOps Review: A cloud engineering team runs the optimizer monthly to identify new waste and track savings progress. The report feeds into the FinOps steering committee meeting with concrete numbers and prioritized actions.
- Cloud Migration Cost Validation: Before migrating workloads to a different provider or region, the optimizer estimates TCO across options, factoring in compute, storage, and data transfer costs.
- Kubernetes Cost Allocation: Platform teams use the optimizer to allocate Kubernetes cluster costs to individual namespaces, teams, and applications based on actual resource consumption.
- Reserved Instance Planning: A finance team uses the RI analysis to determine optimal commitment levels across AWS accounts, balancing savings with flexibility based on workload forecasts.
- Multi-Cloud Spend Consolidation: An organization running workloads across AWS, Azure, and GCP uses the optimizer to get a unified view of cloud spending, identify cross-provider savings opportunities, and negotiate better contracts.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 15 days ago
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Creator
Frequently Asked Questions
Popular in DevOps & Deployment
devsecops-expert
Senior-level DevOps automation for CI/CD, IaC, Kubernetes, and production-ready GitOps pipelines.
Safe Vercel Deploys via MCP with Grok
Safe, read-only discovery and gated deployment control for Vercel projects via MCP.
task-completor
Eliminate the "finish barrier" with instant, copy-pasteable commands to commit, push, and deploy your work.
Observability Reference Architectures with Grok
Design and evaluate production-grade observability systems using the 12-layer Full Stack Observatory reference model.