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-portfoliogit 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-portfolio)<a href="https://agentmods.dev/skills/arcblock/agent-skills/factory-portfolio"><img src="https://agentmods.dev/badge/skills/arcblock/agent-skills/factory-portfolio/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-portfolio"><img src="https://agentmods.dev/badge/skills/arcblock/agent-skills/factory-portfolio.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.00092 | $0.04315 |
| Opus 5.5 | $0.00037 | $0.01726 |
| Sonnet 5.5 | $0.00018 | $0.00863 |
| Haiku 4.5 | $0.00009 | $0.00432 |
Grade A, and why
factory-portfolio 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 — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
factory-portfolio — 把模糊的 idea 排成可实现的 epic 计划
Repo profile — 先读
.claude/repo-profile.md。factory_portfolio_*与factory_planner_*诸键、label 集合都从 profile 取,别硬编码。来源:#9154(设计),#9157(任务类型通用化)。
它在哪一层
GitHub issues / planning/ / intent/ 同步进来的输入
/work(work object) 状态的主体
factory-portfolio 全局:聚簇、排序、砍、定版本、定验收,产出 epic 计划 ← 本 skill(每日一轮)
factory-planner 单条 track:判定 + design → build → accept,提交 manifest(每小时一轮)
plan-submit / drain / land / merge-check 代码执行的边界与派工
planner 回答「这条 track 下一步做什么」;portfolio 回答「整个工厂接下来该做哪几件事、按什么顺序、 归哪个版本、哪些不做」。两者分开,是因为每小时的 scrum 判断和全局战略混在一起,上下文和成本都会膨胀。 portfolio 不碰 track 的阶段推进,planner 不做跨主题排序。
上线前提
本 skill 只做判断。下面几项要由代码保证,落地前只跑 dry-run(只写本地文件,见 Step 7)。 逐条验收见 reference/prerequisites.md。
| # | 机制 | 防的是什么 |
|---|---|---|
| P1 | epic 计划成为 work object(#9161,入口 <cli_binary> work portfolio-submit):可信入口用 key 派生 DID 原子写入,字段带任务类型、爆破范围、代价、版本归属、验收 |
计划写在本地文件里,planner 读不到;同一主题重复建计划 |
| P2 | plan-submit 的 manifest 成员可带 portfolio(计划 DID),R1 校验计划存在、未被 drop/hold,成员在计划里(#9161) |
planner 派出计划之外的活,或派出已被砍掉的计划的成员 |
| P3 | arc work judge 支持 human-replied、path-changed:<prefix> 两个唤醒谓词(#9162) |
「等人回复」「等某处重构完」只能用 after 兜底,判定盲目重读 |
| P4 | factory-planner 消费计划:ready(stage) 先按计划名次排,计划里 human 的成员不进 build(planner 的 skill 改动,P1/P2 之后另开流程立法 PR) |
计划写出来了,planner 照旧按自己的 (priority, age) 排,等于没写 |
任务类型只是 work object 上的字段:工厂不按类型给 agent 分工,任何 agent 都能接任何类型的 work,
派工只按资源分配(名额、CPU、内存、磁盘、GPU、装了哪些工具和环境)。非代码类型的 sink、rubric 审查和
publish gate 属于 #9157,不是本 skill 的前提:portfolio 照样给它们排序,写明这类 work 要声明哪些资源、
用什么 rubric 和验收,以及现在有没有哪台机器能提供这些资源;没有的,判 defer,wakeOn 指向 #9157 对应的 work。
输入与输出
输入(每轮只读,不写回):
/work上creativeWorkStatus=idea且非 bug 类的源 work,连同它们的judgments.planner; 每条对应的 GitHub issue 全文(正文 + 评论)。- open 的 planning、research、idea、feature、design 类 issue(还没同步进来的也算)。
factory_portfolio_direction_sources列出的产品意图与所有者工程观、<factory_planner_design_root>/、 近期合并记录(判断现在的重心)。- 工厂吞吐量:
<cli_binary> work status --json的works[](Step 1,算每轮上限)。 - 工厂容量:
<cli_binary> work capacity --json的wip.build(Step 1,每轮上限的第二道,#9240)。 - 联网调研:竞品、生态,结论附引用。
What ships with it
4 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 · 192 lines · 92 tokens per session scan A 8ea3447b3b26
factory-portfolio is a skill published in the GitHub repository ArcBlock/agent-skills (5 stars, last pushed 22d ago), licensed MIT. It adds 92 tokens to every session and 4,315 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-portfolio compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-portfolioArcBlock/agent-skills | Skill | 5 | 22d ago | MIT | A | 92 | 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 |