task-routing

A task-routing workflow that detects GitHub issue URLs, Google Docs links, local plan files, and certain issue references in a user's request. It passes matching references to a separate route-task command for classification.

In plain words
What is it for?
Routing tasks from GitHub issues, Google Docs, local files, and qualifying numbered issue references.
Why use it?
It helps identify where a task comes from and sends it through the expected routing process instead of treating every request the same way.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/dapi/claude-code-marketplace/task-routing
Any agent
npx skills add dapi/claude-code-marketplace --skill task-routing
Clone the repo
git clone --depth 1 https://github.com/dapi/claude-code-marketplace

Made for: Claude Code, Codex.

Per session 434 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,073 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00434 $0.02073
Opus 5 $0.00217 $0.01037
Sonnet 5 $0.00087 $0.00415
Haiku 4.5 $0.00043 $0.00207

Measured 2d ago against content hash 9b558cc0ce95, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

task-routing 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 2d 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.

task-router/skills/task-routing/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Task Routing Skill

Version: 1.0.0

Тонкий автотриггер: обнаруживает ссылки на задачи и issue-ссылки в сообщениях пользователя и вызывает команду /route-task для классификации и маршрутизации.

Перед вызовом route-task покажи пользователю: task-routing v1.0.0

Этот скилл НЕ выполняет классификацию сам — только определяет наличие задачи и передаёт её в route-task.

Логика определения источника

1. GitHub Issue URL

Паттерн: github.com/{owner}/{repo}/issues/{number}

Если в сообщении есть ссылка на GitHub Issue:
-> Извлечь полный URL
-> Вызвать: Skill tool -> skill: "task-router:route-task", args: "{URL}"

2. Google Doc URL

Паттерн: docs.google.com/document/d/{DOCUMENT_ID}

Если в сообщении есть ссылка на Google Doc:
-> Извлечь полный URL
-> Вызвать: Skill tool -> skill: "task-router:route-task", args: "{URL}"

3. Issue-ссылка (#NNN)

Паттерн: issue #123, задачу #123 — ОБЯЗАТЕЛЬНО с action-словом И словом issue/задачу

ВАЖНО: Голый #NNN без контекста НЕ является триггером. #NNN часто встречается в коммитах, PR-ах, заголовках и не означает задачу. Активируй ТОЛЬКО при наличии ОБОИХ условий:

  1. Action-слово: "сделай", "возьми", "реализуй", "take", "implement", "do", "start"
  2. Слово-контекст: "issue", "задачу", "задачи", "task"
Если в сообщении есть action-слово + "issue"/"задачу" + #NNN:
-> Извлечь номер
-> Вызвать: Skill tool -> skill: "task-router:route-task", args: "#NNN"

Примеры ДА: "сделай issue #123", "take issue #42", "возьми задачу #99"
Примеры НЕТ: "see #123", "fixed in #42", "PR #99", "step #3"

4. Произвольный URL

Если в сообщении есть другой URL (https://...) в контексте задачи:
-> Извлечь URL
-> Вызвать: Skill tool -> skill: "task-router:route-task", args: "{URL}"

5. Локальный файл

Паттерн: абсолютный путь (/...) или относительный (~/..., ./...) к файлу плана

Если в сообщении есть путь к файлу (начинается с / или ~/ или ./):
-> Извлечь полный путь
-> Вызвать: Skill tool -> skill: "task-router:route-task", args: "{path}"

Примеры ДА: "реализуй /home/user/plan.md", "выполни ./docs/plans/fix.md"
Примеры НЕТ: "посмотри /docs/plans/fix.md", "что в ./plans/spec.md"

Read the full file on GitHub · 172 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. 2d ago First seen · 172 lines · 434 tokens per session scan A 9b558cc0ce95

Subscribe to this mod's changes

task-routing is a skill published in the GitHub repository dapi/claude-code-marketplace (16 stars, last pushed 4mo ago), licensed MIT. It adds 434 tokens to every session and 2,073 once invoked, about $0.0022 per session on Opus 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.