agent-router

Route tasks to suitable agents using task keywords and file context.

Updated Jun 1, 2025
One-click install
npx skills add https://github.com/Yokhan/yokhanFitnessDocsWebsite --skill agent-router
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-router
Source: https://github.com/Yokhan/yokhanFitnessDocsWebsite/tree/main/.claude/skills/agent-router
Command: npx skills add https://github.com/Yokhan/yokhanFitnessDocsWebsite --skill agent-router

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically routes tasks to the most suitable agent when the agent is not explicitly specified, reducing routing errors and manual intervention.

Core Features & Use Cases

  • Selects the best agent for a task based on signals from the request and affected files.
  • Applies when a user omits an agent or when automatic routing is needed for /implement and /sprint workflows; supports project-specific overlays and fallback decisions.
  • Supports file-context signals like keywords and file patterns to refine routing decisions.

Quick Start

Provide a task without specifying an agent and let the router select the best matching agent based on signals.

Frequently Asked Questions about agent-router

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

FAQPage Schema
How do I automatically route tasks to the right agent without manual selection?

Automatic agent routing uses task keywords and file context signals to select the most suitable agent. It encodes routing logic as rules mapping signals to agents and models, implementing a safe default fallback for unspecified tasks.

What signals are used for routing requests to specific agents?

Agent routing uses signals from the user request and affected files, specifically task keywords and file patterns. These signals refine routing decisions by mapping context to the appropriate agent and model for the workflow.

When should I use automatic agent routing in my workflow?

Use automatic agent routing when a user omits specifying an agent or when routing is needed for /implement and /sprint workflows. It applies project-specific overlays and fallback decisions to ensure tasks reach the correct agent.

What happens if agent routing cannot find a matching agent for my task?

If agent routing cannot find a specific match, it implements a safe default fallback. This ensures the task is processed downstream by surfacing clear output for routing steps, preventing workflow failures from unspecified agents.

Can I apply custom routing rules for specific projects?

Yes, automatic routing supports project-specific overlays to customize how signals map to agents. This allows you to refine routing decisions based on unique file context signals and keywords for your specific project environment.