aws-cost-optimizer
Skill by sickn33
Analyzes AWS spending, finds idle or unused resources, and suggests cost reduction options. Aimed at teams who want to review AWS costs using AWS CLI and Cost Explorer.
Install aws-cost-optimizer
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/aws-cost-optimizer ~/.claude/skills/aws-cost-optimizerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/aws-cost-optimizer ~/.gemini/antigravity-cli/skills/aws-cost-optimizerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
AWS Cost Optimizer is a skill that analyzes AWS spending patterns, identifies waste, and suggests cost reduction strategies. It uses AWS CLI commands and Cost Explorer data to break down costs by service, region, and resource tags, and to flag month-over-month increases. It also looks for idle EC2 instances, unattached EBS volumes, unused Elastic IPs, old snapshots, underutilized RDS instances, and S3 objects that fit lifecycle policies.
The skill asks the user to confirm the AWS account or profile, regions, and reporting dates before analysis. It states that deletion, termination, rightsizing, and commitment purchases need explicit authorized scope and a recovery plan. It is aimed at people who want to analyze AWS spending or reduce cloud waste.
Written from the project's SKILL.md and checked against it.
What it can do
- Cost analysisParses AWS Cost Explorer data for trends and anomalies.
- Cost breakdownBreaks down costs by service, region, and resource tags.
- Idle EC2 detectionDetects idle EC2 instances using low CPU utilization.
- Unused storage and IPsFinds unattached EBS volumes, old snapshots, and unused Elastic IPs.
- RDS reviewLocates underutilized RDS instances.
- S3 lifecycle reviewFinds old S3 objects eligible for lifecycle policies.
- Commitment optionsSuggests Reserved Instance and Savings Plans opportunities.
- RightsizingRecommends instance rightsizing based on CloudWatch metrics.
- Region reviewIdentifies resources in expensive regions.
- Savings estimatesCalculates potential savings with specific actions.
What you need
- AWS account and profile
- AWS CLI
- AWS Cost Explorer enabled
- CloudWatch metrics
- GNU date command
Try asking
- Show me AWS costs for the last 3 months broken down by service
- Find all unattached EBS volumes and calculate savings
- Identify EC2 instances with <5% CPU utilization
Good to know
- Deletion, termination, rightsizing and commitment purchases need explicit authorized scope and a recovery plan.
- Examples use GNU date (-d) and not macOS BSD date.
- Cost Explorer end dates are exclusive and usage data can lag.
- Low CPU or unattached state alone does not establish deletion safety.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/aws-cost-optimizer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to aws-cost-optimizer
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
aws-cost-optimizer: common questions
Does this skill delete AWS resources on its own?
The source says deletion, termination, rightsizing and commitment purchases require explicit authorized scope and a recovery plan. It also says low CPU or unattached state alone does not establish deletion safety.
Is the analysis read-only?
The safety notes say read-only analysis is safe and rate it as low risk. Deletion actions are rated medium risk and production changes high risk.
What does the skill need to run?
The examples use AWS CLI commands, Cost Explorer, and CloudWatch metrics. They also use the GNU date command, so macOS BSD date is not supported in the examples.
How do I install aws-cost-optimizer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is aws-cost-optimizer free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is aws-cost-optimizer safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to aws-cost-optimizer?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
