Capacity, Performance & Cost Assumptions

Capacity, Performance & Cost Assumptions is a skill for Claude Code from s977043/river-review. It costs 30 tokens per session (1,199 once invoked), scanned A, original, MIT.

A design-document reviewer that checks the assumptions behind traffic, response times, capacity, resource limits, and operating costs.

In plain words
What is it for?
It reviews architecture and capacity plans for peak traffic, growth, latency targets, dependency limits, backpressure, cost drivers, and spending controls.
Why use it?
Without these assumptions, a system may only reveal performance bottlenecks, limits, or unexpectedly high costs after it reaches production.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the river-review plugin — 138 skills, 18 commands, 5 agents, 3 hooks shipped together

Good fit It reviews architecture and capacity plans for peak traffic, growth, latency targets, dependency limits, backpressure, cost drivers, and spending controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s977043/river-review/capacity-cost-design
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 s977043/river-review --skill capacity-cost-design
Clone the repo
git clone --depth 1 https://github.com/s977043/river-review

Made for: Claude Code.

Or install river-review, the plugin that ships this one along with the rest of its 138 skills, 18 commands, 5 agents, 3 hooks.

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, Performance & Cost Assumptions

README.md
[![agentmods](https://agentmods.dev/badge/skills/s977043/river-review/capacity-cost-design/github.svg)](https://agentmods.dev/skills/s977043/river-review/capacity-cost-design)
Your own site
<a href="https://agentmods.dev/skills/s977043/river-review/capacity-cost-design"><img src="https://agentmods.dev/badge/skills/s977043/river-review/capacity-cost-design/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, Performance & Cost Assumptions

Your own site · 80×15
<a href="https://agentmods.dev/skills/s977043/river-review/capacity-cost-design"><img src="https://agentmods.dev/badge/skills/s977043/river-review/capacity-cost-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,199 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.
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.00030 $0.01199
Opus 5 $0.00015 $0.00600
Sonnet 5 $0.00006 $0.00240
Haiku 4.5 $0.00003 $0.00120

Measured 7d ago against content hash 8ca9388b37a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

Capacity, Performance & Cost Assumptions 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 7d 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.

skills/upstream/capacity-cost-design/SKILL.md · 99 lines

What it actually says

Pattern declaration

Primary pattern: Reviewer Secondary patterns: Inversion Why: 性能・容量・コストの前提漏れをチェックリスト型で評価し、本番ではじめて発覚するリスクを低減する

Goal / 目的

  • 設計の差分から、性能/容量/コストの前提不足により “本番で初めて詰む” リスクを減らす。

Non-goals / 扱わないこと

  • 具体的なインフラ構成やクラウドサービスの最適解を断定しない。
  • 実装レベルのチューニング(クエリ改善やキャッシュ実装など)。

Pre-execution Gate / 実行前ゲート

このスキルは以下の条件がすべて満たされない限りNO_REVIEWを返す。

  • 差分に設計ドキュメント(設計書/ADR/容量計画書)の変更がある
  • 差分に性能・容量・コストの前提や目標に関わる記述の追加または変更がある
  • inputContextにdiffが含まれている

ゲート不成立時の出力: NO_REVIEW: capacity-cost-design — 性能・容量・コスト設計に関わる変更が検出されない

False-positive guards / 抑制条件

  • PoC/運用対象外と明記されている場合は、必須要件としては扱わず “確認” に留める。

Rule / ルール

  • 先頭に要約を 1 行出す(クリティカルパスと前提の変更点)。
  • 指摘は最大 8 件まで。性能予算/上限制約/コスト爆発のリスクを優先。
  • “追記テンプレ” を付けて、文書に落とせる形にする。

Checklist / 観点チェックリスト

  • トラフィック前提
    • 想定 QPS/ピーク、データ量、同時接続などの前提があるか。
    • 増加率(成長)と期間の前提があるか。
  • 性能予算(Budget)
    • 重要フローのレイテンシ目標(p95/p99)と内訳があるか。
    • タイムアウト/リトライで “増幅” しない前提になっているか。
  • ボトルネックと限界
    • 依存(外部 API/DB/キュー)の上限と、劣化時のふるまいがあるか。
    • Backpressure(キュー溢れ、レート制限)と、落としどころがあるか。
  • コスト
    • コストドライバー(データ転送、ストレージ、ログ、外部 API 課金)が列挙されているか。
    • コスト上限/監視/アラートの前提があるか。

Output / 出力フォーマット

すべて日本語。<file>:<line>: <message> 形式で出力する。

  • 先頭に要約を 1 行: (summary):1: <重要フローと前提/予算の要点>
  • 以降は指摘(最大 8 件):
    • <message>[severity=critical|major|minor|info] を含める。
    • 可能なら “追記テンプレ” を 1 行付ける。

追記テンプレ例:

  • 前提: peakQPS=<>, payload=<>, dataGrowth=<>, 期間=<>
  • 性能: p95=<ms>, p99=<ms>, timeout=<ms>, retry=<回数>
  • コスト: ドライバー=<>, 上限=<>, 監視=<メトリクス>

評価指標(Evaluation)

  • 合格基準: 差分に紐づく前提/予算/上限の抜けが優先度付きで指摘され、追記案がある。
  • 不合格基準: 推測の断定、差分と無関係な一般論、指摘過多。

人間に返す条件(Human Handoff)

  • コスト上限や性能目標がビジネス判断に跨る場合は人間(PM/Tech Lead)へ返す。
Files

What ships with it

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

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. 7d ago First seen · 99 lines · 30 tokens per session scan A 8ca9388b37a2

Subscribe to this mod's changes

Capacity, Performance & Cost Assumptions is a skill published in the GitHub repository s977043/river-review (3 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 1,199 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

punchcard

Architecture-level design review of a code change: module boundaries, dependency direction, data model, error paths, cost of the next change — never naming, formatting, or anything a linter catches. Use when the user invokes /punchcard, says 'punchcard review', or asks for any design, architecture, or structural…

Maksim-Burtsev/punchcard · 102 tokens

terraform

Terraform and OpenTofu configuration, modules, testing, state management, and HCL review. Use for "terraform module", "terraform test", "infrastructure as code", "IaC", "HCL", "tfvars", "terraform plan", "terraform apply", "OpenTofu", "tftest", or multi-environment patterns.

iliaal/whetstone · 73 tokens

logic-health

Sweep a directory, module, or full codebase for logic correctness and produce a scored health dashboard with systemic patterns. Trigger when the user requests a health view — "audit the whole codebase", "health check", "health overview", "logic health overview", "audit src/", "audit auth and payments modules", "where…

hyhmrright/logic-lens · 180 tokens

deep-plan

Creates detailed, sectionized, TDD-oriented implementation plans through research, stakeholder interviews, and multi-LLM review. Use when planning features that need thorough pre-implementation analysis.

piercelamb/deep-plan · 39 tokens

omnicheck-gitlab

Use when checking if MR review findings have been applied — verifies both OmniForge-generated and human reviewer comments against the current diff, posts nudge replies on unaddressed threads.

nexiouscaliver/OmniForge · 41 tokens

omnicheck-github

Use when checking if PR review findings have been applied — verifies both OmniForge-generated and human reviewer comments against the current diff, posts nudge replies on unaddressed threads.

nexiouscaliver/OmniForge · 40 tokens