navveenb/lean-agentic-ai-skills/right-size-compute

Claude Code and agent skill by navveenb/lean-agentic-ai-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install navveenb/lean-agentic-ai-skills/right-size-compute

SKILL.md

The same SKILL.md was published earlier as navveenb/lean-agentic-ai-skills/right-size-compute.

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

  1. 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.
  2. 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.
  1. Every recommendation names the specific target class and the risk ("p95 headroom drops from 5x to 2x — validate against month-end batch").
  2. 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).

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/navveenb/lean-agentic-ai-skills/right-size-compute/badge)](https://verified-skill.com/skills/navveenb/lean-agentic-ai-skills/right-size-compute)

Something wrong with this skill or its page? Tell us.