task-mode-router

task-mode-router is a skill for Codex from ooooooooooooooooooop/agent-tools. It costs 88 tokens per session (905 once invoked), scanned A, original, MIT.

A task-routing guide that chooses how deeply to handle a request based on its size and risk. It covers code, configuration, documentation, workflows, installations, and other changes.

In plain words
What is it for?
Use it to classify work as a small task, read-only audit, medium task, large task, or high-risk task before deciding how to proceed.
Why use it?
It helps avoid using an unnecessarily large process for a small task and highlights extra checks for risky actions such as installing tools or deleting files.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents.

Good fit Use it to classify work as a small task, read-only audit, medium task, large task, or high-risk task before deciding how to proceed.

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

Made for: 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 task-mode-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/ooooooooooooooooooop/agent-tools/task-mode-router/github.svg)](https://agentmods.dev/skills/ooooooooooooooooooop/agent-tools/task-mode-router)
Your own site
<a href="https://agentmods.dev/skills/ooooooooooooooooooop/agent-tools/task-mode-router"><img src="https://agentmods.dev/badge/skills/ooooooooooooooooooop/agent-tools/task-mode-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 task-mode-router

Your own site · 80×15
<a href="https://agentmods.dev/skills/ooooooooooooooooooop/agent-tools/task-mode-router"><img src="https://agentmods.dev/badge/skills/ooooooooooooooooooop/agent-tools/task-mode-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 905 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.00088 $0.00905
Opus 5.5 $0.00035 $0.00362
Sonnet 5.5 $0.00018 $0.00181
Haiku 4.5 $0.00009 $0.00090

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

Security

Grade A, and why

task-mode-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 1mo 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/task-mode-router/SKILL.md · 82 lines

What it actually says

任务模式路由

目标

选择能够控制实际风险的最轻执行模式。只负责分类和路由,不代替后续 Skill 执行,也不因为分类而自动写入文件。

分类

小型任务

单文件或单点修改、目标明确、风险低、容易验证和回滚。

处理:直接做最小修改,不引入新抽象、依赖或长流程。

只读审计

用户要求检查、比较、解释、审查或报告状态,未授权文件、仓库、外部系统或配置写入。

处理:只收集证据;不生成额外报告文件,不同步、不清理、不修改策略或配置。

中型任务

涉及多个文件或需要适度判断,可能影响行为,且需要验证。

处理:给出短计划,说明影响面和风险,完成修改并报告验证与回滚方式。

大型任务

多文件功能、架构重构、规则系统变更、长期工作流或需要验收标准的任务。

处理:先明确目标、非目标、约束、影响和验收标准;判定为大型后,主会话立即触发硬熔断(禁止连续本地探查/改写),下一动作必须输出结构化 Brief 并拉起独立 Worker(Subagent)执行。

高风险任务

安装 Skill、MCP、CLI、插件或 hooks;修改用户级/全局配置;删除、移动或改变权限;运行不可信代码;使用浏览器登录状态或敏感页面。

处理:先审计来源、命令、写入路径、权限、上传风险和回滚方式;没有明确授权时停止。

路由顺序

按以下优先级判断:

  1. 只读请求保持只读,不因“顺便修复”而扩大范围。
  2. 高风险写入优先于任务规模判断。
  3. 再区分小型、中型和大型执行深度。
  4. 大型任务只有在确实需要可恢复锚点、检查点和交接记录时才使用 unified-taskflow。

低风险可逆动作偏好(LOW-RISK REVERSIBLE ACTION BIAS)

同时满足:目标明确、下一步可逆、验证容易 —— 优先 DO,而不是 ASK / PLAN MORE / AUDIT MORE。是否需要询问以 clarify-before-change 意图解析策略为准(可逆假设记录即推进);是否停止以 execution-discipline 合法停止策略为准。高风险与安全边界判断继续优先于本偏好。

Skill 组合

  • 本 Skill 只做模式分类。
  • 有实质歧义时交给 clarify-before-change。
  • 确定要修改时交给 minimal-implementation 控制变更预算。
  • 只有大型、跨阶段且需要恢复记录时才交给 unified-taskflow。
  • 依赖关系只表示建议组合,不代表自动安装或自动执行。

输出契约

输出以下字段:

模式:small | audit | medium | large | high-risk
依据:触发该模式的事实
允许动作:当前模式可以做什么
禁止动作:当前模式明确不能做什么
下一步:需要调用的 Skill 或最小执行路径

如果证据不足,只指出缺失信息;不要用猜测替代风险分类。

验证

分类完成后检查:模式是否与用户授权一致、是否遗漏高风险写入、是否误把只读审计变成了修改任务。相关示例见 multi-file-change.md。

Files

What ships with it

2 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.

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. 1mo ago First seen · 82 lines · 88 tokens per session scan A a1bef822dc0c

Subscribe to this mod's changes

task-mode-router is a skill published in the GitHub repository ooooooooooooooooooop/agent-tools (3 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 905 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-31.

Related

Other skills, from other repositories