Delegate Task
User wants to delegate a task with automatic complexity-based routing.
Instructions
- •
Parse the user's input to extract the task description.
- •Everything after the skill invocation is the task
- •If no task is provided, ask the user what task to delegate
- •
Call the MCP tool
mcp__all-agents-mcp__delegate_taskwith:- •
task: the task description - •
agent(optional): if the user specifies a preferred agent, pass it - •
allowParallel: defaulttrue— set tofalseonly if the user explicitly asks for single-agent execution - •
context(optional): include relevant code or context from the conversation
- •
- •
Display the result as-is. The tool automatically:
- •Analyzes task complexity (simple/complex/large)
- •Routes simple/complex tasks to a single agent
- •Splits large tasks across multiple agents in parallel
- •Returns complexity analysis + agent response(s)
Examples
- •
/all-agents-mcp:delegate Write unit tests for the authentication module - •
/all-agents-mcp:delegate Refactor this class to use dependency injection