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 rexleimo/aios --skill aios-workflow-routergit clone --depth 1 https://github.com/rexleimo/aiosWrote 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/rexleimo/aios/aios-workflow-router)<a href="https://agentmods.dev/skills/rexleimo/aios/aios-workflow-router"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/aios-workflow-router/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/rexleimo/aios/aios-workflow-router"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/aios-workflow-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00104 | $0.01628 |
| Opus 5.5 | $0.00042 | $0.00651 |
| Sonnet 5.5 | $0.00021 | $0.00326 |
| Haiku 4.5 | $0.00010 | $0.00163 |
Grade A, and why
aios-workflow-router 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 2mo 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AIOS Workflow Router
这个 Skill 只协调宿主路由和 rex 返回的当前命令,不拥有软件工程步骤顺序。路由由显式声明与 workflow-policy 的结构化 Decision 驱动,不根据任务文本关键词自行判断。
所有权
- AIOS:
direct | guarded | planned、最终 Provider Binding、计划和 Activation 持久化、Skill/Agent/模型执行、安全、验证、Team、Harness、恢复和重试。 - rex-harness:Observation -> Fact、Capability 选择、Capability Recipe、Evidence Contract、下一条语义 Command、软件 Workflow Recipe,以及独立可用的 rex-native Provider;AIOS 不再绑定外部兼容 Provider。
- Skill / Playbook / Agent:执行已经选中的一个阶段,不根据关键词自行激活,也不决定后续阶段。
显式声明协议
disposition 由显式声明驱动,模型不猜"用户是否想只读/是否要计划/是否多步":
- 用户带 workflow 命令前缀(
/plan/single/implement/review/debug/spec/grill/tickets/team/harness)时,把声明的 intent 透传给 workflow-policy;/single= direct、不建计划。 - 用户说
继续/接着做/下一步/resume/continue(带非空 tail)→ 新目标;裸确认(好/可以/确认/ok)→ 继续同会话活动计划。 - 只读场景由调用方显式声明
explicit-intent: read-only,不靠"解释/说明"等词判断。 - 模型自身需要时也可显式声明 intent(如
/implement覆盖 capability 默认计划),但不得用关键词表假装识别。
路由流程
- 先读取 AIOS workflow-policy 的结构化 Decision。
- 项目已安装 codemap(存在
.code-review-graph/或 CRG MCP 工具可用)时,在执行任何 Provider 之前先调用 CRG 决策检查点(详见 AGENTS.md codemap 段落):- 动手前:
get_minimal_context(task="<当前任务>")获取项目上下文和建议下一步; - 改文件前:
get_impact_radius(detail_level="minimal")检查爆炸半径,query_graph(pattern="tests_for", target="<目标>")确认测试存在; - 查找代码/关系:
semantic_search_nodes/query_graph(callers_of/callees_of/imports_of)优先于 grep/读文件; - 阶段结束后:
detect_changes(detail_level="minimal")验证实际影响与预期一致。 加速入口:CRG 预置工作流可直接list_prompts查看、get_prompt(name="...")加载(如 review_changes、debug_issue、pre_merge_check),不必自行编排。 CRG 不可用时记录该事实,降级为rg搜索 + 读文件,不阻塞流程、不伪造图证据。
- 动手前:
direct:只读回答,不创建计划,不启动 Capability 链。guarded:执行当前capabilityDecision.provider;如果当前阶段会改文件,先执行pre-edit-safety-gate。planned:创建或复用一个 AIOS 工作项,然后仍然只执行当前 Provider。- Provider 完成后,把 Command 要求的 Evidence Kind 和 Artifact Ref 写回 Activation Ledger。
- 由 rex 推进 Activation:
blocked:补齐明确列出的缺失 Evidence;next:执行新 Command 的一个 Provider;completed:关闭当前 Capability,并让 AIOS 自动评估下一个 Capability;- Promotion Request:由 AIOS 决定是否接受 Team 或 Harness 升级。
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.
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.
- 2mo ago Changed · +4 lines f183937079be
- 2mo ago Changed 5e81912d7a57
- 2mo ago Changed 141e4ee00620
- 2mo ago Changed 2ffd9c694485
- 2mo ago Changed · +9 lines · +51 tokens per session e29483b3bc16
- 3mo ago First seen · 70 lines · 53 tokens per session scan A 3d993c07344b
aios-workflow-router is a skill published in the GitHub repository rexleimo/aios (62 stars, last pushed 6d ago), licensed MIT. It adds 104 tokens to every session and 1,628 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-08-30.
aios-workflow-router compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aios-workflow-routerrexleimo/aios | Skill | 62 | 6d ago | MIT | A | 104 | Claude Code, Codex |
| opencli-usagejackwener/OpenCLI | Skill | 32k | 23d ago | Apache-2.0 | A | 31 | Claude Code |
| traffic-analyticsAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 29 | Claude Code, Codex |
| seo-auditAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 32 | Claude Code, Codex |
| pr-autofixAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 45 | Claude Code, Codex |
| lead-researchAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 26 | Claude Code, Codex |
| landing-cro-reviewAtomicBot-ai/atomic-agent | Skill | 3.6k | yesterday | MIT | A | 28 | Claude Code, Codex |