Skip to content
Skillpedia
Agents8.2k · #12534

intelligent-routing

What it does

This skill makes your AI act like a project manager. It reads each request and chooses the specialist approach that fits best, so you do not have to name one. It is for people who work with many AI helpers.

When to use it

  • ✓When you give a request that touches several areas, such as a login plus a design change.
  • ✓When you do not know which specialist to ask for.
  • ✓When you want the AI to pick the right expert automatically for each new task.

Skill link

https://github.com/vudovn/ag-kit/blob/main/.agents/skills/intelligent-routing/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/vudovn/ag-kit/blob/main/.agents/skills/intelligent-routing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Add a login page to my app. Choose whatever specialists you need and handle it.”

5 new skills a week. 1 minute to read.

How it works

The skill checks the request for keywords, the areas it touches and how complex it is. It then matches those to a table of specialists and brings in the ones that fit.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Intelligent Agent Routing

Purpose: Automatically analyze user requests and route them to the most appropriate specialist agent(s) without requiring explicit user mentions.

Core Principle

The AI should act as an intelligent Project Manager, analyzing each request and automatically selecting the best specialist(s) for the job.

How It Works

1. Request Analysis

Before responding to ANY user request, perform automatic analysis:

graph TD
    A[User Request: Add login] --> B[ANALYZE]
    B --> C[Keywords]
    B --> D[Domains]
    B --> E[Complexity]
    C --> F[SELECT AGENT]
    D --> F
    E --> F
    F --> G[security-auditor + backend-specialist]
    G --> H[AUTO-INVOKE with context]

2. Agent Selection Matrix

Use this matrix to automatically select agents:

User Intent Keywords Selected Agent(s) Auto-invoke?
Authentication "login", "auth", "signup", "password" security-auditor + backend-specialist ✅ YES
UI Component "button", "card", "layout", "style" frontend-specialist ✅ YES
Mobile UI "screen", "navigation", "touch", "gesture" mobile-developer ✅ YES
API Endpoint "endpoint", "route", "API", "POST", "GET" backend-specialist ✅ YES
Database "schema", "migration", "query", "table" database-architect + backend-specialist ✅ YES
Bug Fix "error", "bug", "not working", "broken" debugger ✅ YES
Test "test", "coverage", "unit", "e2e" test-engineer ✅ YES
Deployment "deploy", "production", "CI/CD", "docker" devops-engineer ✅ YES
Security Review "security", "vulnerability", "exploit" security-auditor + penetration-tester ✅ YES
Performance "slow", "optimize", "performance", "speed" performance-optimizer ✅ YES
Product Def "requirements", "user story", "backlog", "MVP" product-owner ✅ YES
New Feature "build", "create", "implement", "new app" orchestrator → multi-agent ⚠️ ASK FIRST
Complex Task Multiple domains detected orchestrator → multi-agent ⚠️ ASK FIRST

3. Automatic Routing Protocol

TIER 0 - Automatic Analysis (ALWAYS ACTIVE)

Before responding to ANY request:

// Pseudo-code for decision tree
function analyzeRequest(userMessage) {
    // 1. Classify request type
    const requestType = classifyRequest(userMessage);

    // 2. Detect domains
    const domains = detectDomains(userMessage);

    // 3. Determine complexity
    const complexity = assessComplexity(domains);

    // 4. Select agent(s)
    if (complexity === "SIMPLE" && domains.length === 1) {
        return selectSingleAgent(domains[0]);
    } else if (complexity === "MODERATE" && domains.length <= 2) {
        return selectMultipleAgents(domains);
    } else {
        return "orchestrator"; // Complex task
    }
}

4. Response Format

When auto-selecting an agent, inform the user concisely:

🤖 **Applying knowledge of `@security-auditor` + `@backend-specialist`...**

[Proceed with specialized response]

Benefits:

  • ✅ User sees which expertise is being applied
  • ✅ Transparent decision-making
  • ✅ Still automatic (no /commands needed)

Domain Detection Rules

Single-Domain Tasks (Auto-invoke Single Agent)

Domain Patterns Agent
Security auth, login, jwt, password, hash, token security-auditor
Frontend component, react, vue, css, html, tailwind frontend-specialist
Backend api, server, express, fastapi, node backend-specialist
Mobile react native, flutter, ios, android, expo mobile-developer
FAQ

Does it ask me which expert to use?

No. The skill is written to pick specialists automatically from the request.

What does it check before choosing?

It looks at keywords in the request, the domains involved and how complex the task is.

What kinds of requests does it match?

It matches common areas such as authentication, user interface and mobile screens, using keywords from the request.

Details

Original description by the author

Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.

repo: vudovn/ag-kit

Popularity

GitHub stars
8.2k
Ranking position
#12534
License
MIT
Updated
10/18/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills