task-intake-router
Skill47 starsChanged 4 months agoMITView on GitHub
Use when a request arrives and the right execution path is unclear — routes the work to the correct mode, agent type, model tier, and delegation pattern before implementation starts.
In this repository111 other files it gives its agents.
- AGENTS.mdAGENTS.md
- COPILOT-INSTRUCTIONS.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- ai-visibilitySkill
- content-strategySkill
- seoSkill
- actions-debuggingSkill
- agentic-engineeringSkill
- autopilot-patternsSkill
- background-agentSkill
- context-primeSkill
- copilot-memorySkill
- cross-session-memorySkill
- ecosystem-intakeSkill
- fleet-parallelSkill
- github-code-searchSkill
- github-codespaces-efficiencySkill
- github-issue-triageSkill
- github-pr-workflowSkill
- ide-switchingSkill
- knowledge-curatorSkill
- mcp-builderSkill
- mcp-ecosystemSkill
- multi-model-strategySkill
- plan-mode-masterySkill
- scope-guardSkill
- session-managementSkill
- stack-detectorSkill
- sub-agent-sandboxingSkill
- team-plannerSkill
- token-cost-optimizerSkill
- api-and-interface-designSkill
- code-reviewSkill
- context-engineeringSkill
- cpp-debuggingSkill
- deprecation-and-migrationSkill
- diagnoseSkill
- fix-build-errorsSkill
- fix-github-issueSkill
- implementSkill
- improve-codebase-architectureSkill
- nestjs-prismaSkill
- nextjs-prismaSkill
- performance-optimizationSkill
- pr-multi-perspective-reviewSkill
- prototypeSkill
- react-vitestSkill
- receiving-code-reviewSkill
- refactor-cleanSkill
- reviewSkill
- skill-creatorSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- systematic-debuggingSkill
- tdd-workflowSkill
- zoom-outSkill
- add-to-changelogSkill
- api-documentationSkill
- architecture-decisionsSkill
- code-tourSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
Every request should be classified on five dimensions:
- Distinctive: line 70
Use a short intake prompt:
- Distinctive: line 113
If one task needs multiple types, split it:
- Very specific: line 121
Use multi-model-strategy for detailed guidance, but the default routing rule is:
- Distinctive: line 130
Use model pairs when that reduces risk:
- Distinctive: line 142
If the answer to the second question is yes, do not fan out yet.
- Distinctive: line 266
Prefer clear handoffs: every route should name the next skill, mode, or agent
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Task Intake Router
Copilot CLI gives you multiple execution paths: interactive mode, Plan Mode, Autopilot,
task agents, /fleet, background delegation, and per-agent model selection.
This skill turns an incoming request into an explicit routing decision so you do not
default to the wrong mode out of habit.
Why This is Copilot-Exclusive
The value is not generic triage. The value is mapping work onto Copilot CLI primitives that can be combined in one session:
- Plan Mode for structured decomposition
- Autopilot for execution after approval
taskagents for typed delegation (explore,task,general-purpose,code-review)/fleetfor parallel fan-out- Background delegation for cloud execution on GitHub
- Per-agent model overrides for cost/quality optimization
When to Use
- A new request arrives and it is unclear whether to answer, plan, implement, review, or delegate
- The task could be handled in several ways and you want the highest-leverage path
- You need to decide between local execution,
/fleet, or cloud background delegation - You want an explicit model plan before spending premium tokens on the wrong step
When NOT to Use
| Instead of task-intake-router | Use |
| A tiny request with an obvious next step | Do the work directly |
| Deep implementation after routing is already agreed | The routed skill or workflow |
| Technology detection for repository onboarding | stack-detector |
Routing Dimensions
Every request should be classified on five dimensions:
- Intent — explain, investigate, implement, review, or operate
- Scope — one file, many files, or cross-cutting
- Dependency shape — sequential or parallelizable
- Risk — low, medium, or high consequence if wrong
- Runtime fit — local-only, GitHub-native, or cloud-friendly
Core Routing Matrix
| Situation | Route | Why |
| User is asking for understanding only | Interactive answer or explore agent | No file changes needed |
| Multi-file feature with unknown scope | Plan Mode → Autopilot | Clarify before editing |
| Many independent subtasks | /fleet or multiple background agents | Parallelism pays off |
| Build/test/lint failure | task agent of type task | Fast execution, low-context output |
| Security-sensitive review | code-review agent + premium model | Higher reasoning quality for high-risk analysis |
| Long-running implementation you do not need locally | Background delegation (& or /delegate) | GitHub branch diff or PR becomes the output |
| Runtime rollout / post-ship observation | deployment-canary | Shipping is not the end of the workflow |
Workflow
1. Classify the Request
Use a short intake prompt:
> Route this request before acting:
> - Goal
> - Scope
> - Risk
> - Parallelizable? yes/no
> - Best Copilot CLI mode
> - Best agent type
> - Recommended modelAim for a routing output like:
Mode: Plan Mode
Agent type: general-purpose
Model: gpt-5.3-codex
Parallelism: none until scope is confirmed
Reason: multi-file implementation with ambiguous boundaries2. Pick the Execution Mode
| If the work looks like... | Use |
| open-ended analysis | interactive mode or explore |
| multi-step implementation with ambiguity | Plan Mode |
| well-bounded execution after plan approval | Autopilot |
| independent batch work | /fleet |
| heavy local command execution | task or PowerShell |
| work best reviewed on GitHub | background delegation |
3. Pick the Agent Type
| Goal | Agent type |
| Search, inspect, understand | explore |
| Run builds, tests, installers | task |
| Implement or refactor | general-purpose |
| Review correctness or security | code-review |
If one task needs multiple types, split it:
explorefor discoverygeneral-purposefor implementationcode-reviewfor a quality gate
4. Pick the Model Tier
Use multi-model-strategy for detailed guidance, but the default routing rule is:
| Task profile | Model suggestion |
| broad exploration, low stakes | claude-haiku-4.5 or gpt-5-mini |
| implementation, code transformation | gpt-5.3-codex |
| balanced planning or synthesis | gpt-5.4 or claude-sonnet-4.6 |
| security, architecture, high-risk review | claude-opus-4.7 or gpt-5.4 |
Use model pairs when that reduces risk:
- Implementer:
gpt-5.3-codex - Reviewer:
claude-sonnet-4.6orgpt-5.4
5. Decide Whether to Fan Out
Ask two questions:
- Can subtasks be assigned clear file or domain ownership?
- Would two agents need to edit the same files?
If the answer to the second question is yes, do not fan out yet.
Good fleet candidates:
- one test file per module
- one review lens per concern
- one migration unit per directory
Bad fleet candidates:
- a tightly coupled refactor in the same files
- a debugging task with unknown blast radius
- anything waiting on a still-unclear design choice
6. Store the Decision in SQL
For larger sessions, make the route explicit:
CREATE TABLE IF NOT EXISTS intake_routes (
id TEXT PRIMARY KEY,
request_summary TEXT NOT NULL,
mode TEXT NOT NULL,
agent_type TEXT,
model TEXT,
parallelism TEXT,
next_skill TEXT,
rationale TEXT
);
INSERT INTO intake_routes (
id, request_summary, mode, agent_type, model, parallelism, next_skill, rationale
) VALUES (
'route-auth-refactor',
'Refactor auth flows across API, tests, and docs',
'plan-mode',
'general-purpose',
'gpt-5.3-codex',
'sequential-then-fleet',
'sprint-workflow',
'Multi-file change with early ambiguity, then parallelizable test/doc work'
);7. Hand Off Cleanly
A routing decision is only useful if it hands off to a concrete next move:
- Plan Mode → create or approve the plan
- Autopilot → execute the approved plan
taskagent → launch the right typed agent/fleet→ define task boundaries and ownership- Background delegation → prepare the prompt for a GitHub branch or PR workflow
Examples
Example 1: Ambiguous Feature Request
Request: "Add rate limiting to our API"
Route:
- Mode: Plan Mode
- Agent type: general-purpose
- Model: gpt-5.3-codex
- Next skill: sprint-workflow
- Why: cross-cutting change with design choices and test requirementsExample 2: Large Batch of Independent Docs
Request: "Add JSDoc to all exports in src/utils/"
Route:
- Mode: /fleet
- Agent type: general-purpose
- Model: gpt-5-mini
- Next skill: fleet-parallel
- Why: many independent files with low couplingExample 3: Security Review of a Risky PR
Request: "Review this auth PR before merge"
Route:
- Mode: task delegation
- Agent type: code-review
- Model: claude-opus-4.7
- Next skill: pr-multi-perspective-review
- Why: high-risk review deserves a specialized passCommon Rationalizations
| Rationalization | Reality |
| "I'll just start coding and figure it out later" | That is routing by impulse. Ambiguous multi-file work gets cheaper once you classify it first. |
| "Everything should go through autopilot" | Autopilot is an execution mode, not a substitute for scoping. |
| "Fleet is always faster" | Parallelism only helps when the tasks are truly independent. |
| "Use the biggest model for everything" | High-cost models are wasted on simple exploration and command execution. |
Red Flags
- The request changes multiple systems but has no explicit route
- A high-risk task is being handled with the cheapest possible model by default
/fleetis chosen before ownership boundaries are defined- A cloud delegation is started even though local context or uncommitted state matters
- Routing output says "we'll decide as we go"
Verification
- The request has an explicit mode, agent type, and model choice
- The chosen route matches the task's dependency shape
- High-risk work includes a stronger review path than low-risk work
- Any fan-out plan names file or domain boundaries
- The route points to a concrete next skill or action
Tips
- Route before you execute: 30 seconds of intake can save hours of rework
- Split hybrid work: one route for discovery, another for implementation, another for review
- Prefer clear handoffs: every route should name the next skill, mode, or agent
- Re-route if the facts change: new complexity means the original route may no longer fit
See Also
multi-model-strategy— choose the right model once the route is knownteam-planner— design specialist teams for large multi-domain workbackground-agent— delegate long-running GitHub-side workfleet-parallel— parallel execution once ownership is clearsprint-workflow— end-to-end feature delivery after routing
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.

