Agent skill · data analytics · jeremylongshore
optimizing-cloud-costs
Execute use when you need to work with cloud cost optimization.
Why this skill is useful
Adds automation scripts for cloud cost optimization and specific commands for AWS, GCP, and Azure that the AI wouldn't reliably generate on its own.
What it needs
Requires aws-cli, azure-cli, gcloud installed locally. Requires aws, azure, gcp account access. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
Optimizing Cloud Costs Overview Analyze cloud spending across AWS, GCP, and Azure to identify waste, recommend rightsizing, and generate cost-saving configurations. Covers reserved instances, spot/preemptible workloads, storage tiering, idle resource cleanup, and budget alerting using cloud-native cost management APIs. Prerequisites Cloud provider CLI authenticated with billing/cost-explorer read access AWS: ce:GetCostAndUsage, ec2:DescribeInstances, cloudwatch:GetMetricData permissions GCP: Billing Account Viewer and Compute Viewer roles Azure: Cost Management Reader role Access to current infrastructure-as-code (Terraform, CloudFormation) for rightsizing changes At least 30 days of billing data for meaningful analysis Instructions 1. Pull current cost data using cloud cost APIs (aws ce get-cost-and-usage, gcloud billing budgets list) 2. Identify the top 10 cost drivers by service, region, and resource tag 3. Detect idle resources: instances with < 5% average CPU over 14 days, unattached EBS volumes, unused Elastic IPs, orphaned snapshots 4. Recommend rightsizing: compare instance utilization against available instance types and suggest downsizing 5. Evaluate reserved instance or savings plan coverage against on-demand spend; recommend commitments for steady-state workloads 6. Identify spot/preemptible candidates: stateless, fault-tolerant workloads (batch jobs, CI runners, dev environments) 7. Review storage costs: recommend S3 Intelligent-Tiering, lifecycle policies for infrequent access, or Glacier for archives 8. Generate Terraform/IaC changes to implement approved optimizations 9. Set up budget alerts with thresholds at 50%, 80%, and 100% of monthly budget 10. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/optimizing-cloud-costs--550c11