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-garden)<a href="https://agentmods.dev/commands/watt-mind/factory/factory-garden"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-garden/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-garden"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-garden.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.00026 | $0.02363 |
| Opus 5.5 | $0.00010 | $0.00945 |
| Sonnet 5.5 | $0.00005 | $0.00473 |
| Haiku 4.5 | $0.00003 | $0.00236 |
Grade A, and why
factory-garden 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 — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tend a repository like a garden: find anti-patterns that are actively spreading, remove bad exemplars at the source, and replace decaying prose warnings with deterministic checks whose error messages teach the root-cause fix.
Coding agents replicate whatever patterns already live in the tree. One unjustified eslint-disable, as any, setTimeout(..., 0) race bandaid, HACK workaround alibi, or bypassed adapter quickly becomes ten across subsequent PRs, while prose warnings in AGENTS.md go unread under context pressure.
The operator is AFK by default. Execute bounded gardening work to completion without pausing for mid-run confirmation prompts. Default target is the current repository (resolved from config/repos.yaml). Interpret $ARGUMENTS as an optional repo path or name, an area/glob filter, --since 14d (default window: 14d or the last 30 merged PRs), --report-only, --tickets-only, or an explicit direct-PR cap (default: at most 2 PRs per run).
1. Establish fresh baseline (read-only on main checkout)
Enforce the floor's Checkout freshness rule before reading a single file as evidence:
git fetch --quiet
git rev-list --count HEAD..origin/<base>
git rev-list --count origin/<base>..HEAD
git status --porcelain
- Resolve
<base>fromconfig/repos.yaml(never@{upstream}or GitHub's default branch). - Fail closed if
git fetchorgit rev-listexits non-zero: report freshness as unknown and readorigin/<base>directly rather than trusting the working tree. - Fast-forward (
git pull --ff-only) only when the checkout is behind, not ahead, and clean. If dirty or ahead, leave the checkout untouched and inspectorigin/<base>directly (git log origin/<base>,git grep <pattern> origin/<base>,git show origin/<base>:<path>). - Record
origin/<base>@<sha>— every finding in your report and filed tickets must cite that ref. Never edit files inside the main checkout.
2. Survey for weeds (evidence over aesthetics)
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 First seen · 105 lines · 26 tokens per session scan A 762f806d546b
factory-garden is a command published in the GitHub repository watt-mind/factory (24 stars, last pushed today), licensed Apache-2.0. It adds 26 tokens to every session and 2,363 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-11-16.
factory-garden compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-gardenwatt-mind/factory | Command | 24 | today | Apache-2.0 | A | 26 | Claude Code |
| code-review-swarmruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| pr-managerruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| self-healingruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| code-reviewruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| afrjayvee/aigon | Command | 27 | 1mo ago | Apache-2.0 | A | 21 | Claude Code |
| quality-reviewshawnclybor/clybor-claude-tooling | Command | 6 | 9d ago | MIT | A | 29 | Claude Code |