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.
git 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/commands/watt-mind/factory/factory-work)<a href="https://agentmods.dev/commands/watt-mind/factory/factory-work"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-work/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/commands/watt-mind/factory/factory-work"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-work.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.00016 | $0.03786 |
| Opus 5.5 | $0.00006 | $0.01514 |
| Sonnet 5.5 | $0.00003 | $0.00757 |
| Haiku 4.5 | $0.00002 | $0.00379 |
Grade A, and why
factory-work 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 14d 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 — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Work the agent-dispatchable Linear queue for this repository to completion — claimed, implemented, verified, reviewed, and landed — following $FACTORY_ROOT/docs/protocol.md (§7 execution, §14 loops).
Interpret $ARGUMENTS as specific issue IDs, a total ticket cap, and/or an in-flight concurrency cap. Defaults: up to 6 tickets, 3 in flight. no-merge stops after PRs are opened.
1. Check capacity and build the queue
Run bun orchestrator/pulse.mjs (or factory pulse) before building or widening dispatch. Read CAPACITY & FLOW (runnerCap, activeRuns, queuedRuns, openReadyPrs, openMergeablePrs, openEscalatedPrs, diskFreeGb, worktreeCount, mergedLastHour, verdict):
DRAIN_MERGES_FIRST: stop dispatching new work and run/factory-mergefirst to drain open mergeable PRs (heldescalatedPRs do not trigger this).DRAIN_OR_CLEANUP: whendiskFreeGb < 5, prune merged/stale worktrees (bin/worktree-down.sh/git worktree prune) before creating new worktrees.HOLD_OR_BUNDLE: do not widen single-PR concurrency while CI runners are saturated or queued (queuedRuns > 0oractiveRuns >= runnerCap); keep target implementation lanes full (for example, 10 implementation lanes — counted separately from reviewer, merge, and triage/spec subagents which run on top) by coalescing work into 3–6 ticket bundles or staging local branches for bulk merge rather than shrinking active implementation lanes. OnlyOwned Pathsoverlap, disk/port/DB exhaustion, or tracker quota may reduce implementation concurrency (and must be surfaced via the Feasibility valve).WIDEN: runner headroom and low open-PR backlog support widening up to target slots.
Never widen based on backlog depth alone; widen only on observed mergedLastHour flow and runner headroom.
Resolve the repo/team from this checkout (§1 mapping). Query the ready queue via factory ticket queue (state:Todo, ai:agent-ready, unassigned, sorted priority asc then createdAt asc; use factory ticket get <ID> to read each candidate's full description, falling back to factory ticket raw only where documented in the floor). Confirm every candidate has all five §5 sections — a ticket missing one goes back to Triage with a comment, not into the queue.
Triage feeder: When readyQueue < 2 * concurrencyCap and Triage is non-empty, fan out parallel read-only spec-validation subagents (10–15 Triage issues per batch) to populate ticket-spec sections and keep the ready queue fed.
Log the queue (ticket, title, owned paths) and start immediately without waiting for approval — assume the operator is AFK.
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.
- 14d ago Changed · +5 lines 73d9ab8ee4d3
- 16d ago Changed · +39 lines bdb5d5604c95
- 17d ago Changed · +1 lines af1d380897cf
- 3mo ago Changed a10ab4b0497d
- 3mo ago First seen · 71 lines · 16 tokens per session scan A 665d7b9c2c9a
factory-work is a command published in the GitHub repository watt-mind/factory (25 stars, last pushed 3d ago), licensed Apache-2.0. It adds 16 tokens to every session and 3,786 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-08-31.
factory-work compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-workwatt-mind/factory | Command | 25 | 3d ago | Apache-2.0 | A | 16 | Claude Code |
| swarm-initruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| release-swarmruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| release-managerruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| repo-architectruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| sync-coordinatorruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| issue-trackerruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |