factory-teach

factory-teach is a skill for Claude Code from watt-mind/factory. It costs 57 tokens per session (653 once invoked), scanned A, original, Apache-2.0.

A teaching workflow for explaining a complex subsystem, design pattern, or software architecture in small layers. It starts with a plain definition, then adds details and diagrams only as needed.

In plain words
What is it for?
Use it to explain how code works, why its parts fit together, and how a multi-step flow moves through a system.
Why use it?
It helps readers build a usable mental model instead of receiving a large reference dump filled with unexplained terms. It also requires explanations to be checked against the actual code when discussing a repository.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the core plugin — 38 skills, 22 commands, 5 agents, 1 hook shipped together

Good fit Use it to explain how code works, why its parts fit together, and how a multi-step flow moves through a system.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/watt-mind/factory/factory-teach
Install

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.

Any agent
npx skills add watt-mind/factory --skill factory-teach
Clone the repo
git clone --depth 1 https://github.com/watt-mind/factory

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 38 skills, 22 commands, 5 agents, 1 hook.

Wrote 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.

agentmods badge for factory-teach

README.md
[![agentmods](https://agentmods.dev/badge/skills/watt-mind/factory/factory-teach/github.svg)](https://agentmods.dev/skills/watt-mind/factory/factory-teach)
Your own site
<a href="https://agentmods.dev/skills/watt-mind/factory/factory-teach"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/factory-teach/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.

agentmods 80×15 button for factory-teach

Your own site · 80×15
<a href="https://agentmods.dev/skills/watt-mind/factory/factory-teach"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/factory-teach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 653 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00653
Opus 5.5 $0.00023 $0.00261
Sonnet 5.5 $0.00011 $0.00131
Haiku 4.5 $0.00006 $0.00065

Measured 11d ago against content hash a8b6aa0349e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

factory-teach 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.

plugins/core/skills/factory-teach/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Teach

Build durable mental models through conversational layering rather than dumping a multi-screen reference manual at once. Stacks cleanly on ../factory-how/SKILL.md (current behavior), ../factory-why/SKILL.md (design rationale), and ../factory-unslop/SKILL.md (crisp prose).

Workflow

1. Ground explanations in real code

When teaching something inside the active repository, check the actual implementation first (using ../factory-how/SKILL.md and ../factory-why/SKILL.md). Never guess function names, flags, thresholds, or control flow. If explaining a general CS or systems concept, verify any numbers or trade-offs you state.

2. Open with a plain 1-2 sentence definition

Start directly with what it is and why it exists, anchored in something concrete the user already works with. Skip preamble, cheerleading, or table-of-contents summaries.

3. Layer progressively (max 1-2 concepts per turn)

  • Turn 1 (Core model): Explain only the minimal moving parts needed to see why the design works. Give one concrete example (a real call path in the repo or a simple analogy).
  • Branches, not dumps: At the end of a layer, offer 2-3 specific next layers (for example: error/retry recovery, concurrency hazards, or how the boundary parser enforces the invariant) and let the user pick where to zoom in.
  • Calibrate to signals: If the user asks about fundamentals, zoom out to intuition; if they jump to edge cases, skip basics and go straight to failure modes and trade-offs.

4. Use incremental Mermaid diagrams for 3+ interacting parts

When a concept involves 3 or more cooperating components, states, or message hops:

  • Include a valid Mermaid diagram (flowchart TD, flowchart LR, sequenceDiagram, or stateDiagram-v2).
  • Quote any node label that contains parentheses, brackets, or colons (for example, claim["claim() lock"]). Never use HTML tags inside labels.
  • Grow diagrams across turns: Start Turn 1 with the 2-4 node happy-path core loop; add timeout/retry/fallback branches in the follow-up diagram when teaching that layer so the user's mental map grows step by step.

Read the full file on GitHub · 40 lines

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.

  1. 11d ago Changed · -4 tokens per session a8b6aa0349e1
  2. 13d ago First seen · 40 lines · 61 tokens per session scan A c6bf6a9ff1b6

Subscribe to this mod's changes

factory-teach is a skill published in the GitHub repository watt-mind/factory (24 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 653 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.

Related

factory-teach compared with skills from other repositories

factory-teach next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-teachwatt-mind/factorySkill24todayApache-2.0A57Claude Code
agent-challengesruvnet/rufloSkill83ktodayMITA15Claude Code
quiz-generationGetBindu/BinduSkill9.9k4d agononeA2Claude Code, Codex
atelierduanecilliers/atelierSkill63mo agononeA87Claude Code
animation-vocabularyjxoesneon/CielSkill11mo agoApache-2.0A98Claude Code, Codex
agent-topology-optimizerruvnet/rufloSkill83ktodayMITA21Claude Code
ramppaperclipai/paperclipSkill118kyesterdayMITA35Claude Code, Codex