task-router

task-router is a skill for Claude Code, Codex from a275618631/codex-antigravity-collaboration. It costs 99 tokens per session (540 once invoked), scanned A, a copy of luban, MIT.

A task-routing guide for choosing the smallest set of skills needed for an ambiguous or multi-step request.

In plain words
What is it for?
Use it to classify a task, select the right primary and supporting skills, identify missing information, and define an execution order.
Why use it?
It helps avoid using irrelevant tools and clarifies the path when several approaches are possible.

Skill for Claude CodeCodex

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

Good fit Use it to classify a task, select the right primary and supporting skills, identify missing information, and define an execution order.

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

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 task-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/a275618631/codex-antigravity-collaboration/task-router.svg)](https://agentmods.dev/skills/a275618631/codex-antigravity-collaboration/task-router)
Your own site
<a href="https://agentmods.dev/skills/a275618631/codex-antigravity-collaboration/task-router"><img src="https://agentmods.dev/badge/skills/a275618631/codex-antigravity-collaboration/task-router.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 540 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 83% copy Near-identical to another mod 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.00099 $0.00540
Opus 5 $0.00049 $0.00270
Sonnet 5 $0.00020 $0.00108
Haiku 4.5 $0.00010 $0.00054

Measured 8d ago against content hash dfdffac2a960, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

task-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 8d 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.

Origin

This is a copy

83% identical to luban — 529 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

shared/skills/GLOBAL_CORE/task-router/SKILL.md · 49 lines

What it actually says

任務路由器

核心原則

只做分流與最小路徑選擇,不替專用 skill 執行完整任務。目標是降低誤觸發、少讀不必要內容、減少來回修改。

流程

  1. 先判斷任務類型:程式碼、文件、研究、資料、視覺化、同步、提示詞移植、skill 優化、一般問答。
  2. 檢查是否有明確禁止事項、敏感資料、不可逆動作或需要最新查證。
  3. 若任務只需一個 skill,指定該 skill。
  4. 若任務跨多步,最多先選 1-3 個 skill,依順序使用。
  5. 若資訊不足,提出 1-3 個精準問題;若可合理假設,列出假設後繼續。
  6. 若已有明確專用 skill 且路徑沒有歧義,直接交給專用 skill,不再由本 Skill 介入。

輸出格式

建議路由:
- 主要 skill:...
- 輔助 skill:...
- 不使用的 skill:...(原因)

執行順序:
1. ...
2. ...
3. ...

需要確認:...

判斷表

任務 優先 skill
複雜流程、比較、架構圖 visual-response
新增或修改 skill skill-evaluator
完成前收尾格式 output-contract
規則移植到其他 AI prompt-portability
Codex 設定、skills、同步文件 codex-settings-sync
研究、文章、多來源比較 research-synthesizer 或 web-research-citation
程式碼修改 code-generation-agent
PR / diff 審查 pr-review-agent
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. 8d ago First seen · 49 lines · 99 tokens per session scan A dfdffac2a960

Subscribe to this mod's changes

task-router is a skill published in the GitHub repository a275618631/codex-antigravity-collaboration (8 stars, last pushed 9d ago), licensed MIT. It adds 99 tokens to every session and 540 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 83% identical to luban, differing in 529 lines, and is treated as a copy.