agent-router

Routes incoming tasks to specialist agents using file patterns, keywords, domain context, and explicit rules.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/mpalu03/Reposit_dev --skill agent-router-mpalu03
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-router
Source: https://github.com/mpalu03/Reposit_dev/tree/main/.claude/skills/agent-router
Command: npx skills add https://github.com/mpalu03/Reposit_dev --skill agent-router-mpalu03

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automatically matches incoming tasks to the most suitable specialist agent, reducing misrouting and manual reallocation across many AgentSpec agents.

Core Features & Use Cases

  • File-Pattern Routing: matches file paths, extensions, and project context to determine the responsible agent.
  • Intent-Based Routing: uses intent keywords to map tasks to the right agents.
  • Explicit tables and rules: provides a primary dispatch mechanism that avoids heuristic-only routing.

Quick Start

Provide a task and context; Claude will dispatch it to the appropriate AgentSpec using the explicit routing rules.

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 based on file patterns?

Task routing to specialist agents is handled by matching file paths, extensions, and project context, such as dbt projects or Python data jobs, to determine the responsible agent. An explicit routing matrix ensures deterministic and auditable task dispatch.

What is intent-based routing for agent task dispatch?

Intent-based routing maps task keywords to the most suitable specialist agent. It works alongside file-pattern matching and domain context to apply explicit dispatch rules, avoiding heuristic-only routing and reducing misallocation.

Can I use deterministic routing rules for dbt and Python data pipelines?

Yes, deterministic routing is supported for dbt projects, Python data jobs, and infrastructure tasks. The skill applies an explicit routing matrix using file patterns and domain context to assign agents predictably across these environments.

What is the best way to avoid misrouting tasks across multiple agents?

The best way to avoid misrouting is to use an explicit routing matrix with dispatch rules based on file patterns, intent keywords, and domain context. This provides auditable, predictable agent assignment rather than relying on heuristic-only matching.

Does task dispatch work with infrastructure tasks and pipeline jobs?

Yes, task dispatch supports infrastructure tasks and pipeline jobs by applying routing rules based on file patterns and intent keywords. It ensures the correct specialist agent is assigned for each specific domain context.

Why does my task routing fail when using heuristic-only agent assignment?

Heuristic-only routing fails because it lacks deterministic rules. This skill solves the problem by using an explicit routing matrix with file patterns and intent keywords, ensuring auditable and predictable task dispatch across sessions.