CL

cloud-cost-management

Analyzes cloud spending to identify unused resources and suggests budget optimizations.

Install

mkdir -p .claude/skills/cloud-cost-management && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/240" && unzip -o skill.zip -d .claude/skills/cloud-cost-management && rm skill.zip

Installs to .claude/skills/cloud-cost-management

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Optimize and manage cloud costs across AWS, Azure, and GCP using reserved instances, spot pricing, and cost monitoring tools.
125 chars · catalog descriptionno explicit “when” trigger
Beginner

Key capabilities

  • Analyze cloud spend using AWS Cost Explorer metrics
  • Identify unattached EBS volumes and Elastic IPs
  • List EC2 and RDS instances for right-sizing evaluation
  • Implement reserved instances and savings plans for stable workloads
  • Configure cost allocation tags for resource tracking

How it works

The skill utilizes cloud provider APIs to query resource status, usage metrics, and billing data. It provides patterns for identifying waste and applying cost-saving pricing models.

Inputs & outputs

You give it
aws ce get-cost-and-usage command
You get back
Monthly cost and usage report

When to use cloud-cost-management

  • Identify unused AWS EBS volumes
  • Optimize EC2 compute spend
  • Configure cost allocation tags

About this skill

Cloud Cost Management

Table of Contents

Overview

Cloud cost management involves monitoring, analyzing, and optimizing cloud spending. Implement strategies using reserved instances, spot pricing, proper sizing, and cost allocation to maximize ROI and prevent budget overruns.

When to Use

  • Reducing cloud infrastructure costs
  • Optimizing compute spending
  • Managing database costs
  • Storage optimization
  • Data transfer cost reduction
  • Reserved capacity planning
  • Chargeback and cost allocation
  • Budget forecasting and alerts

Quick Start

Minimal working example:

# Enable Cost Explorer
aws ce get-cost-and-usage \
  --time-period Start=2024-01-01,End=2024-01-31 \
  --granularity MONTHLY \
  --metrics "UnblendedCost" \
  --group-by Type=DIMENSION,Key=SERVICE

# List EC2 instances for right-sizing
aws ec2 describe-instances \
  --query 'Reservations[*].Instances[*].[InstanceId,InstanceType,State.Name,LaunchTime,Tag]' \
  --output table

# Find unattached EBS volumes
aws ec2 describe-volumes \
  --filters Name=status,Values=available \
  --query 'Volumes[*].[VolumeId,Size,State,CreateTime]'

# Identify unattached Elastic IPs
aws ec2 describe-addresses \
  --query 'Addresses[?AssociationId==null]'

# Get RDS instance costs
aws rds describe-db-instances \
  --query 'DBInstances[*].[DBInstanceIdentifier,DBInstanceClass,StorageType,AllocatedStorage]'

// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
AWS Cost Optimization with AWS CLIAWS Cost Optimization with AWS CLI
Terraform Cost Management ConfigurationTerraform Cost Management Configuration
Azure Cost ManagementAzure Cost Management
GCP Cost OptimizationGCP Cost Optimization
Cost Monitoring DashboardCost Monitoring Dashboard

Best Practices

✅ DO

  • Use Reserved Instances for stable workloads
  • Implement Savings Plans for flexibility
  • Right-size instances based on metrics
  • Use Spot Instances for fault-tolerant workloads
  • Delete unused resources regularly
  • Enable detailed billing and cost allocation
  • Monitor costs with CloudWatch/Cost Explorer
  • Set budget alerts
  • Review monthly cost reports

❌ DON'T

  • Leave unused resources running
  • Ignore cost optimization recommendations
  • Use on-demand for predictable workloads
  • Skip tagging resources
  • Ignore data transfer costs
  • Forget about storage lifecycle policies

When not to use it

  • When managing on-demand instances for predictable, long-term workloads
  • When ignoring data transfer costs or storage lifecycle policies

Prerequisites

AWS CLI configured with appropriate permissionsCloud provider access for Azure or GCP

Limitations

  • Requires active maintenance to delete unused resources identified by the CLI
  • Limited to the scope of provided AWS CLI commands and reference guides

How it compares

This approach uses programmatic CLI queries to identify specific unused resources rather than relying on manual console inspection.

Compared to similar skills

cloud-cost-management side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
cloud-cost-management (this skill)75moReviewBeginner
database-cloud-optimization-cost-optimize84moNo flagsIntermediate
skypilot-multi-cloud-orchestration17moReviewIntermediate
cfo07moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

database-cloud-optimization-cost-optimize

sickn33

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.

810

skypilot-multi-cloud-orchestration

davila7

Multi-cloud orchestration for ML workloads with automatic cost optimization. Use when you need to run training or batch jobs across multiple clouds, leverage spot instances with auto-recovery, or optimize GPU costs across providers.

10

cfo

brencon

> A PhD-grade financial analyst specializing in cloud infrastructure costs, FinOps, and strategic financial planning for software projects.

00

cloud-architect

sickn33

Expert cloud architect specializing in AWS/Azure/GCP multi-cloud infrastructure design, advanced IaC (Terraform/OpenTofu/CDK), FinOps cost optimization, and modern architectural patterns. Masters serverless, microservices, security, compliance, and disaster recovery. Use PROACTIVELY for cloud architecture, cost optimization, migration planning, or multi-cloud strategies.

649

cloud-penetration-testing

davila7

This skill should be used when the user asks to "perform cloud penetration testing", "assess Azure or AWS or GCP security", "enumerate cloud resources", "exploit cloud misconfigurations", "test O365 security", "extract secrets from cloud environments", or "audit cloud infrastructure". It provides comprehensive techniques for security assessment across major cloud platforms.

343

database-admin

sickn33

Expert database administrator specializing in modern cloud databases, automation, and reliability engineering. Masters AWS/Azure/GCP database services, Infrastructure as Code, high availability, disaster recovery, performance optimization, and compliance. Handles multi-cloud strategies, container databases, and cost optimization. Use PROACTIVELY for database architecture, operations, or reliability engineering.

16

Search skills

Search the agent skills registry