Swarm-brake plugin reports throttling resource-heavy Claude Code commands
state: expiredheat: lowuncertainty: mediumrelevance: lowagent-resource-governance claude-code-hooks local-agent-opsantivirusakash
What is this?
Akash Solanki (GitHub user antivirusakash) released swarm-brake, a Claude Code plugin using PreToolUse hooks to classify shell commands and check machine load before allowing resource-intensive jobs to run. The author says it can delay heavy commands, lower their priority, clean up leftover headless Chrome processes, and log activity across sessions. The Reddit post describes the author’s experience on a 16 GB Mac; the linked GitHub evidence summarizes a benchmark, but the supplied material does not independently verify the implementation or results. Evidence of Codex support is limited to the repository description; the detailed account focuses on Claude Code.
Why it matters
A practical example of governing local coding-agent workloads: instead of asking agents to limit parallelism, swarm-brake reportedly intercepts shell commands and schedules resource-heavy jobs against current machine load. That may help developers running several sessions, but this is a new, single-maintainer plugin—not evidence of a broadly adopted or independently validated approach.
Current assessment
Akash Solanki’s Reddit launch post says swarm-brake uses Claude Code PreToolUse hooks to classify shell commands, check memory pressure, load and concurrent heavy jobs, delay work when the machine is busy, lower the priority of allowed jobs, clean up leftover headless Chrome processes when sessions stop, and log heavy-job activity. The author describes repeated freezes on a 16 GB Mac as motivation; these are self-reported conditions, not independently confirmed. The supplied GitHub summary says the repository was created the previous day and reports a test benchmark: with eight heavy jobs on a 16 GB, 10-core MacBook, simultaneous jobs fell from eight to two and minimum free memory rose from 33% to 58%, while all jobs took longer to finish (21.4 to 55.4 seconds). Those figures are repository-reported, not independently reproduced in the supplied evidence. The launch account focuses on Claude Code; Codex support appears only in the repository description. The significance is a small, concrete hook-based pattern for local agent resource governance, not a new model capability. Useful questions for follow-up include how reliably commands are classified, whether cleanup can affect unrelated browser processes, and how it performs across machines and workloads.
Measured heat
no measured readings yet — the hourly heat pass fills this in
How the heat travelled
Evidence (2) — ⭐ canonical anchor
Interpretation history
2026-10-21T14:03:01Z
audience grounding: low — A practical example of governing local coding-agent workloads: instead of asking agents to limit parallelism, swarm-brake reportedly intercepts shell commands and schedules resource-heavy jobs against current machine load. That may help developers running several sessions, but this is a new, single-maintainer plugin—not evidence of a broadly adopted or independently validated approach.
Decision trace
- 10-29 14:55expireexpired deterministically: single-evidence seed quiet 14 days (lifecycle)
- 10-22 01:03groundA practical example of governing local coding-agent workloads: instead of asking agents to limit parallelism, swarm-brake reportedly intercepts shell commands and schedules resource-heavy jobs against
- 10-15 04:36attention_routeThe editor compared this story and chose to keep watching.
- 10-15 04:33attention_candidatecreate
- 10-15 04:33promote_anchororigin walk conf 0.9
- 10-15 02:53groundAn independent developer (antivirusakash) has released a concrete Claude Code plugin (swarm-brake) that implements hook-based resource governance — classifying and gating shell commands by resource im
- 10-15 02:40createSingle Reddit post announcing a released plugin addressing agent resource exhaustion; plausible but unvalidated pattern.