fabrico-optimizing-cloud-cost
Skill2 starsChanged 4 months agoMITView on GitHub
Optimize cloud costs through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.
In this repository42 other files it gives its agents.
- docs/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- fabrico-architecture-designingSkill
- fabrico-building-admin-dashboardsSkill
- fabrico-building-admin-resourcesSkill
- fabrico-building-lean-applicationsSkill
- fabrico-codebase-analysingSkill
- fabrico-code-reviewingSkill
- fabrico-creating-agentsSkill
- fabrico-creating-instructionsSkill
- fabrico-creating-promptsSkill
- fabrico-creating-skillsSkill
- fabrico-designing-multi-cloud-architectureSkill
- fabrico-e2e-testingSkill
- fabrico-engineering-promptsSkill
- fabrico-ensuring-accessibilitySkill
- fabrico-implementation-gap-analysingSkill
- fabrico-implementing-backendSkill
- fabrico-implementing-ci-cdSkill
- fabrico-implementing-formsSkill
- fabrico-implementing-frontendSkill
- fabrico-implementing-kubernetesSkill
- fabrico-implementing-observabilitySkill
- fabrico-implementing-terraform-modulesSkill
- fabrico-improving-codebasesSkill
- fabrico-improving-uiSkill
- fabrico-jira-task-formattingSkill
- fabrico-managing-secretsSkill
- fabrico-optimizing-frontendSkill
- fabrico-planning-migrationSkill
- fabrico-preparing-applications-for-aiSkill
- fabrico-preparing-applications-for-saasSkill
- fabrico-reverse-engineering-specSkill
- fabrico-reviewing-frontendSkill
- fabrico-sql-and-database-understandingSkill
- fabrico-task-analysingSkill
- fabrico-task-extractingSkill
- fabrico-task-quality-reviewingSkill
- fabrico-technical-context-discoveringSkill
- fabrico-transcript-processingSkill
- fabrico-ui-verifyingSkill
- fabrico-writing-hooksSkill
The file
Files
Cloud Cost Optimization
When to Use
- Reducing cloud spending or meeting budget constraints
- Right-sizing resources based on utilization
- Implementing cost governance and tagging
- Analyzing multi-cloud cost optimization opportunities
Pricing Model Decision
| Workload Type | AWS | Azure | GCP | Savings |
| Steady-state (24/7) | Reserved Instances / Savings Plans | Reserved VMs | Committed Use | 30-72% |
| Variable / burst | On-Demand + Auto-scaling | Pay-as-you-go | On-Demand | Baseline |
| Fault-tolerant batch | Spot Instances | Spot VMs | Preemptible | Up to 90% |
| Serverless / event-driven | Lambda | Functions | Cloud Functions | Pay-per-use |
Storage Tiering Decision
| Data Access Pattern | AWS | Azure | GCP |
| Frequent (hot) | S3 Standard | Hot | Standard |
| Infrequent (30+ days) | S3 Standard-IA | Cool | Nearline |
| Rare (90+ days) | S3 Glacier | Cold | Coldline |
| Archive (365+ days) | S3 Deep Archive | Archive | Archive |
Rule: Implement lifecycle policies to auto-transition data between tiers.
Required Tags
| Tag | Purpose | Example |
Environment | Cost allocation by env | production, staging |
Project | Cost allocation by project | my-project |
CostCenter | Finance reporting | engineering |
Owner | Contact for unused resources | team@example.com |
ManagedBy | Track IaC vs manual | terraform |
Reference: See references/tagging-standards.md for full standards.
Process
- Audit current spend → Use Cost Explorer / Cost Management to identify top costs
- Tag all resources → Apply required tags for cost allocation
- Identify waste → Find unused EBS, EIPs, snapshots, idle instances
- Right-size resources → Use Compute Optimizer / Advisor recommendations
- Apply pricing models → Reserved/Committed for steady, Spot for batch
- Implement tiering → Storage lifecycle policies, database right-sizing
- Set up alerts → Budget alerts at 50%, 80%, 100% thresholds
- Schedule reviews → Weekly cost review, monthly optimization
Checklist
- Cost allocation tags applied to all resources
- Unused resources deleted (EBS, EIPs, snapshots, idle instances)
- Instances right-sized based on utilization metrics
- Reserved capacity purchased for steady workloads (>70% utilization)
- Spot/preemptible used for fault-tolerant workloads
- Storage lifecycle policies configured
- Budget alerts enabled (50%, 80%, 100%)
- Cost anomaly detection enabled
- Auto-scaling configured for variable workloads
Anti-Patterns
| ❌ Don't | ✅ Do |
| Over-provision "just in case" | Right-size based on metrics, scale up if needed |
| Use On-Demand for steady workloads | Use Reserved/Committed for predictable usage |
| Store all data in hot tier | Implement lifecycle policies |
| Skip tagging | Tag everything for cost visibility |
| Review costs monthly | Review weekly, alert on anomalies |
Tools
| Provider | Tools |
| AWS | Cost Explorer, Cost Anomaly Detection, Compute Optimizer |
| Azure | Cost Management, Advisor |
| GCP | Cost Management, Recommender |
| Multi-cloud | CloudHealth, Cloudability, Kubecost |
Reference Files
references/tagging-standards.md- Tagging conventions and enforcement
Related Skills
fabrico-implementing-terraform-modules- For resource provisioningfabrico-designing-multi-cloud-architecture- For cloud selection
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
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.

