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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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
Comments
- …
More skills from this repository
batch-operations
8.2kHelps your agent make the same change across many files at once, such as renaming a function or replacing an old import everywhere.
brainstorming
8.2kTeaches your agent to ask clarifying questions before building anything new or complex, so it understands your goal first.
code-review-checklist
8.2kGives your agent a checklist for reviewing code for correctness, security, performance, testing and documentation, including AI-specific risks.
code-review-graph
8.2kHelps your agent review code in large projects using a structural map, so it reads only the files affected by a change.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.