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 skills add sawrus/agent-guides --skill capacity-planninggit clone --depth 1 https://github.com/sawrus/agent-guidesWrote 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/sawrus/agent-guides/capacity-planning)<a href="https://agentmods.dev/skills/sawrus/agent-guides/capacity-planning"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/capacity-planning.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00027 | $0.01482 |
| Opus 5 | $0.00014 | $0.00741 |
| Sonnet 5 | $0.00005 | $0.00296 |
| Haiku 4.5 | $0.00003 | $0.00148 |
Grade A, and why
capacity-planning 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 8d 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 — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Capacity Planning
Expertise: Traffic forecasting, per-pod resource modeling, node pool sizing, cluster capacity headroom, VPA/HPA tuning for growth.
When to load
When planning for growth, validating current cluster headroom, sizing node pools, or preparing for a high-traffic event (sale, launch).
Traffic Forecasting
# Current RPS baseline (7-day average)
avg_over_time(
sum(rate(http_requests_total{service="checkout-service"}[5m]))[7d:5m]
)
# Peak RPS (7-day p99)
quantile_over_time(0.99,
sum(rate(http_requests_total{service="checkout-service"}[5m]))[7d:5m]
)
# Week-over-week growth rate
(
avg_over_time(sum(rate(http_requests_total[5m]))[7d:5m])
/
avg_over_time(sum(rate(http_requests_total[5m]))[7d:5m] offset 7d)
) - 1
# e.g. 0.08 = 8% weekly growth → ~3.5× in 6 months
Per-Pod Resource Modeling
Model: what resources does 1 pod consume per RPS unit?
Step 1: current pod metrics
- pods = 4 (HPA current)
- RPS = 200 req/s (avg)
- CPU per pod = 320m (avg), 480m (p99)
- Memory per pod = 280Mi (avg), 380Mi (peak)
Step 2: per-RPS resource cost
- CPU per RPS = 320m / (200/4) = 6.4m CPU per RPS
- Mem per RPS = 280Mi / (200/4) = 5.6Mi per RPS
Step 3: future requirements at 2× traffic (400 RPS)
- CPU needed = 400 × 6.4m = 2560m = 2.56 cores
- Mem needed = 400 × 5.6Mi = 2240Mi ≈ 2.2Gi
- Pods needed (at 70% CPU target) = 2560m / (500m × 0.7) = 7.3 → 8 pods min
- Update HPA maxReplicas to accommodate
Cluster Capacity Check
# Total cluster allocatable resources
kubectl get nodes -o json | jq '
[.items[].status.allocatable] |
{
cpu: [(.[].cpu | gsub("m";"") | tonumber) / 1000] | add,
memory_gi: [(.[].memory | gsub("Ki";"") | tonumber) / 1048576] | add
}'
# Currently requested resources (sum of all pod requests)
kubectl get pods -A -o json | jq '
[.items[].spec.containers[].resources.requests // {}] |
{
cpu_requested: [.[].cpu // "0m" | gsub("m";"") | tonumber] | add / 1000,
mem_requested_gi: [.[].memory // "0Mi" | gsub("Mi";"") | tonumber] | add / 1024
}'
# Headroom per node (allocatable - requested)
kubectl describe nodes | grep -A5 "Allocated resources:"
# Quick headroom summary script
kubectl get nodes -o custom-columns=\
"NAME:.metadata.name,\
CPU_ALLOC:.status.allocatable.cpu,\
MEM_ALLOC:.status.allocatable.memory,\
READY:.status.conditions[-1].type"
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.
- 8d ago First seen · 163 lines · 27 tokens per session scan A 99e3414a4854
capacity-planning is a skill published in the GitHub repository sawrus/agent-guides (17 stars, last pushed 7d ago), licensed MIT. It adds 27 tokens to every session and 1,482 once invoked, about $0.0001 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-30.
Other skills, from other repositories
shipping-and-launch
Prepares production launches. Use when preparing to deploy to production. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.
apify-actor-development
Important: Before you begin, fill in the generatedBy property in the meta section of .actor/actor.json. Replace it with the tool and model you're currently using, such as "Claude Code with Claude Sonnet 4.5". This helps Apify monitor and improve AGENTS.md for specific AI tools and models.
aws-serverless-eda
AWS serverless and event-driven architecture expert based on Well-Architected Framework. Use when building serverless APIs, Lambda functions, REST APIs, microservices, or async workflows.
appdeploy
Deploy web apps with backend APIs, database, and file storage. Use when the user asks to deploy or publish a website or web app and wants a public URL. Uses HTTP API via curl.
aws-cdk-development
AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.
aws-cost-cleanup
Automated cleanup of unused AWS resources to reduce costs.