/devops-skills:rightsizingfrom devops-skills
Matches compute, memory, and storage allocation to real measured usage instead of launch-time guesses. Sizes from percentiles rather than averages and prefers autoscaling over fixed capacity for variable demand.
Ships in devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Most instance sizes are set once, at launch, from a guess made before real traffic existed — and then never revisited, because a running system that isn't on fire doesn't generate a reason to go back and check. The gap between provisioned and used capacity grows quietly for as long as nobody looks, and by the time someone does look it's often large enough to embarrass whoever picked the original size.
Rightsizing is not a one-time correction. Usage changes with every feature release, traffic pattern shift, and dependency change, so a size that was correct six months ago is a guess again today. The discipline is the measurement loop, not the resize itself.
Size from what the system actually uses, not from what someone guessed it might need.
"This feels like it needs 4 vCPUs" is not data. Pull actual CPU, memory, disk, and network utilization over a representative window before changing anything — a resize based on a hunch is just as likely to be wrong in the expensive direction as the cheap one.
Done when: every resize decision cites a metrics window, not a guess.
Average utilization hides the peaks that actually determine whether a resource is adequately sized — a workload that averages 20% CPU but spikes to 95% during checkout on Fridays will fall over if sized to the average. Size to a high percentile (p95 or p99) of the metric that matters for the workload's actual failure mode, with headroom for the spike, not to what it looks like on a typical Tuesday.
Done when: the sizing decision states which percentile was used and why it fits the workload's traffic shape.
A fixed size is a bet that usage stays flat — true for very few real workloads. Where demand
varies meaningfully by time of day, day of week, or event, autoscaling adapts capacity to the
actual curve instead of provisioning for the peak all day and wasting the difference the rest of
the time. See autoscaling for the mechanics of scaling policies and cooldowns.
Done when: every workload with variable demand runs on autoscaling instead of a fixed size picked to cover its peak.
A single rightsizing sweep finds the backlog that accumulated before anyone looked, but usage keeps drifting the moment the sweep ends. Turning rightsizing into a standing queue — new candidates surfaced as usage patterns change, reviewed and actioned on a cadence — keeps the gap from re-accumulating into the next big embarrassing sweep.
Done when: rightsizing candidates are reviewed on a recurring cadence, not discovered fresh each time someone asks why the bill is high.
A resource can be oversized on CPU and undersized on memory at the same time, and picking a size that only looks at one dimension will get the other wrong. Size each resource dimension against its own utilization data, then pick the smallest instance type or request/limit pair that covers all of them with headroom — not the smallest that covers whichever dimension was checked first.
Done when: every sizing decision states the CPU, memory, and (where relevant) storage or IOPS utilization it was based on, not just one dimension.
A resize changes the workload's behavior — a smaller instance under real load may show different utilization than the old one did, because contention, garbage collection, or I/O wait patterns shift with the resource ceiling. Re-measuring after the change, not just before it, catches a resize that was too aggressive before it turns into an incident.
Done when: every resize is followed by a post-change metrics check confirming the new size holds up under real traffic.
State which resources were resized, the percentile and window the sizing was based on, and how much provisioned capacity was removed. Name the honest gap — usually a workload whose traffic pattern is too irregular to trust a percentile-based estimate yet, or one still pending autoscaling migration — rather than claiming the whole fleet is now optimally sized.
What SKILL.md sets; muted values are Claude Code's defaults
88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./argocd-operationsCovers running Argo CD day to day — structuring app-of-apps, choosing sync policies and waves, reading health versus sync status correctly, and unsticking a degraded or hung Application. Use this whenever the user mentions Argo CD, an Application stuck "Progressing" or "OutOfSync," app-of-apps or ApplicationSets, sync waves and hooks, or asks why a deploy shows synced but the workload is unhealthy. For the underlying model this tool implements use `gitops`; for automated canary analysis on top of it use `progressive-delivery`; for the workloads it manages use `kubernetes-operations`.npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skills