Skip to content
Back to skills

Machine Capacity

ASecurity

Run builds, full suites, renders, Warcraft clients or other multi-core or >1 GiB work under capacity admission; DEFER or resource pressure. Skip small checks.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 13, 2026
ai-agentstesting

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned November 13, 2026

npx -y skills add tompassarelli/north --skill machine-capacity --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Machine Capacity?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Machine Capacity
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tompassarelli-machine-capacity/badge)](https://www.skillsdirectory.com/skills/tompassarelli-machine-capacity)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: machine-capacity
description: >-
  Run builds, full suites, renders, Warcraft clients or other multi-core or >1 GiB work under capacity admission; DEFER or resource pressure. Skip small checks.
grounded: 2026-11-12
written: 2026-11-12
metadata:
  kind: playbook
---

# Machine capacity

## Wrap heavy work

- Invoke the helper as `north capacity host`, because every caller must reach the one shared admission state.
- Admit sustained multi-core or >1 GiB work through it, never through worker slots, because idle slots measure neither CPU nor memory.
- Run `north capacity host run --class CLASS --owner OWNER --timeout-seconds N -- COMMAND ARG...`, the timeout covering setup and downloads. Run `north capacity host estimate -- CMD` before staffing local work, because leases size from it.
- Supervise the wrapper, queued or running, through terminal `RELEASED` and never detach its work, because a dropped wrapper drops its ticket and a killed one leaves its allowance charged.
- Retry a DEFER after a known release or 30 seconds and never busy-poll, because polling adds the load the queue exists to avoid.
- Treat RUN/RESERVED as permission to continue, NESTED as a run under the batch lease it started from, and RECLAIMED as expired leases, never as permission to kill peers, because peers belong to their owners.
- Never lower correctness requirements because of pressure, because slower correct work beats fast wrong work.

## Classes

Choose the smallest sufficient class, because oversized claims queue peers for nothing.

- moderate = 2 CPUs/2 GiB; heavy = 6 CPUs/8 GiB (all cores below 8, 3 at 8); exclusive = all allowed cores, no peer batch, 15 minutes at most; gpu = 1 CPU/2 GiB for headless Chrome and wisp renders (not grim captures), as many at a time as the host's measured `gpu_slots` (two on the laptop) while its free VRAM keeps Warcraft clients room; native = 2 CPUs/4 GiB for Warcraft clients and private desktops.
- Omit `--class` to size from the usage log (p90 of the last 20 runs plus 25%; moderate until three runs exist), because measured sizing beats guessing.
- critical only for the landing-train holder or a run with an explicit `--critical` release-blocker diagnostic, because it jumps the queue and ignores pressure.
- Add `--priority tom-ask` to a moderate, heavy or gpu `run` or `session` whose output Tom is waiting on: it takes the place of the oldest ticket of its class and still obeys pressure, and each use is recorded.
- runtime only for `north runtime update` building a landed north runtime, because every landing waits on that build (north#308).
- Leave the game reserve and gaming hold to the automatic modes: `north capacity mode status` names away, desktop or play (a running game, or Tom saying he is testing or playing until he says he is done or two hours pass) and why.

## Read when

- Read [native and GPU](references/native-and-gpu.md) before starting Warcraft clients, a private desktop, a native evidence run (accept, gate runs, capture batches, soaks), or GPU work.
- Read [diagnosing pressure](references/diagnosing-pressure.md) when admission defers longer than you expect, a build ran on another host, the desktop is slow, or you must find who holds the machine.
- Read [leases and limits](references/leases-and-limits.md) before reserving an agent lease for a compute-using worker, or when a scope or lease outlives its wrapper.
- Read [admission details](references/admission-details.md) for exact thresholds, charging and queue rules, or before changing admission.
- Read [testing on this machine](references/testing-on-this-machine.md) for the local test runners, timing checks and review paths the verification skill leaves unnamed.

Files in this skill

  • SKILL.md6.3 KB
  • references/leases-and-limits.md6.8 KB
  • scripts/build-machine-capacity451 B
  • scripts/capacity-admission.recorded.json2 KB
  • scripts/capacity-admission.recorded.test.ts8.3 KB
  • scripts/capacity-clamp.recorded.test.ts4.1 KB
  • scripts/capacity-estimate.replay.test.ts5.1 KB
  • scripts/capacity-unseen-pressure.recorded.json929 B
  • scripts/capacity-unseen-pressure.recorded.test.ts8.5 KB
  • scripts/charged-resources.property.ts2 KB
  • scripts/machine-capacity-host.mjs56.8 KB
  • scripts/machine-capacity-logic.ts18.2 KB
  • scripts/machine-capacity.mjs53.4 KB
  • scripts/machine-capacity.test.sh31.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.