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.zipInstalls 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.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
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:
| Guide | Contents |
|---|---|
| AWS Cost Optimization with AWS CLI | AWS Cost Optimization with AWS CLI |
| Terraform Cost Management Configuration | Terraform Cost Management Configuration |
| Azure Cost Management | Azure Cost Management |
| GCP Cost Optimization | GCP Cost Optimization |
| Cost Monitoring Dashboard | Cost 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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| cloud-cost-management (this skill) | 7 | 5mo | Review | Beginner |
| database-cloud-optimization-cost-optimize | 8 | 4mo | No flags | Intermediate |
| skypilot-multi-cloud-orchestration | 1 | 7mo | Review | Intermediate |
| cfo | 0 | 7mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by aj-geddes
View all by aj-geddes →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.
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.
cfo
brencon
> A PhD-grade financial analyst specializing in cloud infrastructure costs, FinOps, and strategic financial planning for software projects.
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.
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.
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.