database-cloud-optimization-cost-optimize

Analyzes cloud spending and implements cost optimization across AWS, Azure, and GCP.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/Tgoldi/claude-skills --skill database-cloud-optimization-cost-optimize-tgoldi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-cloud-optimization-cost-optimize
Source: https://github.com/Tgoldi/claude-skills/tree/main/database-cloud-optimization-cost-optimize
Command: npx skills add https://github.com/Tgoldi/claude-skills --skill database-cloud-optimization-cost-optimize-tgoldi

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Cloud infrastructure bills grow through idle resources, oversized instances, and missed commitment discounts, and teams lack a structured way to find and fix this waste without hurting performance. ## Core Features & Use Cases - Cost Analysis and Waste Detection: Breaks down spending by service and resource, detects anomalies, and identifies unused instances, unattached storage, and old snapshots with estimated savings. - Rightsizing and Reservations: Recommends optimal EC2/RDS instance types based on utilization and analyzes Reserved Instance and Savings Plan opportunities with ROI calculations. - Storage, Spot, and Network Optimization: Implements S3 lifecycle policies, spot fleet strategies, and data transfer cost reduction. - Use Case: A team facing a rising AWS bill uses this Skill to analyze 30 days of Cost Explorer data, receive a prioritized list of rightsizing and reservation recommendations, and roll out changes with rollback plans. ## Quick Start Analyze my AWS account's last 30 days of spending and give me a prioritized list of cost savings opportunities with estimated monthly savings.

Frequently Asked Questions about database-cloud-optimization-cost-optimize

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

FAQPage Schema
How do I reduce AWS cloud costs without hurting performance?

Start by analyzing costs by service and resource using the Cost Explorer API, then identify waste such as idle EC2 instances, unattached storage, and old snapshots. Apply rightsizing recommendations based on CPU and memory utilization, and validate changes in staging before production rollout.

How to identify unused or idle EC2 instances?

Query CloudWatch for CPU utilization metrics over the past 7 days for each running instance. Instances averaging below 5% CPU are flagged as unused, with estimated savings calculated from their instance type pricing.

Reserved Instances vs Savings Plans, which should I choose?

Reserved Instances suit stable workloads with low usage variation, offering the deepest discounts on 3-year all-upfront terms. Savings Plans fit variable workloads by committing to a baseline hourly spend while retaining flexibility across instance families.

Does this cost optimization approach work with Azure and GCP?

The skill's analysis framework covers AWS, Azure, and GCP, though the provided implementation code samples use AWS APIs such as boto3, Cost Explorer, and CloudWatch. Azure and GCP scenarios follow the same analysis patterns with their respective billing APIs.

When should I not run cloud cost optimization changes?

Avoid optimization during active incident response or when you lack access to billing and resource data. Always create snapshots and confirm rollback paths before resizing or deleting resources, and test changes in staging first.