task-routing

Route complex tasks to specialized agents using predefined patterns and keywords.

7|4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/MadAppGang/magus --skill task-routing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: task-routing
Source: https://github.com/MadAppGang/magus/tree/main/plugins/dev/skills/task-routing
Command: npx skills add https://github.com/MadAppGang/magus --skill task-routing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill acts as a central dispatcher, ensuring complex tasks are routed to the most appropriate specialized agent, preventing inefficient handling and improving overall workflow quality.

Core Features & Use Cases

  • Intelligent Task Delegation: Maps task patterns to specific agents (e.g., dev:researcher, code-analysis:detective).
  • Skill Invocation Guidance: Directs when to use specific skills (e.g., code-analysis:claudemem-search) before agent delegation.
  • Use Case: When faced with a complex coding problem that requires deep code understanding and potential debugging, this skill will identify that the code-analysis:detective agent is the correct choice for investigation, rather than attempting to solve it directly.

Quick Start

Use the task routing skill to determine the best agent for investigating a complex bug.

Frequently Asked Questions about task-routing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delegate complex coding tasks to specialized agents?

Task delegation for complex coding works by matching task patterns and keywords to specific specialized agents. This central dispatcher prevents inefficient handling by ensuring the correct agent receives the appropriate development or debugging task.

What is the best way to route a complex bug investigation to a detective agent?

Routing a complex bug investigation involves using a dispatcher skill to identify task patterns and invoke the code-analysis detective agent. This ensures deep code understanding is applied rather than attempting a direct solution.

When do I need to invoke specific skills before delegating tasks to an agent?

You need to invoke specific skills before delegating tasks to an agent when preliminary actions like claudemem searches or database branching are required. The routing skill guides these specific skill invocations before agent delegation.

Does task routing work with database branching and code analysis workflows?

Yes, task routing works with database branching and code analysis workflows by guiding the invocation of specific skills before delegating to specialized agents. It ensures preliminary steps are completed before agent delegation for development tasks.

Can I use task delegation for architecture and research tasks?

Yes, you can use task delegation for architecture and research tasks. The routing skill facilitates efficient delegation by mapping these complex task patterns to specialized agents designed for research and architectural planning.

Why does my workflow attempt to solve complex coding problems directly instead of using a specialized agent?

Your workflow attempts direct resolution because it lacks a central dispatcher to route complex coding problems. Implementing a task routing skill identifies the correct specialized agent for investigation, preventing inefficient direct handling.