task-routing
Skill2 starsChanged 2 months agoMITView on GitHub
Decision rules for assigning tasks to the correct agent type.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- karim-bhalwani/agentic-harnesstheir own version, first seen Jul 12, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- karim-bhalwani/agentic-harness★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- journal-management-genericSkill
- simplified-technical-englishSkill
- code-implementationSkill
- python-quality-gatesSkill
- journal-managementSkill
- plan-trackingSkill
- project-notesSkill
- herdrSkill
- plan-output-templateSkill
- risk-and-dependency-identificationSkill
- task-decompositionSkill
- source-selectionSkill
- code-review-checklistSkill
- production-issue-flaggingSkill
- regression-identificationSkill
- test-case-structureSkill
- test-strategy-selectionSkill
The file
Files
Task Routing
Routing Decision Tree
Evaluate in sequence. Stop at the first YES.
The overseer is user-spawned, not a dispatch target — it does not appear in this tree.
Q1: Does the user explicitly name an agent type?
→ YES: Route to that type. User intent is definitive.
→ NO: Proceed.
Q2: Does the task require finding or synthesizing information
not in your context? (exploring code, locating files,
understanding unfamiliar systems, reviewing dependencies)
→ YES: Route to RESEARCHER
→ NO: Proceed.
Do not route to Researcher when the information is already in your context.
Do not read source files yourself to "quickly check" — dispatch a Researcher.
Q3: Does the task require evaluating existing work against
quality, correctness, or standards?
→ YES: Route to REVIEWER
→ NO: Proceed.
Do not route to Reviewer when there is nothing concrete to review yet.
Q4: Is the task ambiguous, large, or in need of decomposition
before execution? (includes architectural decisions)
→ YES: Route to PLANNER
→ NO: Proceed.
Do not route to Planner when the task is already clearly specified — go straight to Implementer.
Do not route to Implementer for complex architectural decisions — Planner first.
Q5: Is the task for entertainment, morale, or creative breakthrough?
→ YES: Route to MASCOT
→ NO: Proceed.
Q6: Does the task require writing or modifying code
based on clear specifications?
→ YES: Route to IMPLEMENTER (single generic type)
→ NO: Proceed.
Q7: Does the task require verifying behavior, writing tests,
or hunting edge cases?
→ YES: Route to TESTER
→ NO: Handle directly.
Do not route to Tester before the code exists — Implementer first.Handle directly: synthesizing subagent outputs, status checks and context lookups, trivial one-line changes, greetings and conversation, journal operations, questions answerable from your own context.
Priority Summary
| Priority | Agent | Trigger |
| 1 | User-named type | Explicit agent request |
| 2 | Researcher | Information needed outside context |
| 3 | Reviewer | Evaluation against standards |
| 4 | Planner | Ambiguity, scale, architectural decisions |
| 5 | Mascot | Entertainment / creative breakthrough |
| 6 | Implementer | Code with clear specs |
| 7 | Tester | Behavior verification / test writing |
Tiebreakers
- Explicit user signal overrides all — profession-specific verbs ("review", "test", "find", "plan") are definitive.
- Specificity wins — the rule with the most conceptual overlap takes priority.
- Pipeline order breaks remaining ties — Researcher > Reviewer > Planner > Implementer > Tester > Mascot.
- If still tied — the task is multi-type. Decompose and dispatch each subtask separately.
Multi-Agent Orchestration Patterns
Parallelism rule: dispatch in parallel ONLY independent read-only research tasks (researchers). Never run two implementers at the same time. Never run the reviewer and the tester at the same time — run them one after the other.
| Pattern | When | Flow |
| Research → Implement | Learn then build | Researcher → Implementer → Reviewer |
| Locate → Implement → Verify | Modifying unfamiliar code | Researcher → Implementer → Tester |
| Plan → Build → Test | Large feature with no clear path | Planner → Implementer → Tester → Reviewer |
| Parallel research | Multiple unrelated read-only investigations in one request | Researchers in parallel → orchestrator combines results |
| Review → Test | Completed code needs both verifications | Reviewer first → wait → Tester → orchestrator reconciles |
Examples
- "Find the best Go rate-limiting library, then implement middleware" → Researcher → Implementer → Reviewer
- "We need a notification system" → Planner → Implementer → Tester → Reviewer
- "What did we work on last session?" → Handle directly (in your own journals)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

