costlisted
Install: claude install-skill arbazkhan971/godmode
# Cost — Cloud Cost Optimization
## Activate When
- User invokes `/godmode:cost`
- User says "reduce cloud costs," "optimize spending," "why is our bill so high?"
- User asks about right-sizing, reserved instances, or spot pricing
- Godmode orchestrator detects infrastructure cost concerns
- After `/godmode:infra` provisions resources that need cost governance
## Workflow
### Step 1: Inventory Cloud Resources
Discover all provisioned resources and their current costs:
```
COST INVENTORY:
Provider: <AWS | GCP | Azure | Multi-cloud>
Account(s): <account IDs in scope>
Region(s): <regions in scope>
Time period: <billing period to analyze>
Resource categories:
Compute: <EC2/GCE/VMs — count, types, monthly cost>
Storage: <S3/GCS/Blob — volume, monthly cost>
Database: <RDS/CloudSQL/CosmosDB — instances, monthly cost>
Network: <data transfer, load balancers, monthly cost>
Containers: <ECS/GKE/AKS — clusters, monthly cost>
Serverless: <Lambda/Functions — invocations, monthly cost>
Other: <CDN, DNS, monitoring, etc.>
```
### Step 2: Utilization Analysis
Measure actual usage versus provisioned capacity:
#### Compute Utilization
```
COMPUTE UTILIZATION:
| Instance | Type | Avg CPU | Avg Mem | Verdict |
|--|--|--|--|--|
| <instance-1> | m5.2xl | 12% | 25% | OVERSIZE |
| <instance-2> | t3.micro | 89% | 92% | UNDERSIZE |
| <instance-3> | c5.large | 45% | 60% | OK |
| <instance-4> | m5.xl | 3% | 8% | IDLE |
Thresholds:
IDLE: < 5% CPU and < 10% memory for 14+ days
OV