agent-routing

Coordinate delegation decisions and subagent invocations across multi-agent workflows.

5|1|Updated Oct 4, 2025
One-click install
npx skills add https://github.com/faroukBakari/trader-pro --skill agent-routing-faroukbakari
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-routing
Source: https://github.com/faroukBakari/trader-pro/tree/main/.github/skills/agent-routing
Command: npx skills add https://github.com/faroukBakari/trader-pro --skill agent-routing-faroukbakari

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate delegation decisions and subagent invocations to maximize efficiency and accuracy across complex tasks.

Core Features & Use Cases

  • Agent & Subagent Catalog: defines user-facing agents and internal subagents with specialized roles to improve delegation quality and traceability.
  • Routing Decision Framework: a structured flow to decide inline handling versus delegation based on task complexity, scope, and domain.
  • Trigger Heuristics: signal words and complexity rules that map requests to the optimal agent or subagent path.
  • Subagent Invocation Protocol: ensures every subagent call includes comprehensive context and a precise deliverable description.
  • Integration & governance guidance: supports planning handoffs and preserving context across modules and teams.

Quick Start

Run the agent-routing skill to guide real-time delegation and ensure every subagent invocation includes complete context and a precise output description.

Frequently Asked Questions about agent-routing

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

FAQPage Schema
How do I decide whether to handle a task inline or delegate it to a subagent?

Multi-agent delegation decisions should be based on task complexity, scope, and domain. A structured routing decision framework evaluates trigger heuristics and complexity rules to determine whether inline handling or subagent invocation is optimal for efficiency.

What context should I include when invoking subagents in a multi-agent workflow?

Subagent invocation requires explicit task context, scope, background, constraints, prior knowledge, deliverables, and format requirements. Providing comprehensive context ensures subagents produce structured outputs that align with user intent across multi-agent workflows.

How can I preserve context across agent handoffs in workflow orchestration?

Agent handoffs preserve context by enforcing a subagent invocation protocol with governance guidance. This maintains traceability and ensures structured output guarantees are met when transferring tasks between specialized agents and modules.

When do I need agent routing for multi-agent workflows?

Agent routing is needed when coordinating complex delegation decisions across multiple specialized agents. It maps requests to optimal agent paths using trigger heuristics and signal words, maximizing efficiency and accuracy in workflow orchestration.

What is the best way to structure prompts for subagent delegation?

Subagent delegation prompts should explicitly define task context, scope, background, constraints, deliverables, and format requirements. This structured approach to prompt quality ensures outputs align with user intent and improves delegation traceability.

Can I use agent routing to manage internal subagents and user-facing agents simultaneously?

Yes, agent routing supports an agent and subagent catalog that defines both user-facing agents and internal subagents with specialized roles. This improves delegation quality and traceability across multi-agent workflow orchestration.