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-howgit 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-how)<a href="https://agentmods.dev/skills/watt-mind/factory/factory-how"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/factory-how/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-how"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/factory-how.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.00049 | $0.00679 |
| Opus 5.5 | $0.00020 | $0.00272 |
| Sonnet 5.5 | $0.00010 | $0.00136 |
| Haiku 4.5 | $0.00005 | $0.00068 |
Grade A, and why
factory-how 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 — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
How (architecture & flow trace)
Explain how a codebase mechanism actually works end to end using direct code evidence. Pairs naturally with ../principle-minimize-reader-load/SKILL.md (trace from trigger to side effect, skip wrapper noise) and ../factory-why/SKILL.md when rationale is also needed.
This skill is read-only. Never edit product files during a trace.
Workflow
1. Check checkout freshness
Run git fetch --quiet and check HEAD against origin/<base>. If the checkout is clean and current, link workspace files directly (file:///...#L1-L40). If behind, ahead, or dirty, read from origin/<base> (git show origin/<base>:<path>) and cite origin/<base>@<sha>. If fetch/rev-list fails, mark freshness unknown and prefer origin/<base>.
2. Locate before reading
- If
.codegraph/exists at the repo root, callcodegraph_explorefirst to resolve symbols, dynamic dispatch, and callers in one shot. - Otherwise use
rg -n(excluding.git,node_modules,.nuxt,.trigger, build outputs) to find entry points, handlers, state stores, and tests. - Read only bounded line ranges around the entry point, boundary checks, state transitions, and sinks.
3. Fan out multi-module traces cleanly
If a flow spans 3+ subsystems (for example, UI trigger -> API boundary -> background queue -> state store), delegate read-only slices to parallel read-only exploration subagents partitioned by layer or directory, then verify their file:line claims before synthesizing.
4. Trace concrete behavior
Cover what an engineer needs to change the code safely:
- Entry point and trigger: User action, CLI command, webhook, cron, or event listener.
- Control and data flow: Step-by-step path across boundaries (
input -> validation -> state mutation -> side effect/response), naming exact types and functions. - State and concurrency: Locks, leases, retries, idempotency keys, cancellation/cleanup, and failure modes.
- Invariants and verification: Existing tests or formal specs (
.claude/skills/verify-*/SKILL.md) that constrain changes.
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 · -3 tokens per session 4c73cb68c6fb
- 13d ago First seen · 45 lines · 52 tokens per session scan A 97cd43b1110f
factory-how is a skill published in the GitHub repository watt-mind/factory (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 679 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-17.
factory-how compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-howwatt-mind/factory | Skill | 24 | yesterday | Apache-2.0 | A | 49 | Claude Code |
| agent-performance-optimizerruvnet/ruflo | Skill | 83k | today | MIT | A | 19 | Claude Code |
| agent-refinementruvnet/ruflo | Skill | 83k | today | MIT | A | 15 | Claude Code |
| ap-depth-proberSpielewoy/autoprompt-skill | Skill | 1.3k | 1mo ago | MIT | A | 22 | Claude Code |
| ap-preflight-probeSpielewoy/autoprompt-skill | Skill | 1.3k | 1mo ago | MIT | A | 23 | Claude Code |
| reengineering-vibe-coderichfrem/agent-plugins-skills | Skill | 8 | 2d ago | MIT | A | 124 | Claude Code |
| mutation-testingvmobifystudio/app-dev-team | Skill | 5 | 6d ago | MIT | A | 65 | Claude Code |