Cost optimization

From rnavarych/alpha-engineer · View interactive version

Cost optimization is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Cloud cost optimization expertise covering instance right-sizing, reserved and savings plans, spot/preemptible instances, resource tagging, cost allocation, FinOps practices, auto-scaling policies, storage lifecycle, and unused resource cleanup.

How to use this skill

Skill file

Cost Optimization

When to use

Core principles

  1. Measure before committing — 14-30 days of utilization data before sizing or reserving
  2. Commit to baseline, spot the rest — on-demand and spot handle variable load above commitments
  3. Tags are mandatory — untagged resources are unowned resources, unowned resources waste money
  4. Showback before chargeback — visibility first, then accountability
  5. Cost is a non-functional requirement — treat it alongside performance and reliability

Reference Files

Best Practices Checklist

  1. All resources tagged with mandatory cost allocation tags
  2. Baseline workloads covered by reservations or savings plans
  3. Spot instances used for fault-tolerant workloads
  4. Auto-scaling configured with appropriate metrics and limits
  5. Storage lifecycle policies active on all buckets
  6. Weekly unused resource scan and cleanup
  7. Monthly cost review with engineering stakeholders
  8. Cost anomaly alerts configured and tested
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.