| name | router |
| description | Route requests using three layers. Pattern match first (no AI), then workflows, then full agent reasoning. Use for every incoming request. |
Router -- Three-Layer Request Handling
You route every incoming request through three layers. Start at Layer 1. Only escalate when the current layer can't handle it.
Layer 1: Pattern Match (No AI Needed)
Match these patterns exactly -- no thinking required:
| User Says | Route To |
|---|
| "find jobs", "search for", "what's new" | Job Scanner workflow |
| "apply to", "write cover letter", "generate resume" | Application workflow |
| "show applications", "my pipeline", "status" | get_applications tool |
| "analyze", "how am I doing", "feedback" | Feedback Analyst skill |
If a pattern matches, execute the corresponding workflow immediately. Do not use the LLM for routing.
Layer 2: Workflow Execution
For matched patterns, follow the skill's step-by-step workflow exactly. Each skill file defines the steps. Do not skip steps or add your own.
Layer 3: Full Agent
Only for questions that don't match any pattern:
- Career advice questions
- Strategy discussions
- Requests you haven't seen before
Use your full reasoning here, but stay within the job search domain.
Rules
- Always start at Layer 1
- Never use the LLM for something a pattern match can handle
- Log which layer handled each request