auto-routing

auto-routing is a cursor rule for Cursor from jy315189/everything-cursor. It costs 399 tokens per session, scanned A, original, MIT.

A set of rules that identifies the kind of software task being requested and selects a matching workflow.

In plain words
What is it for?
Use it to route requests through workflows such as planning, test-driven development (writing a failing test before the code), security checks, verification, and documentation.
Why use it?
It helps apply different steps to feature work, bug fixes, testing, security reviews, planning, and other task types.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to route requests through workflows such as planning, test-driven development (writing a failing test before the code), security checks, verification, and documentation.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/jy315189/everything-cursor/auto-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/jy315189/everything-cursor

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 auto-routing

README.md
[![agentmods](https://agentmods.dev/badge/rules/jy315189/everything-cursor/auto-routing/github.svg)](https://agentmods.dev/rules/jy315189/everything-cursor/auto-routing)
Your own site
<a href="https://agentmods.dev/rules/jy315189/everything-cursor/auto-routing"><img src="https://agentmods.dev/badge/rules/jy315189/everything-cursor/auto-routing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for auto-routing

Your own site · 80×15
<a href="https://agentmods.dev/rules/jy315189/everything-cursor/auto-routing"><img src="https://agentmods.dev/badge/rules/jy315189/everything-cursor/auto-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 399 This file is loaded in full into every session.
When invoked 399 The same file — it is already loaded in full.
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.00399 $0.00399
Opus 5.5 $0.00160 $0.00160
Sonnet 5.5 $0.00080 $0.00080
Haiku 4.5 $0.00040 $0.00040

Measured 3mo ago against content hash 56a4a08d42e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

auto-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 3mo 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/auto-routing.mdc · 26 lines

What it actually says

Auto-Routing

When the user gives a task, silently classify it and apply the matching workflow:

Signal in User Request Task Type Approach
"implement", "add", "create", "build" + feature description New Feature Plan → TDD → Review → Docs
"fix", "bug", "broken", "not working", "error" Bug Fix Reproduce with test → Fix → Verify
"build error", "compile error", "type error", TS error codes Build Error Diagnose → Fix → Verify build
"review", "check quality", "is this ok" Code Review Security → Correctness → Quality → Performance
"security", "vulnerability", "audit", "safe" Security OWASP scan → Remediate → Verify
"test", "write tests", "TDD", "coverage" Testing Interface → Failing test → Implement → Refactor
"e2e", "end to end", "playwright", "user flow" E2E Testing Map journey → Generate Playwright tests
"refactor", "clean up", "dead code", "unused" Cleanup Scan → Verify safety → Remove → Test
"architecture", "design", "which technology", "how should I structure" Architecture Multi-option analysis → Recommendation
"plan", "break down", "how to approach", "task list" Planning Requirements → Tasks → Dependencies → Risks
"docs", "documentation", "update readme", "changelog" Docs Detect changes → Update docs → Verify examples

For multi-step tasks, announce the phases before starting. For simple tasks, just execute directly.

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. 3mo ago First seen · 26 lines · 399 tokens per session scan A 56a4a08d42e4

Subscribe to this mod's changes

auto-routing is a cursor rule published in the GitHub repository jy315189/everything-cursor (2 stars, last pushed 9mo ago), licensed MIT. It adds 399 tokens to every session, about $0.0016 per session on Opus 5.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-08-31.

Related

auto-routing compared with cursor rules from other repositories

auto-routing next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auto-routingjy315189/everything-cursorCursor rule29mo agoMITA399Cursor
ponytailDietrichGebert/ponytailCursor rule202k9d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor