intelligent-routing

intelligent-routing is a cursor rule for Cursor from MN-Lizard-Team/aiyu-multi-agent. It costs 28 tokens per session (2,489 once invoked), scanned A, original, Apache-2.0.

A routing system that examines a request and chooses one or more specialist agents to handle it. An agent is an AI helper focused on a particular type of work.

In plain words
What is it for?
It is for automatically directing authentication, interface, mobile, backend, and other requests to suitable agents.
Why use it?
It reduces the need for users to know which specialist to ask for and helps match tasks with relevant expertise.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Cursor; mentions Gemini CLI.

Good fit It is for automatically directing authentication, interface, mobile, backend, and other requests to suitable agents.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mn-lizard-team/aiyu-multi-agent/intelligent-routing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/MN-Lizard-Team/aiyu-multi-agent

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for intelligent-routing

README.md
[![agentmods](https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/intelligent-routing.svg)](https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/intelligent-routing)
Your own site
<a href="https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/intelligent-routing"><img src="https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/intelligent-routing.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.02489
Opus 5 $0.00014 $0.01244
Sonnet 5 $0.00006 $0.00498
Haiku 4.5 $0.00003 $0.00249

Measured 4d ago against content hash f50749ac4ff7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

intelligent-routing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/skills/intelligent-routing.mdc · 339 lines

How it starts

The opening of the file, as written. The whole thing — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: intelligent-routing

Cursor Agent-Requested Rule — applied when AI determines relevance.


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

Read the full file on GitHub · 339 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 339 lines · 28 tokens per session scan A f50749ac4ff7

Subscribe to this mod's changes

intelligent-routing is a cursor rule published in the GitHub repository MN-Lizard-Team/aiyu-multi-agent (7 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 2,489 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.