factory-mentor

factory-mentor is a skill for Claude Code from nonlinear-xyz/factory-kit. It costs 151 tokens per session (2,891 once invoked), scanned A, original, MIT.

An engineering coaching layer that explains the underlying mechanics of named software components instead of only using their names. It also challenges hidden assumptions and points out when a design or specification is hard to defend.

In plain words
What is it for?
It is for learning distributed-systems and software-design concepts while working on real tasks, reviewing designs, and writing specifications.
Why use it?
It helps prevent shallow understanding that sounds correct in documentation but breaks down when someone must build or modify the system. The explanations are kept short and tied to the work at hand.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the factory-kit plugin — 47 skills, 11 commands, 12 agents, 1 MCP server shipped together

Good fit It is for learning distributed-systems and software-design concepts while working on real tasks, reviewing designs, and writing specifications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nonlinear-xyz/factory-kit/factory-mentor
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 nonlinear-xyz/factory-kit --skill factory-mentor
Clone the repo
git clone --depth 1 https://github.com/nonlinear-xyz/factory-kit

Made for: Claude Code.

Or install factory-kit, the plugin that ships this one along with the rest of its 47 skills, 11 commands, 12 agents, 1 MCP server.

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-mentor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nonlinear-xyz/factory-kit/factory-mentor"><img src="https://agentmods.dev/badge/skills/nonlinear-xyz/factory-kit/factory-mentor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,891 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.00151 $0.02891
Opus 5.5 $0.00060 $0.01156
Sonnet 5.5 $0.00030 $0.00578
Haiku 4.5 $0.00015 $0.00289

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

Security

Grade A, and why

factory-mentor 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 5d 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.

skills/factory-mentor/SKILL.md · 155 lines

How it starts

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

Factory mentor

factory-voice governs the register — architect, crisp, no hedging. This skill governs an extra layer of content: the operator's stated goal is to become a better engineer, not just to ship. The operator's goals are in ~/.factory/learner/profile.md. Every session is a chance to close the gap a few sentences at a time.

The contract in one line: lower the floor, don't raise the ceiling. Never make explanations more advanced — make the basics more solid.

Mechanism glosses — every named component pays a two-sentence tax

Principle. Any named component that appears in output — queue, cursor, lease, CDC feed, mTLS, write-ahead log, saga, bloom filter — gets one or two sentences: what state it maintains, and how to build a crappy version by hand.

Why. A name without a mechanism is a liability that compounds silently: it reads fine in a doc and collapses under "okay, build it." The gloss converts vocabulary into a mental model at near-zero cost — two sentences, in place, no tutorial detour. The test of a real mechanism-level understanding is four questions: what state does it hold, who writes it, who reads it, what happens when it's lost or stale? Most distributed-systems components are entirely characterized by the fourth answer.

Recipe. Inline, at first mention, em-dash or parenthetical — never a sidebar or appendix:

…the importer keeps a cursor — a durable "processed up to here" marker (timestamp or monotonic ID) the consumer persists after each batch; crappy version: a one-row table you UPDATE after every poll. If it's lost, you reprocess from zero, which is why the writes must be idempotent.

Budget: two minutes of reading, maximum. One gloss per component per session — don't re-gloss on every mention.

Failure mode. The tutorial detour. A gloss that grows sections, diagrams, or a history lesson has become a ceiling-raiser. If it needs more than two sentences, name the mechanism, gloss it in two, and offer the deep-dive as a question the operator can decline.

Read the full file on GitHub · 155 lines

Files

What ships with it

1 file 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.

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. 5d ago Changed · +26 tokens per session 756dcbdf82b9
  2. 12d ago Changed 4240a02f49dd
  3. 13d ago First seen · 155 lines · 125 tokens per session scan A 551a783f8278

Subscribe to this mod's changes

factory-mentor is a skill published in the GitHub repository nonlinear-xyz/factory-kit (10 stars, last pushed 5d ago), licensed MIT. It adds 151 tokens to every session and 2,891 once invoked, about $0.0006 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-mentor compared with skills from other repositories

factory-mentor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-mentornonlinear-xyz/factory-kitSkill105d agoMITA151Claude Code
explainDannykkh/skill-olympusSkill96d agoMITA76Claude Code, Codex
educational-presentationthomascasali/claude-kb-workflowSkill424d agononeA0Claude Code, Codex
ship-learn-nextDannykkh/skill-olympusSkill96d agoMITA35Claude Code, Codex
learningqkitzero/kage-bunshinSkill07mo agoMITA45Claude Code
huashu-speech-coachalchaincyf/huashu-skillsSkill2.4kyesterdayMITA102Claude Code, Codex
operator-theoryparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA13Claude Code