capacity

Installation
SKILL.md

capacity

Cross-process capacity memory. N directors each see only their own traffic; this skill pools every outcome in one sqlite ledger and answers "is there headroom on this provider for this lane, right now?"

Red line: advisory + fail-open. Any internal error → the CLI prints {"action":"run","fail_open":true} and exits 0. If you find a code path where a capacity failure blocks a dispatch, that is a bug — file it, don't work around it.

CLI

bun ~/.claude/skills/capacity/capacity.ts record --provider claude --tokens 12000 --status ok|429
bun ~/.claude/skills/capacity/capacity.ts headroom [--provider claude]
bun ~/.claude/skills/capacity/capacity.ts route --provider claude --lane critical|research|standard [--ctx N] [--parked-min N]
bun ~/.claude/skills/capacity/capacity.ts stats
Installs
3
First Seen
Aug 27, 2026
capacity — a-canary/arc-skills