Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/sonichi/sutandonpx agentmods add skills/sonichi/sutando/worker-poolWrote 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.
[](https://agentmods.dev/skills/sonichi/sutando/worker-pool)<a href="https://agentmods.dev/skills/sonichi/sutando/worker-pool"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/worker-pool/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.
<a href="https://agentmods.dev/skills/sonichi/sutando/worker-pool"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/worker-pool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.10926 |
| Opus 5.5 | $0.00007 | $0.04370 |
| Sonnet 5.5 | $0.00003 | $0.02185 |
| Haiku 4.5 | $0.00002 | $0.01093 |
Grade A, and why
worker-pool 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 578 lines — stays where its author put it; the contents beside it link to each section on GitHub.
worker-pool
Worker-pool commands live in scripts/; their suites live in
tests/skills/worker-pool/. The durable identity, routing, and delivery
contracts are in docs/worker-pool-design.md.
Modules (scripts/)
pool_beat.py— refresh liveness; worker writers watch the tmux CLI PID each second and check PID reuse before each refresh. Unreadable process metadata is nonfatal.spawn_worker.py— mint a worker: identity records, delivery folder, tmux session, watcher, detached worker beat; refuses before any side effect, rolls back on a launcher failure.create_worker.py— the one command that spawns and registers under the roster lock, so the roster cannot go stale. By default it then starts the worker's own s.space identity (below).pool_identity_request.py— that default identity step: picks the agent's label and runspool_identity.py add --device-flowin the background.rename_worker.py— change a worker's base routing alias after creation:python3 skills/worker-pool/scripts/rename_worker.py --worker <id-or-label> --label "<new alias>" [--workspace W]. The id and its tmux session name stay.apply_profile_label_overrides.py— apply an s.space profile's complete worker display-label map from JSON stdin with--workspace W --profile-mxid M --config-version N.worker_bootstrap.py— a worker session's first-turn decision (worker vs core mode) from its env.pool_roster.py— owner bindings + compiled roster;register_workeris the locked read-merge-write.set_worker_state/remove_workerare its writers for a worker's lifecycle;set_worker_plugin_dirswrites a row'splugin_dirs.pool_manage.py— stop, retire, re-enable, remove, reseat or retry (restart at once after a provider limit, on the owner's "retry now") a worker, record its extra Claude plugin dirs, and bind or unbind a room (below).pool_account_move.py— after the core's Claude folder is signed in to another account, keeps one card of where every Claude session launched from it is. With no stored sign-in file (.credentials.json, only checked for, never opened) nothing restarts: each session picks up the new sign-in from its next request, and a worker stopped at its usage limit is sentcontinueonce per switch of the folder's sign-in (A→B→A counts twice) through the guarded sender (tmux-send-line.sh). With that file, sessions keep the old sign-in, so it falls back to restarting each worker (retry --account-move) only when it is parked at a limit or idle with no background work (its own task-watcher Monitor discounted when the pool can tell it is one), with "Move now" for one that waits on background work. The sweep runspasseach tick; the account card runsfollowafter a switch. Codex workers and workers on their own folder are never touched (docs/worker-pool-design.md, "A second exception").pool_identity.py— give a worker an s.space agent of its own, show it, rotate its token or remove it (below).pool_provision.py— the local half of creating that agent without a pasted token: claim secret, redeem, retire (below).provision_e2e.py— check that whole flow against one server, with a scan for leaked secrets (below).worker_identity.py— worker / session / incarnation records.pool_router.py— resolve one task to its recipients from the roster.pool_route_handler.py— the core watcher's task-event handler (SUTANDO_TASK_EVENT_HANDLER): declines unbound work, delivers bound work as sentinels.pool_delivery.py— a recipient's own folder: sentinels in, accept, release, done flags, and the owner'shand_off_to_core.pool_ask.py— ask another instance a question through the front door (below).pool_handoff.py—pool_askover s.space to a worker with its own agent, behind a flag (below).pool_pr_route.py— pr-watch'sPR_WATCH_ROUTE_CMD: hands an event about our own PR to the worker driving it (below).pool_sessions.py— read-only: which worker tmux sessions a viewer could attach, and the exact-match argv for each. Adds no state and nothing in the pool calls it; it exists for the desktop app's terminal picker. It deliberately does not describe the core, whose socket resolution belongs to the app.
What ships with it
45 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.
- manifest.json 1.4 KB
- scripts/apply_profile_label_overrides.py 1.6 KB runs code
- scripts/codex_worker_mcp.py 5.1 KB runs code
- scripts/create_worker.py 12 KB runs code
- scripts/launch-codex-worker-session.sh 13 KB runs code
- scripts/launch-worker-session.sh 12 KB runs code
- scripts/pool_account_move.py 36 KB runs code
- scripts/pool_advertise.py 10 KB runs code
- scripts/pool_ask.py 15 KB runs code
- scripts/pool_attribution.py 3.9 KB runs code
- scripts/pool_beat.py 8.4 KB runs code
- scripts/pool_delivery.py 45 KB runs code
- scripts/pool_device_connect.py 39 KB runs code
- scripts/pool_handoff.py 10 KB runs code
- scripts/pool_identity_request.py 8.4 KB runs code
- scripts/pool_identity.py 25 KB runs code
- scripts/pool_limit.py 2.7 KB runs code
- scripts/pool_manage.py 45 KB runs code
- scripts/pool_pr_route.py 9.6 KB runs code
- scripts/pool_provision.py 31 KB runs code
- scripts/pool_record.py 5.2 KB runs code
- scripts/pool_remedy_timer.py 13 KB runs code
- scripts/pool_remedy.py 30 KB runs code
- scripts/pool_room_handoff.py 23 KB runs code
- scripts/pool_roster.py 35 KB runs code
- scripts/pool_route_handler.py 14 KB runs code
- scripts/pool_router.py 20 KB runs code
- scripts/pool_routing_receipt.py 2.1 KB runs code
- scripts/pool_sessions.py 8.0 KB runs code
- scripts/pool_supervise.py 29 KB runs code
- scripts/pool_supervision.py 19 KB runs code
- scripts/pool_wedge_cards.py 17 KB runs code
- scripts/provision_e2e.py 38 KB runs code
- scripts/rename_worker.py 2.7 KB runs code
- scripts/resolve_inbox_entry.py 3.2 KB runs code
- scripts/resolve-inbox-entry 807 B
- scripts/spawn_worker.py 33 KB runs code
- scripts/worker_bootstrap.py 11 KB runs code
- scripts/worker_claude_folder.py 9.2 KB runs code
- scripts/worker_delivery.py 3.1 KB runs code
- scripts/worker_identity.py 13 KB runs code
- scripts/worker_model.py 2.6 KB runs code
- scripts/worker-claude-folder.sh 2.2 KB runs code
- scripts/worker-mcp-credential.sh 1.2 KB runs code
- scripts/worker-watcher-supervisor.sh 7.3 KB runs code
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.
- 2d ago Changed · +2 lines 2a6c00451c2e
- 8d ago Changed · +4 lines 243f1ea8422a
- 10d ago Changed · +14 lines 84ce865d147f
- 11d ago Changed · +47 lines b41e155b6289
- 15d ago Changed · +47 lines c74de3290e8c
- 16d ago Changed · +71 lines 21797e994b18
- 17d ago Changed · +17 lines d927a7b2ee8f
- 20d ago Changed · +14 lines 5967b39e42d1
- 21d ago Changed · +25 lines 13af8b244c3b
- 23d ago First seen · 337 lines · 17 tokens per session scan A 374c760f69c4
worker-pool is a skill published in the GitHub repository sonichi/sutando (413 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 10,926 once invoked, about $0.0001 per session on Opus 5.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-13.
worker-pool compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| worker-poolsonichi/sutando | Skill | 413 | today | MIT | A | 17 | Claude Code |
| gmailvellum-ai/vellum-assistant | Skill | 1.5k | 2d ago | MIT | A | 20 | Claude Code, Codex |
| app-buildervellum-ai/vellum-assistant | Skill | 1.5k | 2d ago | MIT | A | 162 | Claude Code, Codex |
| assistant-migrationvellum-ai/vellum-assistant | Skill | 1.5k | 2d ago | MIT | A | 90 | Claude Code, Codex |
| guardian-verify-setupvellum-ai/vellum-assistant | Skill | 1.5k | 2d ago | MIT | A | 26 | Claude Code, Codex |
| stripe-link-walletvellum-ai/vellum-assistant | Skill | 1.5k | 2d ago | MIT | A | 52 | Claude Code, Codex |
| vellum-memory-v3-migrationvellum-ai/vellum-assistant | Skill | 1.5k | 2d ago | MIT | A | 63 | Claude Code, Codex |