Skill v1.0.0
currentLLM-judged scan90/100version: "1.0.0" name: right-size-compute description: Match compute sizing to actual utilization — recommend smaller instance classes, fewer vCPUs/RAM, ARM/Graviton migration, or burstable classes based on utilization data. Use this skill whenever the user shares CPU/memory utilization metrics, asks if instances/VMs/nodes are oversized, mentions right-sizing, or wants to reduce the cost or carbon footprint of running workloads. Part of Lean Agentic AI Skills; emits lean-findings.json.
Right-Size Compute
Producer skill. Input: utilization exports (CloudWatch/Azure Monitor/Stackdriver CSVs, kubectl top output, monitoring screenshots described by user) plus current instance specs. Output: lean-findings.json.
Oversizing is the quiet majority of compute waste: the instance runs at 12% CPU forever because someone guessed at launch and nobody looked again. Right-sizing reduces E (less silicon powered) and M (smaller hardware share).
Subject type: emit subject.type: "compute-fleet" in findings.
Procedure
- For each workload, establish the utilization envelope from the data: p50, p95, and peak for CPU and memory over the observed window. State the window in methodology — a week of data cannot speak for month-end spikes; say so.
- Compare envelope to provisioned capacity. Signatures:
- p95 CPU < 20% and memory < 40% → candidate for one-or-two-size downsizing. High severity if fleet-wide.
- Spiky-but-rare load (low p95, high max) → burstable class (T-series/B-series) candidate. Medium.
- Steady x86 workload with portable runtime (JVM, Go, Node, Python) → ARM (Graviton/Ampere/Tau) candidate — same work, less energy per unit. Medium, reduces E.
- Memory-bound but CPU-idle (or inverse) → wrong instance family, not just size.
- Every recommendation names the specific target class and the risk ("p95 headroom drops from 5x to 2x — validate against month-end batch").
- Emit findings; evidence = the actual utilization numbers from the data, never estimates.
Honesty rules
- Headroom is legitimate. Recommend against sizing to p95 alone for latency-critical services; say what headroom the recommendation preserves.
- ARM migration effort is real (rebuild, dependency check) — effort field reflects it.
- No energy percentages; "one instance size down roughly halves the compute footprint of this workload" only when it literally halves vCPUs.
Cost signal (countable)
Cost driver: instance-hours × class. Where the current class and target class are known, cost_signal.observed states the current unit ("14 m5.2xlarge instance-hours/day") and direction describes the change qualitatively ("drops one size — roughly halves the vCPU-hour driver on this workload"). Currency conversion is the user's job.
Not this skill's job
Finding fully idle resources (cloud-waste-audit), containers bin-packing (container-density-audit), serverless migration (vm-to-serverless-advisor).