capacity-and-cost-engineering

capacity-and-cost-engineering is a skill for Claude Code, Codex from magnus919/agent-skills. It costs 168 tokens per session (3,879 once invoked), scanned A, original, MIT.

A method for connecting system capacity, technical performance, reliability targets, demand, and infrastructure cost when making engineering decisions.

In plain words
What is it for?
It helps estimate capacity, calculate unit costs, plan scaling, set budget and quota limits, and support launch or service-reliability decisions with load-test evidence.
Why use it?
It helps prevent growth or reliability plans from ignoring resource limits, peak demand, or budget effects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps estimate capacity, calculate unit costs, plan scaling, set budget and quota limits, and support launch or service-reliability decisions with load-test evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magnus919/agent-skills/capacity-and-cost-engineering
Install

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.

Any agent
npx skills add magnus919/agent-skills --skill capacity-and-cost-engineering
Clone the repo
git clone --depth 1 https://github.com/magnus919/agent-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin capacity-and-cost-engineering — /plugin install capacity-and-cost-engineering after adding the marketplace above.

Wrote 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.

agentmods badge for capacity-and-cost-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/magnus919/agent-skills/capacity-and-cost-engineering/github.svg)](https://agentmods.dev/skills/magnus919/agent-skills/capacity-and-cost-engineering)
Your own site
<a href="https://agentmods.dev/skills/magnus919/agent-skills/capacity-and-cost-engineering"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/capacity-and-cost-engineering/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.

agentmods 80×15 button for capacity-and-cost-engineering

Your own site · 80×15
<a href="https://agentmods.dev/skills/magnus919/agent-skills/capacity-and-cost-engineering"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/capacity-and-cost-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,879 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00168 $0.03879
Opus 5.5 $0.00067 $0.01552
Sonnet 5.5 $0.00034 $0.00776
Haiku 4.5 $0.00017 $0.00388

Measured 1mo ago against content hash 1e75e1c3694c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

capacity-and-cost-engineering 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 1mo 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.

capacity-and-cost-engineering/SKILL.md · 220 lines

How it starts

The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Capacity and Cost Engineering

Connect demand, performance, reliability, and spend into defensible capacity and cost decisions. This skill models technical capacity, calculates unit cost at the infrastructure level, defines budget and quota controls, requires load/soak evidence for capacity claims, and makes cost-performance tradeoffs explicit — producing evidence that feeds production-readiness launch decisions and constrains or supports site-reliability-engineering SLO choices.

Connected dimensions

Demand (traffic and growth), performance (latency and throughput), reliability (SLOs and error budgets), and spend (cost) are treated as connected dimensions — a change in any one dimension affects the others. The skill's core method is tracing the connection:

Dimension Capacity impact Cost impact
Demand (traffic, growth rate) Drives compute, storage, network requirements Drives baseline and projected spend
Performance (latency, throughput target) Constrains resource headroom per request Tighter targets increase unit cost
Reliability (SLO, error budget) Requires redundancy, over-provisioning, or isolation Higher SLOs increase cost non-linearly
Spend (budget, cost constraint) Caps capacity; may force degraded-mode operation Limits what SLO/performance targets are achievable

A capacity decision that changes one dimension without modeling the others is incomplete. Every capacity model, unit-cost calculation, and budget decision in this skill must name at least one connection to another dimension with evidence or an explicit assumption.

Loading Guide

Load this skill when the task involves any of:

Trigger What to load
Project capacity from a growth forecast SKILL.md + templates/capacity-model.md
Size capacity for a peak event (launch, Black Friday, seasonal) SKILL.md + templates/capacity-model.md + templates/load-soak-test-plan.md
Calculate unit cost and connect to SLO or demand decisions SKILL.md + templates/unit-economics-record.md
Define a budget threshold, spending alert, or hard cap SKILL.md + templates/budget-quota-decision.md
Design quota or rate-limit enforcement in operational context SKILL.md + templates/budget-quota-decision.md
Plan or review a load/soak test as capacity evidence SKILL.md + templates/load-soak-test-plan.md
Resolve an SLO-cost tradeoff or cost-constrained reliability decision SKILL.md + templates/slo-cost-tradeoff-record.md
Review a cost anomaly or attribute cost to services/teams SKILL.md + templates/unit-economics-record.md
Model multi-tenant demand, skew, fairness, or tenant-variable unit cost SKILL.md + references/multi-tenant-capacity-and-unit-cost.md + templates/tenant-capacity-model.md
Understand ownership boundaries with adjacent skills SKILL.md + references/discovery-brief.md

Read the full file on GitHub · 220 lines

Changes

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.

  1. 1mo ago First seen · 220 lines · 168 tokens per session scan A 1e75e1c3694c

Subscribe to this mod's changes

capacity-and-cost-engineering is a skill published in the GitHub repository magnus919/agent-skills (154 stars, last pushed today), licensed MIT. It adds 168 tokens to every session and 3,879 once invoked, about $0.0007 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-08-30.