2026-11-27 16:21 UTC

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

10-13 13:00⭐ origin echo-reconstructedThe Reddit post is a launch announcement for this repo, which was created the previous day. README: "**Keep Claude Code and Codex agent swar
Akash Solanki (GitHub: antivirusakash) on github (echo) · attributed from reddit.post.1x5rtjq
—
10-14 13:53first on r/ClaudeAI · published · +24.9hMy Mac kept freezing while Claude Code agents ran, so I built a plugin that makes heavy jobs wait their turn
antivirusakash
—
10-14 13:53amplified on r/ClaudeAI 👑reddit.post.1x5rtjq
antivirusakash
peak 3 · 10 comments · 100% of case engagement
10-14 14:20our radar first saw it · +25.3hdiscovery anchor: reddit.post.1x5rtjq—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditMy Mac kept freezing while Claude Code agents ran, so I built a plugin that makes heavy jobs wait their turn
ClaudeAI
Retrieved article excerpt

Open article · Retrieved 2026-10-14T15:37:47.707442+00:00

# Prove your humanity

We’re committed to safety and security. But not for bots. Complete the challenge below and let us know you’re
a real person.

[Reddit, Inc. © "2026". All rights reserved.](https://www.redditinc.com/)

[User Agreement](https://www.reddit.com/help/useragreement)
[Privacy Policy](https://www.reddit.com/help/privacypolicy)
[Content Policy](https://www.reddit.com/help/contentpolicy)
[Help](https://support.reddithelp.com/hc/en-us)
antivirusakash310
🟧 echo.github ⭐The Reddit post is a launch announcement for this repo, which was created the previous day. README: "**Keep Claude Code and Codex agent swarAkash Solanki (GitHub: antivirusakash)——

Interpretation history

Decision trace