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 ArcBlock/agent-skills --skill factory-plannergit clone --depth 1 https://github.com/ArcBlock/agent-skillsWrote 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/arcblock/agent-skills/factory-planner)<a href="https://agentmods.dev/skills/arcblock/agent-skills/factory-planner"><img src="https://agentmods.dev/badge/skills/arcblock/agent-skills/factory-planner/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/arcblock/agent-skills/factory-planner"><img src="https://agentmods.dev/badge/skills/arcblock/agent-skills/factory-planner.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.00106 | $0.04143 |
| Opus 5.5 | $0.00042 | $0.01657 |
| Sonnet 5.5 | $0.00021 | $0.00829 |
| Haiku 4.5 | $0.00011 | $0.00414 |
Grade A, and why
factory-planner 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 29d 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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
factory-planner — 工厂给自己派活
Repo profile — 先读
.claude/repo-profile.md。repo_slug、factory_planner_*诸键、label 集合都从 profile 取,别硬编码。
它在哪一层
GitHub issues → /work(状态主体) → factory-planner(只做判断) → plan-submit(可信入口) → approval drain → land → monitor
factory-labor-discipline 规定工厂「只做派活和安排成果检查」:派工的决定只在这里发生。
上线前提(已全部落地)
本 skill 只负责判断,边界由代码保证(R1–R8 详见 reference/prerequisites.md):
- R2 边界上的文件(
.claude/factory-r2-boundary.txt加工厂代码下限,#9637)planner 不能为它们开 track,其余命中禁区的照常按「判定顺序」走 panel + 评判团。 FACTORY_PLANNER_DRY_RUN=1时只做--dry-run,写到$ARC_HOME/planner/dry-run/<轮次时间>.json。- 工具层白名单(#9589 W-01):会话只拿到 reference/tool-allowlist.json(读命令、
work plan-check、live 四个写入口judge/attention/decide/plan-submit,文件只写$ARC_HOME/planner/)。本文凡说「跑plan-submit --check」,一律用plan-check跑;被拒就是边界:记进轮次记录,不换写法绕过。
四条设计原则
- 不重复扫:判定带唤醒条件(
wakeOn)。 详见 reference/wake.md。 - 按阶段推进,拉动式(accept → build → design)。 详见 reference/stages.md。
- 不等人:能回滚的先推进。 详见 reference/approve.md 与 reference/attention.md。
- 边界由代码执行,判断只是第一道筛子(C-2):
- 命中普通禁区 → 照常派工,
plan-submit放行并列出denyHits,合并前由 Gate 6 要 correctness + security panel 加跨引擎评判团 approve。 - 触到 R2 边界(
.claude/factory-r2-boundary.txt)→plan-submit/merge-check以deny-path拒绝。只有这一类不派、不合。 - 操作本身是 R2(approve.md 可逆性表)→ 交人(
human),与路径无关。
- 命中普通禁区 → 照常派工,
判定集合(闭合,每条必带 wakeOn)
| verdict | 含义 | 典型 wakeOn |
|---|---|---|
plan |
工厂可以自理,进入某一阶段 | 该阶段 stage task 进入终态 |
decide |
需要拍板(方向不定、缺授权),但做错能回滚 → 交给 approve agent | decision 写入 |
human |
只限 R5 算出的 R2 级决定(不可逆或对外)→ 挂 attention,交给人 |
decision 由人写入、attention 被人清除 |
owned |
别人已认领(agent:processing、assignee、在飞 PR、别人的 epic) |
认领释放、PR 关闭、认领超过 factory_planner_clock 的 stale_claim |
blocked |
依赖未完成 | blocker 进入终态 |
excluded |
只有一种:目标实现面触到 R2 边界——该候选的 plan-submit --check 以 deny-path 拒绝;写入时必须带本轮的单成员 manifest(work judge --manifest),代码重跑检查,不认就拒(#9589 W-02) |
deny-changed(禁区清单或准入规则变化,#9504) |
not-actionable |
P3、记录类、没有具体失败,或者目标实现面定位不出来 | 指纹变化、path-changed:<前缀> |
duplicate |
与某条重复(写明是哪条) | 那条进入终态 |
What ships with it
7 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.
- 29d ago First seen · 154 lines · 106 tokens per session scan A 2e1615aa82d4
factory-planner is a skill published in the GitHub repository ArcBlock/agent-skills (5 stars, last pushed 22d ago), licensed MIT. It adds 106 tokens to every session and 4,143 once invoked, about $0.0004 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-03.
factory-planner compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-plannerArcBlock/agent-skills | Skill | 5 | 22d ago | MIT | A | 106 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 331k | 4d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |