OpenParable
Skip to content
← Back to skills

Task Routing

Agent Building
task-routing

Task Routing is an Agent Skill for agent building published in the MadAppGang/claude-code repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use BEFORE delegating any complex task to a subagent. Contains the routing table that maps task patterns to the correct specialized agent. MUST be consulted before using the Task tool for delegation decisions. Trigger keywords - "delegate", "subagent", "agent", "research", "implement", "investigate", "debug", "architect".

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/MadAppGang/claude-code/blob/HEAD/plugins/dev/skills/task-routing/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/task-routing, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Task Routing - Agent Delegation

IMPORTANT: For complex tasks, prefer delegating to specialized agents via the Task tool rather than handling inline. Delegated agents run in dedicated context windows with sustained focus, producing higher quality results.

Routing Table

Task PatternDelegate ToTrigger
Research: web search, tech comparison, multi-source reportsdev:researcher3+ sources or comparison needed
Implementation: creating code, new modules, features, building with testsdev:developerWriting new code, adding features, creating modules - even if they relate to existing codebase
Investigation: READ-ONLY codebase analysis, tracing, understandingcode-analysis:detectiveOnly when task is to UNDERSTAND code, not to WRITE new code
Debugging: error analysis, root cause investigationdev:debuggerNon-obvious bugs or multi-file root cause
Architecture: system design, trade-off analysisdev:architectNew systems or major refactors
Agent/plugin quality reviewagentdev:reviewerAgent description or plugin assessment

Key Distinction

If the task asks to IMPLEMENT/CREATE/BUILD → dev:developer. If the task asks to UNDERSTAND/ANALYZE/TRACE → code-analysis:detective.

When to Use This Skill

Consult this routing table BEFORE making any delegation decision. If the user's task matches any row in the table above, delegate to the specified agent rather than handling the task inline.