optimizing-costs

Optimize cloud infrastructure costs through FinOps practices, commitment discounts, and right-sizing.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/masermediagroup-stack/maser-media --skill optimizing-costs-masermediagroup-stack
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: optimizing-costs
Source: https://github.com/masermediagroup-stack/maser-media/tree/main/.cursor/skills/community/ai-design-components/skills/optimizing-costs
Command: npx skills add https://github.com/masermediagroup-stack/maser-media --skill optimizing-costs-masermediagroup-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires boto3, and includes scripts (resource) and references (resource) components.

What problem does it solve? Cloud bills grow unpredictably because teams lack cost visibility, over-provision resources, and miss commitment discount opportunities. This Skill provides a systematic FinOps framework to reduce cloud spend by 15-40% across AWS, Azure, GCP, and Kubernetes environments. ## Core Features & Use Cases - Commitment Discount Strategies: Decision frameworks for Reserved Instances, Savings Plans, and Committed Use Discounts with sizing formulas and utilization monitoring targeting >95% coverage. - Right-Sizing and Cleanup Automation: Scripts to detect and delete idle resources (unattached EBS volumes, old snapshots, stopped instances, idle load balancers) plus Kubernetes right-sizing via VPA and resource quotas. - Cost Visibility and Governance: Tagging strategies, budget alerts at 50/75/90/100% thresholds, Kubecost deployment, showback/chargeback models, and Infracost CI/CD integration. - Use Case: A platform team facing a surprise $10K monthly bill uses this Skill to deploy cost dashboards, clean up idle resources, purchase Savings Plans for baseline compute, and set cascading budget alerts. ## Quick Start Ask the agent to analyze my AWS account for idle resources and recommend a cost optimization plan with budget alerts.

Frequently Asked Questions about optimizing-costs

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

FAQPage Schema
How do I reduce AWS cloud costs quickly?▼

Start with quick wins: delete unattached EBS volumes and old snapshots, stop unused dev instances, and right-size instances under 40% utilization. Then purchase Savings Plans or Reserved Instances for baseline workloads to get 40-72% discounts.

Reserved Instances vs Savings Plans: which should I choose?▼

Reserved Instances offer the highest discount (up to 72%) but lock instance types, suiting stable databases. Savings Plans are more flexible across instance types, regions, and services like Lambda and Fargate, making them better for variable compute workloads.

How do I track Kubernetes costs per team or namespace?▼

Deploy Kubecost or OpenCost for namespace-level cost visibility, then label workloads with team, product, and environment labels. Set resource requests equal to average usage and enforce quotas with ResourceQuota and LimitRange objects.

When should I use spot or preemptible instances?▼

Use spot instances for fault-tolerant, stateless workloads like CI/CD runners, batch jobs, and ML training with checkpointing, saving 70-90%. Avoid them for databases, real-time services, or jobs without graceful interruption handling.

Why is my Reserved Instance utilization low?▼

Low utilization usually means over-commitment or workload migration to different instance types or regions. Monitor utilization weekly targeting above 95%, exchange Convertible RIs, or sell unused RIs on the AWS Reserved Instance Marketplace.

How do I prevent surprise cloud bills in CI/CD pipelines?▼

Integrate Infracost into pull requests to estimate Terraform cost changes before merging. Combine this with cascading budget alerts at 50%, 75%, 90%, and 100% thresholds sent to Slack or PagerDuty.