Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add watt-mind/factory --skill factory-swarmgit clone --depth 1 https://github.com/watt-mind/factoryWrote 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/watt-mind/factory/factory-swarm)<a href="https://agentmods.dev/skills/watt-mind/factory/factory-swarm"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/factory-swarm/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/watt-mind/factory/factory-swarm"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/factory-swarm.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.00047 | $0.01419 |
| Opus 5.5 | $0.00019 | $0.00568 |
| Sonnet 5.5 | $0.00009 | $0.00284 |
| Haiku 4.5 | $0.00005 | $0.00142 |
Grade A, and why
factory-swarm 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 11d 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 — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Factory Swarm
Fan out N parallel workers, enforce SHA/method discipline, aggregate terminal results, and return one consolidated report. Adapted from pstack's swarm for Factory's T3Code-native orchestrator, harness-native subagents, and factory swarm CLI runner.
Open a checklist with one entry per phase before launching anything:
- Frame
- Fan out
- Aggregate
- Report
Per-Node Configuration (~/.factory/swarm.yaml)
factory swarm reads ~/.factory/swarm.yaml on the active node (falling back to $FACTORY_ROOT/config/swarm.example.yaml):
defaults.worker: default worker profile (opus->claude-opus-5-5) used for partitioned slices unless overridden.profiles.race: cross-harness race arms (gpt-solviacodex,fableviaclaude,carbonviaagy), withargonandpifallback available.
Inspect the node's resolved worker roster anytime with:
factory swarm config
Backend Selection (T3Code-native vs. Harness Subagents vs. CLI Runner)
- T3Code-native (preferred when inside T3Code): If T3Code Orchestrator MCP tools (
orchestrator_capabilities,delegate_task,task_cancel,t3_thread_wait,t3_thread_read) are available in the session:- Call
orchestrator_capabilitiesonce per thread before your firstdelegate_task. - Fan out all N workers via
delegate_task(mode: "async") — never usecreate_threadsort3_thread_launchfor worker fan-out (those create top-level threads, reserved for explicit user requests). - Follow
delegate_task'snextbehavior: end your turn for reactive wakeup rather than pollingtask_statusor looping ont3_thread_wait. - Each new review or re-check is a fresh
delegate_task, nevert3_thread_sendto a finished child; cancel replaced or extra delegates withtask_cancel(nevert3_thread_interrupt). - Worktree interaction:
delegate_taskonly acceptsisolation: "shared" | "worktree"(noworktreePathparam). For repos withbin/worktree-up.sh, runbin/worktree-up.sh <ISSUE-ID>sequentially in the coordinator and passisolation: "shared"withworktree: <abs-path>spelled out intask, or initialize per-worktree ports/DB inside anisolation: "worktree"checkout.
- Call
- Harness-native subagents (same-harness interactive): When running partitioned slices inside a single harness (
claude,codex,agy,cursor) without cross-vendor race arms, you may use the harness's nativeswarm/invoke_subagent/run_workflowtools with isolated worktrees (workspace:"share"orbin/worktree-up.sh). - CLI runner (
factory swarm run): For cross-harness races or headless/terminal fan-outs acrosscodex,claude,agy, andpi, runfactory swarm run.
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.
- 11d ago First seen · 97 lines · 47 tokens per session scan A 1c81f2d7bfb3
factory-swarm is a skill published in the GitHub repository watt-mind/factory (24 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 1,419 once invoked, about $0.0002 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-11-19.
factory-swarm compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-swarmwatt-mind/factory | Skill | 24 | today | Apache-2.0 | A | 47 | Claude Code |
| agent-user-toolsruvnet/ruflo | Skill | 83k | today | MIT | A | 16 | Claude Code |
| slackpaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 25 | Claude Code, Codex |
| agentmailpaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 30 | Claude Code, Codex |
| V3 CLI Modernizationruvnet/ruflo | Skill | 83k | today | MIT | A | 35 | Claude Code |
| ritualghostwright/phantom | Skill | 1.5k | 5mo ago | Apache-2.0 | A | 18 | Claude Code |
| overheardghostwright/phantom | Skill | 1.5k | 5mo ago | Apache-2.0 | A | 24 | Claude Code |