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-baseline)<a href="https://agentmods.dev/commands/watt-mind/factory/factory-baseline"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-baseline/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-baseline"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-baseline.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.00030 | $0.00584 |
| Opus 5.5 | $0.00012 | $0.00234 |
| Sonnet 5.5 | $0.00006 | $0.00117 |
| Haiku 4.5 | $0.00003 | $0.00058 |
Grade A, and why
factory-baseline 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 13d 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.
What it actually says
Align a new or lagging repository with Factory's PC-01…PC-23 baseline and SAST controls cleanly in one PR.
Load and execute shared/skills/factory-baseline/SKILL.md (resolved relative to your active harness skill tree, or docs/project-conventions.md + docs/code-security.md), applying the optional local overlay ~/Develop/hdkiller/docs/guides/project-conventions.md if present on disk:
- Survey & grade (
PC-01…PC-23): Checkorigin/<base>(git fetch --quiet), inspect workflows/scripts/GitHub settings, and build the initialPASS / FAIL / N/Atable. Stop after printing the matrix and plan when--dry-runis passed. - Isolate cleanly: File/claim a ticket if missing and work in an isolated worktree (
bin/worktree-up.shorgit worktree add; nevergit stash). - Scaffold missing baseline: Align in-repo CI (
ci.yml), SAST/security (security.yml,ruff.toml,eslint-plugin-security),dependabot.yml, Git hooks (lefthook.ymlor Husky +lint-staged+commitlint),AGENTS.md+ thinCLAUDE.md/GEMINI.md,docs/product-decisions.md, worktree isolation (W-1…W-13), and (where applicable)bin/dev-login.sh, smoke/E2E isolation (H-1…H-8), and GHCR hygiene (R-1…R-6). - Apply safe GitHub settings (
PC-08,PC-09,PC-11): Unless--no-github-settingsis passed, enable vulnerability alerts, automated security fixes, and read-only workflow token permissions viagh api, and check/configure branch protection. - Verify & open PR: Run lint, typecheck, format check, unit tests, and
factory security; open one baseline PR against<base>(gh pr create --base <base>); report the Before → AfterPC-01…PC-23matrix and file any remaining external blockers (PC-18secrets, plan limits) toTriage.
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.
- 13d ago First seen · 16 lines · 30 tokens per session scan A 0484081749ec
factory-baseline is a command published in the GitHub repository watt-mind/factory (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 30 tokens to every session and 584 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-18.
factory-baseline compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-baselinewatt-mind/factory | Command | 24 | yesterday | Apache-2.0 | A | 30 | Claude Code |
| flow-nexus-workflowruvnet/ruflo | Command | 83k | today | MIT | A | 13 | Claude Code |
| release-swarmruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| release-managerruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| workflow-automationruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| initruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| repo-analyzeruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |