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 joao-aires/agent-skills-public --skill analyze-capacity-costgit clone --depth 1 https://github.com/joao-aires/agent-skills-publicWrote 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/joao-aires/agent-skills-public/analyze-capacity-cost)<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/analyze-capacity-cost"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/analyze-capacity-cost/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/analyze-capacity-cost"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/analyze-capacity-cost.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00091 | $0.01116 |
| Opus 5.5 | $0.00036 | $0.00446 |
| Sonnet 5.5 | $0.00018 | $0.00223 |
| Haiku 4.5 | $0.00009 | $0.00112 |
Grade A, and why
analyze-capacity-cost 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 today.
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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Analyze capacity and cost from evidence
Read activity system for scope and stopping point.
Capacity asks whether the system can serve observed or projected demand with acceptable latency and failure behavior. Cost asks which resources deliver that outcome and at what measured spend. Both are analysis questions here. The demand plan, sizing decision, cost tradeoff and accepted budget belong to design and the requirements record; this method supplies and tests the evidence behind them.
Design system owns capacity and cost planning through its capacity planning and cost planning references, and owns the design tradeoff. The ECR records the accepted decision. Provider-specific cost mechanics belong to installed platform expertise selected by capability, such as aws-platform or operations-platforms; do not import another provider's procedure.
Establish the measured question
Name the service, journey, environment, population, time window, currency and billing period. State the claim under test: a saturation point, a sizing mismatch, a unit cost, a forecast variance or the observed effect of a change. Separate observation, estimate, forecast and projection. Missing telemetry means an estimate that needs validation, not a measurement. Do not set a target, invent a budget or select a plan.
Analyze demand and saturation
- Establish arrivals, service time and in-flight work with clear units. Include fan-out, retries, long-running AI or audio work, and slow providers that hold concurrency while local CPU is idle.
- Inspect tail latency, queue depth and wait, throttling, memory peaks, database and storage limits, quotas and connection pools.
- Locate the bottleneck on the full request path. Replicas can multiply connections and exhaust a shared dependency.
- Compare sustained, peak and degraded demand using observed or explicitly stated conditions, not an assumed target.
- Read capacity analysis for mechanics, Kubernetes behavior and measurement limits.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- today Changed · +6 lines · +28 tokens per session 3e7147e96414
- 11d ago Changed · -3 lines f8ba31e53721
- 16d ago First seen · 67 lines · 63 tokens per session scan A 82978e913b28
analyze-capacity-cost is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed yesterday), licensed MIT. It adds 91 tokens to every session and 1,116 once invoked, about $0.0004 per session on Opus 5.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-11-20.
analyze-capacity-cost compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| analyze-capacity-costjoao-aires/agent-skills-public | Skill | 2 | yesterday | MIT | A | 91 | Claude Code |
| gke-compute-classesgoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 100 | Claude Code, Codex |
| cloud-operator-admin-setupgoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 118 | Claude Code, Codex |
| gke-workload-securitygoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 171 | Claude Code, Codex |
| gke-reliabilitygoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 85 | Claude Code, Codex |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 4.4k | yesterday | Apache-2.0 | A | 30 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | 2d ago | MIT | A | 78 | Claude Code |