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-baselinegit 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-baseline)<a href="https://agentmods.dev/skills/watt-mind/factory/factory-baseline"><img src="https://agentmods.dev/badge/skills/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/skills/watt-mind/factory/factory-baseline"><img src="https://agentmods.dev/badge/skills/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.00080 | $0.01925 |
| Opus 5.5 | $0.00032 | $0.00770 |
| Sonnet 5.5 | $0.00016 | $0.00385 |
| Haiku 4.5 | $0.00008 | $0.00193 |
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 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Align a Repository to the Factory Baseline
Bring a new or lagging repository into conformance with Factory's PC-01…PC-23 baseline and SAST controls in one clean, verified pull request.
1. Read the Baseline References
Read both bundled references in full before touching files:
references/project-conventions.md—PC-01…PC-23,W-1…W-13,H-1…H-8,R-1…R-6, concurrency, branch protection, agent entry files.references/code-security.md— Semgrep, Gitleaks, Actionlint, ESLint security rules, RuffSrules,pip-audit,npm audit --audit-level=high, Lefthook/Husky hooks.
If an org-local conventions overlay exists on this machine (for example via $FACTORY_CONVENTIONS_OVERLAY or your org's infra docs), also read it for org-specific runner labels and tracker team/project mappings.
2. Survey and Grade (PC-01…PC-23)
Inspect the target repository against origin/<base> (git fetch --quiet) and live GitHub state:
- Stack & scripts: Node/Bun/TypeScript (
package.json), Python (pyproject.toml,uv.lock,requirements*.txt), Rust/Go, Docker/GHCR. - Branches & visibility: integration branch (
developor default), deploy branch (main/master), and repo visibility (gh repo view --json isPrivate,nameWithOwner-> private org repos pin target self-hosted labels perPC-03; public repos allow hosted runners when configured). - Grade
PC-01…PC-23: Record PASS / FAIL / N/A (with concrete repo-grounded N/A reasons only) before editing.
If --dry-run was passed, stop after outputting the PC-01…PC-23 grade matrix and remediation plan.
3. Ticket and Worktree Discipline
Follow AGENTS.md / shared/floor.md:
- Before writing files inside an existing tracked repo, find or create a tracking issue (unless working explicitly with
--no-ticket/"no ticket"). - Work inside an isolated worktree (
bin/worktree-up.sh <ISSUE-ID>when present, otherwisegit worktree add). Never usegit stashorgit rebase --autostash.
What ships with it
2 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.
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 Changed 68b4af64d32f
- 12d ago First seen · 82 lines · 80 tokens per session scan A 803065b830fe
factory-baseline is a skill published in the GitHub repository watt-mind/factory (24 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 1,925 once invoked, about $0.0003 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 skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-baselinewatt-mind/factory | Skill | 24 | today | Apache-2.0 | A | 80 | Claude Code |
| agent-workflow-automationruvnet/ruflo | Skill | 83k | today | MIT | A | 21 | Claude Code |
| agent-github-modesruvnet/ruflo | Skill | 83k | today | MIT | A | 21 | Claude Code |
| agent-ops-cicd-githubruvnet/ruflo | Skill | 83k | today | MIT | A | 30 | Claude Code |
| workflow-automationruvnet/ruflo | Skill | 83k | today | MIT | A | 53 | Claude Code |
| authoring-github-workflowsrichfrem/agent-plugins-skills | Skill | 8 | yesterday | MIT | A | 104 | Claude Code |
| cicd_integrationjxoesneon/Ciel | Skill | 1 | 1mo ago | Apache-2.0 | A | 19 | Claude Code, Codex |