aws-cost-cleanup
Automated cleanup of unused AWS resources to reduce costs
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- When to Use This Skill
- Automated Cleanup Targets
- Cleanup Scripts
- Safe Cleanup (Dry-Run First)
- S3 Lifecycle Automation
- Cost Impact Calculator
- Automated Cleanup Lambda
- Cleanup Workflow
- Safety Checklist
- Example Prompts
- Integration with AWS Organizations
- Monitoring and Alerts
- Best Practices
- Risk Mitigation
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 \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.