Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/arjunprabhulal/devops-skills/rightsizingnpx skills add arjunprabhulal/devops-skills --skill rightsizinggit clone --depth 1 https://github.com/arjunprabhulal/devops-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/arjunprabhulal/devops-skills/rightsizing)<a href="https://agentmods.dev/skills/arjunprabhulal/devops-skills/rightsizing"><img src="https://agentmods.dev/badge/skills/arjunprabhulal/devops-skills/rightsizing.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00112 | $0.01149 |
| Opus 5 | $0.00056 | $0.00575 |
| Sonnet 5 | $0.00022 | $0.00230 |
| Haiku 4.5 | $0.00011 | $0.00115 |
Grade A, and why
rightsizing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rightsizing
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.
1. Size from measured usage, never from instinct
"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.
- Use a window that includes peak traffic, not just a quiet afternoon that understates real need.
- Check all resource dimensions, not just CPU — a service throttled on memory or IOPS won't show up in a CPU-only view.
Done when: every resize decision cites a metrics window, not a guess.
2. Look at the right percentile, not the average
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.
3. Prefer autoscaling to a fixed guess wherever demand varies
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 96 lines · 112 tokens per session scan A 8b555569f9ef
rightsizing is a skill published in the GitHub repository arjunprabhulal/devops-skills (3 stars, last pushed 10d ago), licensed MIT. It adds 112 tokens to every session and 1,149 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
google-mobile-ads-android-migrate-to-next-gen
Migrates Android applications from the old, legacy Google Mobile Ads (GMA) SDK (com.google.android.gms:play-services-ads) to the new GMA Next-Gen SDK (com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk). Provides comprehensive mapping tables for imports, classes, and method signatures to help determine…
agent-platform-inference
Connects to and performs inference with Google Cloud Agent Platform GenAI models, including First-Party Gemini models and Third-Party OpenMaaS models (Llama, DeepSeek, Qwen, etc.). Use when asked to perform inference, ask a model a question, run a test prompt, execute chat completions, or generate code for calling…
google-cloud-solution-guided-gke-ai-migration
Guides the migration of existing AI workloads (Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted GKE inference using gcloud and kubectl. Use when the user has an existing AI inference workload (on Cloud Run, the Gemini API, Gemini Enterprise Agent Platform, or a custom VM) and wants to move it to…
agent-platform-deploy
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up resources by undeploying models and deleting endpoints. Use when asked to actively deploy a model, list the Model Garden CATALOG of available models, check if a…
agent-platform-eval-flywheel
Measures and improves the quality of AI models and agents on Google Cloud using the Eval Quality Flywheel methodology. Use when evaluating an agent or model, building an eval dataset, picking or writing evaluation metrics, analyzing failures, comparing results before and after a fix, or when guidance is needed on…
agent-platform-tuning
Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use agent-platform-deploy), or managing serving endpoints (use agent-platform-endpoint-management).