worker-pool

worker-pool is a skill for Claude Code from sonichi/sutando. It costs 17 tokens per session (10,926 once invoked), scanned A, original, MIT.

An unfinished worker-pool skill containing three stage-one modules and their test suites, but no written documentation or production caller yet.

In plain words
What is it for?
It is currently for the modules' own test suites, while their eventual production role is left for later work.
Why use it?
There is not enough information to describe a user-facing capability reliably; the referenced design document is also not currently available.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 skills/worker-pool/scripts/pool_identity.py add <worker> --repo . --logs-dir "$(bash scripts/sutando-config.sh workspace)/logs".

Good fit It is currently for the modules' own test suites, while their eventual production role is left for later work.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/sonichi/sutando
agentmods
npx agentmods add skills/sonichi/sutando/worker-pool

Made for: Claude Code.

Wrote 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.

agentmods badge for worker-pool

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonichi/sutando/worker-pool/github.svg)](https://agentmods.dev/skills/sonichi/sutando/worker-pool)
Your own site
<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.

agentmods 80×15 button for worker-pool

Your own site · 80×15
<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>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,926 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2d ago against content hash 2a6c00451c2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 43 executable files (scripts/apply_profile_label_overrides.py, scripts/codex_worker_mcp.py, scripts/create_worker.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/worker-pool/SKILL.md · 578 lines

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 runs pool_identity.py add --device-flow in 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_worker is the locked read-merge-write. set_worker_state / remove_worker are its writers for a worker's lifecycle; set_worker_plugin_dirs writes a row's plugin_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 sent continue once 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 runs pass each tick; the account card runs follow after 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's hand_off_to_core.
  • pool_ask.py — ask another instance a question through the front door (below).
  • pool_handoff.py — pool_ask over s.space to a worker with its own agent, behind a flag (below).
  • pool_pr_route.py — pr-watch's PR_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.

Read the full file on GitHub · 578 lines

Files

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.

Changes

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.

  1. 2d ago Changed · +2 lines 2a6c00451c2e
  2. 8d ago Changed · +4 lines 243f1ea8422a
  3. 10d ago Changed · +14 lines 84ce865d147f
  4. 11d ago Changed · +47 lines b41e155b6289
  5. 15d ago Changed · +47 lines c74de3290e8c
  6. 16d ago Changed · +71 lines 21797e994b18
  7. 17d ago Changed · +17 lines d927a7b2ee8f
  8. 20d ago Changed · +14 lines 5967b39e42d1
  9. 21d ago Changed · +25 lines 13af8b244c3b
  10. 23d ago First seen · 337 lines · 17 tokens per session scan A 374c760f69c4

Subscribe to this mod's changes

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.

Related

worker-pool compared with skills from other repositories

worker-pool next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
worker-poolsonichi/sutandoSkill413todayMITA17Claude Code
gmailvellum-ai/vellum-assistantSkill1.5k2d agoMITA20Claude Code, Codex
app-buildervellum-ai/vellum-assistantSkill1.5k2d agoMITA162Claude Code, Codex
assistant-migrationvellum-ai/vellum-assistantSkill1.5k2d agoMITA90Claude Code, Codex
guardian-verify-setupvellum-ai/vellum-assistantSkill1.5k2d agoMITA26Claude Code, Codex
stripe-link-walletvellum-ai/vellum-assistantSkill1.5k2d agoMITA52Claude Code, Codex
vellum-memory-v3-migrationvellum-ai/vellum-assistantSkill1.5k2d agoMITA63Claude Code, Codex