agentleFS
codebygarvcodebygarv/Ai-skills/skills/architecture/cost-optimization-auditor/SKILL.md

cost-optimization-auditor

Skill26 starsChanged 4 months agoMITView on GitHub

Analyzes cloud infrastructure and architectures to identify wasted spend and right-sizing opportunities.

The file

Files
SKILL.md

Purpose

Audit cloud infrastructure (AWS, GCP, Azure, Kubernetes, SaaS dependencies) to uncover idle resources, over-provisioned instances, unattached disks, sub-optimal storage tiers, and high data-transfer egress costs.

When to Use

  • Monthly cloud bills are growing faster than business revenue.
  • Pre-planning infrastructure budget reviews or FinOps initiatives.
  • Right-sizing Kubernetes pod CPU/memory requests and limits based on actual utilization.

What to Analyze

  1. Compute Right-Sizing: Underutilized EC2/GCE VMs (CPU < 15%), idle dev/staging clusters, ARM (Graviton) migration.
  2. Storage Tiering & Cleanup: Unattached EBS volumes, old disk snapshots, S3 Intelligent-Tiering and lifecycle expiration rules.
  3. Data Egress & Networking: Cross-AZ traffic, NAT Gateway data processing fees, lack of VPC endpoints for S3/DynamoDB.
  4. Database & Cache Provisioning: Idle replica nodes, over-provisioned IOPS, un-sharded memory clusters.
  5. Commitment Discounts: Savings Plans, Reserved Instances, and Spot instances for stateless batch workers.

Output Format

  • Estimated Savings Summary: Projected monthly cost reduction in $ and %.
  • Immediate Quick-Wins (Day 1): Deleting orphaned disks, snapshots, idle test environments.
  • Medium-Term Architectural Changes: Graviton migration, VPC Endpoints, Spot workers.
  • FinOps Guardrails: Infracost integration, budget alerts, and tagging policies.

Avoid

  • Aggressively down-sizing production database CPU to the point of risking latency spikes.
  • Overlooking NAT Gateway data transfer charges (often the #1 hidden AWS bill surprise).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.