aios-workflow-router

aios-workflow-router is a skill for Claude Code, Codex from rexleimo/aios. It costs 104 tokens per session (1,628 once invoked), scanned A, original, MIT.

A workflow router for AIOS, a system that chooses and runs software-development capabilities. It coordinates planning, execution, safety checks, teams, recovery, and verification.

In plain words
What is it for?
Use it to route analysis, design, implementation, debugging, multi-step work, agent teams, and harness tasks through the correct capability.
Why use it?
It turns a broad request such as debugging or implementing a feature into the appropriate controlled workflow and checks the project's code relationships when available.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions Codex; mentions OpenCode.

Good fit Use it to route analysis, design, implementation, debugging, multi-step work, agent teams, and harness tasks through the correct capability.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rexleimo/aios/aios-workflow-router
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 rexleimo/aios --skill aios-workflow-router
Clone the repo
git clone --depth 1 https://github.com/rexleimo/aios

Made for: Claude Code, Codex.

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 aios-workflow-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/rexleimo/aios/aios-workflow-router/github.svg)](https://agentmods.dev/skills/rexleimo/aios/aios-workflow-router)
Your own site
<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.

agentmods 80×15 button for aios-workflow-router

Your own site · 80×15
<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>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,628 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00104 $0.01628
Opus 5.5 $0.00042 $0.00651
Sonnet 5.5 $0.00021 $0.00326
Haiku 4.5 $0.00010 $0.00163

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

Security

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.

skill-sources/aios-workflow-router/SKILL.md · 83 lines

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 默认计划),但不得用关键词表假装识别。

路由流程

  1. 先读取 AIOS workflow-policy 的结构化 Decision。
  2. 项目已安装 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 搜索 + 读文件,不阻塞流程、不伪造图证据。
  3. direct:只读回答,不创建计划,不启动 Capability 链。
  4. guarded:执行当前 capabilityDecision.provider;如果当前阶段会改文件,先执行 pre-edit-safety-gate。
  5. planned:创建或复用一个 AIOS 工作项,然后仍然只执行当前 Provider。
  6. Provider 完成后,把 Command 要求的 Evidence Kind 和 Artifact Ref 写回 Activation Ledger。
  7. 由 rex 推进 Activation:
    • blocked:补齐明确列出的缺失 Evidence;
    • next:执行新 Command 的一个 Provider;
    • completed:关闭当前 Capability,并让 AIOS 自动评估下一个 Capability;
    • Promotion Request:由 AIOS 决定是否接受 Team 或 Harness 升级。

Read the full file on GitHub · 83 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. 2mo ago Changed · +4 lines f183937079be
  2. 2mo ago Changed 5e81912d7a57
  3. 2mo ago Changed 141e4ee00620
  4. 2mo ago Changed 2ffd9c694485
  5. 2mo ago Changed · +9 lines · +51 tokens per session e29483b3bc16
  6. 3mo ago First seen · 70 lines · 53 tokens per session scan A 3d993c07344b

Subscribe to this mod's changes

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.

Related

aios-workflow-router compared with skills from other repositories

aios-workflow-router next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aios-workflow-routerrexleimo/aiosSkill626d agoMITA104Claude Code, Codex
opencli-usagejackwener/OpenCLISkill32k23d agoApache-2.0A31Claude Code
traffic-analyticsAtomicBot-ai/atomic-agentSkill3.6kyesterdayMITA29Claude Code, Codex
seo-auditAtomicBot-ai/atomic-agentSkill3.6kyesterdayMITA32Claude Code, Codex
pr-autofixAtomicBot-ai/atomic-agentSkill3.6kyesterdayMITA45Claude Code, Codex
lead-researchAtomicBot-ai/atomic-agentSkill3.6kyesterdayMITA26Claude Code, Codex
landing-cro-reviewAtomicBot-ai/atomic-agentSkill3.6kyesterdayMITA28Claude Code, Codex