database-cloud-optimization-cost-optimize

You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and implement cost-effective architectures across AWS, Azure, and GCP.

31,392 stars
Complexity: easy

About this skill

This skill equips an AI agent with the persona and analytical framework of a seasoned cloud cost optimization expert. It specializes in dissecting complex cloud spending data, identifying inefficiencies, and proposing actionable strategies to significantly reduce infrastructure expenses across major cloud providers including Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). The agent will focus on maintaining high performance and reliability, ensuring that cost savings do not compromise essential system operations. It analyzes current architectures, suggests rightsizing, identifies underutilized resources, and recommends cost-effective architectural patterns to achieve optimal spend.

Best use case

Reducing cloud infrastructure spend, preserving performance and reliability, rightsizing database instances and other cloud resources, optimizing cloud architectures for cost-efficiency.

You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and implement cost-effective architectures across AWS, Azure, and GCP.

A comprehensive analysis of current cloud spending and identification of key savings opportunities. Actionable recommendations for rightsizing resources, optimizing database instances, and improving architectural cost-efficiency. Guidance on implementing cost-saving strategies across AWS, Azure, and GCP. Reduced cloud infrastructure bills without compromising essential performance or reliability requirements. An optimized, more sustainable cloud environment.

Practical example

Example input

Analyze our current AWS spend for EC2 and RDS instances in the us-east-1 region. Identify any opportunities for rightsizing or switching to more cost-effective options, ensuring we maintain high availability for our production databases. Also, suggest cost-saving strategies for our Azure Blob Storage in the West US 2 region.

Example output

Based on the analysis of your AWS EC2 and RDS instances in us-east-1:
1.  **EC2 Rightsizing:**
    *   Identified 3 `m5.large` instances with average CPU utilization below 10% over the last 30 days. Recommend downsizing to `t3.medium` or `m5.medium` with potential savings of $X/month per instance.
    *   Consider Convertible Reserved Instances for stable workloads.
2.  **RDS Optimization:**
    *   Your `db.r5.xlarge` PostgreSQL instance shows low I/O activity during off-peak hours. Recommend implementing a scheduled stop/start for development/staging environments or exploring Savings Plans for production.
    *   Review storage auto-scaling settings to prevent over-provisioning.
3.  **Azure Blob Storage (West US 2):**
    *   Found significant amounts of data in `Hot` tier storage that hasn't been accessed in over 90 days. Recommend implementing lifecycle management policies to transition this data to `Cool` or `Archive` storage, potentially saving $Y/month.
    *   Explore using Azure Storage Reserved Capacity for predictable storage needs.

Overall, these recommendations could lead to an estimated monthly savings of $Z while preserving performance and reliability for your critical workloads.

When to use this skill

  • When an organization needs to identify and reduce excessive or inefficient cloud spending.
  • To receive expert recommendations on rightsizing cloud resources, especially databases, to match actual usage patterns.
  • For strategic planning to implement more cost-effective cloud architectures and leverage managed services.
  • When seeking to maintain or improve performance and reliability metrics while simultaneously cutting costs.

When not to use this skill

  • When the primary goal is rapid deployment without any consideration for cost.
  • For tasks requiring deep, manual, hands-on configuration or immediate system-level changes without AI oversight.
  • If the cloud environment is extremely simple and already perfectly optimized.
  • When performance is absolutely critical and any cost-saving measure that might introduce even a minimal latency risk is unacceptable.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/database-cloud-optimization-cost-optimize/SKILL.md --create-dirs "https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/plugins/antigravity-awesome-skills-claude/skills/database-cloud-optimization-cost-optimize/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/database-cloud-optimization-cost-optimize/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How database-cloud-optimization-cost-optimize Compares

Feature / Agentdatabase-cloud-optimization-cost-optimizeStandard Approach
Platform SupportClaudeLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and implement cost-effective architectures across AWS, Azure, and GCP.

