Agent skill · DevOps & Cloud

aws-cost-cleanup

Automated cleanup of unused AWS resources to reduce costs

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill aws-cost-cleanup --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/aws-cost-cleanup/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# AWS Cost Cleanup Automate the identification and removal of unused AWS resources to eliminate waste. ## When to Use This Skill Use this skill when you need to automatically clean up unused AWS resources to reduce costs and eliminate waste. ## Automated Cleanup Targets **Storage** - Unattached EBS volumes - Old EBS snapshots (>90 days) - Incomplete multipart S3 uploads - Old S3 versions in versioned buckets **Compute** - Stopped EC2 instances (>30 days) - Unused AMIs and associated snapshots - Unused Elastic IPs **Networking** - Unused Elastic Load Balancers - Unused NAT Gateways - Orphaned ENIs ## Cleanup Scripts ### Safe Cleanup (Dry-Run First) ```bash #!/bin/bash # cleanup-unused-ebs.sh echo "Finding unattached EBS volumes..." VOLUMES=$(aws ec2 describe-volumes \ --filters Name=status,Values=available \ --query 'Volumes[*].VolumeId' \ --output text) for vol in $VOLUMES; do echo "Would delete: $vol" # Uncomment to actually delete: # aws ec2 delete-volume --volume-id $vol done ``` ```bash #!/bin/bash # cleanup-old-snapshots.sh CUTOFF_DATE=$(date -d '90 days ago' --iso-8601) aws ec2 describe-snapshots --owner-ids self \ --query "Snapshots[?StartTime<='$CUTOFF_DATE'].[SnapshotId,St

What's inside
Steps it walks through
  1. When to Use This Skill
  2. Automated Cleanup Targets
  3. Cleanup Scripts
  4. Safe Cleanup (Dry-Run First)
  5. S3 Lifecycle Automation
  6. Cost Impact Calculator
  7. Automated Cleanup Lambda
  8. Cleanup Workflow
  9. Safety Checklist
  10. Example Prompts
  11. Integration with AWS Organizations
  12. Monitoring and Alerts
  13. Best Practices
  14. Risk Mitigation
Commands it runs
cleanup-unused-ebs.sh
echo "Finding unattached EBS volumes..."
for vol in $VOLUMES; do
echo "Would delete: $vol"
done
cleanup-old-snapshots.sh
aws ec2 describe-snapshots --owner-ids self \
echo "Snapshot: $snap_id (Created: $start_time, Size: ${size}GB)"
release-unused-eips.sh
aws ec2 describe-addresses \
More from agentic-awesome-skills
All skills →
About this skill
What does the aws-cost-cleanup skill do?

Automated cleanup of unused AWS resources to reduce costs

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill aws-cost-cleanup --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going