Which AI agents support this skill?

This skill is designed for Claude.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Cloud Cost Optimization

You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and implement cost-effective architectures across AWS, Azure, and GCP.

## Use this skill when

- Reducing cloud infrastructure spend while preserving performance
- Rightsizing database instances or storage
- Implementing cost controls, budgets, or tagging policies
- Reviewing waste, idle resources, or overprovisioning

## Do not use this skill when

- You cannot access billing or resource data
- The system is in active incident response
- The request is unrelated to cost optimization

## Context
The user needs to optimize cloud infrastructure costs without compromising performance or reliability. Focus on actionable recommendations, automated cost controls, and sustainable cost management practices.

## Requirements
$ARGUMENTS

## Instructions

- Collect cost data by service, resource, and time window.
- Identify waste and quick wins with estimated savings.
- Propose changes with risk assessment and rollback plan.
- Implement budgets, alerts, and ongoing optimization cadence.
- If detailed workflows are required, open `resources/implementation-playbook.md`.

## Safety

- Validate changes in staging before production rollout.
- Ensure backups and rollback paths before resizing or deletion.

## Resources

- `resources/implementation-playbook.md` for detailed cost analysis and tooling.

Related Skills

multi-cloud-architecture

31392
from sickn33/antigravity-awesome-skills

Decision framework and patterns for architecting applications across AWS, Azure, and GCP.

Cloud ArchitectureClaude

llm-prompt-optimizer

31392
from sickn33/antigravity-awesome-skills

Use when improving prompts for any LLM. Applies proven prompt engineering techniques to boost output quality, reduce hallucinations, and cut token usage.

LLM OptimizationClaude

llm-application-dev-prompt-optimize

31392
from sickn33/antigravity-awesome-skills

You are an expert prompt engineer specializing in crafting effective prompts for LLMs through advanced techniques including constitutional AI, chain-of-thought reasoning, and model-specific optimizati

Prompt EngineeringClaude

hybrid-cloud-networking

31392
from sickn33/antigravity-awesome-skills

Configure secure, high-performance connectivity between on-premises and cloud environments using VPN, Direct Connect, and ExpressRoute.

Networking & Cloud InfrastructureClaude

hybrid-cloud-architect

31392
from sickn33/antigravity-awesome-skills

Expert hybrid cloud architect specializing in complex multi-cloud solutions across AWS/Azure/GCP and private clouds (OpenStack/VMware).

Cloud ArchitectureClaude

gcp-cloud-run

31392
from sickn33/antigravity-awesome-skills

Specialized skill for building production-ready serverless applications on GCP. Covers Cloud Run services (containerized), Cloud Run Functions (event-driven), cold start optimization, and event-driven architecture with Pub/Sub.

Cloud DeploymentClaude

food-database-query

31392
from sickn33/antigravity-awesome-skills

Food Database Query

NutritionClaude

dx-optimizer

31392
from sickn33/antigravity-awesome-skills

Developer Experience specialist. Improves tooling, setup, and workflows. Use PROACTIVELY when setting up new projects, after team feedback, or when development friction is noticed.

Developer ToolsClaude

database

31392
from sickn33/antigravity-awesome-skills

Database development and operations workflow covering SQL, NoSQL, database design, migrations, optimization, and data engineering.

Workflow & Automation BundlesClaude

database-optimizer

31392
from sickn33/antigravity-awesome-skills

Expert database optimizer specializing in modern performance tuning, query optimization, and scalable architectures.

Database ManagementClaude

database-migrations-sql-migrations

31392
from sickn33/antigravity-awesome-skills

SQL database migrations with zero-downtime strategies for PostgreSQL, MySQL, and SQL Server. Focus on data integrity and rollback plans.

Database ManagementClaude

database-migrations-migration-observability

31392
from sickn33/antigravity-awesome-skills

Migration monitoring, CDC, and observability infrastructure

DevOps ToolsClaude