workflow-router
Skill0 starsChanged 9 months agoMITView on GitHub
Routes user goals to the appropriate specialist agent workflow with resource allocation confirmation. Use when: the user wants to start a task but hasn't specified a workflow, asks "how should I approach this?", or needs orchestration across research → plan → build → fix stages.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- NashEQify/forgetheir own version, first seen Oct 25, 2026
- parcadei/Continuous-Claudetheir own version, first seen Oct 17, 2026
- KerberosClaw/kc_ai_skillstheir own version, first seen Oct 15, 2026
- parcadei/Continuous-Claude-v2their own version, first seen Oct 8, 2026
- wakqasahmed/ai-engineering-workflow-skillstheir own version, first seen Sep 3, 2026
- wakqasahmed/skillstheir own version, first seen Aug 12, 2026
Used with
Projects with it also use review-gate and diagnose.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
vindreshsinghSkillreview-gate
Reviews a change across correctness, design, readability, security, and performance before it merges. Use when reviewing a PR, self-reviewing your own diff, or sanity-checking an AI-generated change prior to shipping.
Also in 3 projects that use this
MicrosoftSkilldiagnose
Use to systematically diagnose why scenarios fail — identifies root causes by analyzing agent traces, codebase, and behavioral patterns
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- KerberosClaw/kc_ai_skills★ 79same name
- Mr-Fang-VLSI/EDAgent★ 8same name
- NashEQify/forge★ 2same name
- wakqasahmed/ai-engineering-workflow-skills★ 2same name
- wakqasahmed/skills★ 2same name
- Mesteriis/Engineering-Bible-AI★ 0same name
- Moonweave-Systems/workflow-router-skill★ 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 repository47 other files it gives its agents.
- agent-teachingSkill
- cf-pages-trespies-deploySkill
- compression-ritualSkill
- context-ingestionSkill
- decision-propagationSkill
- documentation-auditSkill
- era-architectureSkill
- file-managementSkill
- frontend-from-backendSkill
- handoff-protocolSkill
- health-auditSkill
- house-poc-builderSkill
- implementation-promptSkill
- iterative-scoutingSkill
- mcp-cloudflare-builderSkill
- mcp-server-builderSkill
- memory-gardenSkill
- multi-surface-strategySkill
- parallel-tracksSkill
- patient-learning-protocolSkill
- planning-with-filesSkill
- poc-tool-forgeSkill
- pre-implementation-checklistSkill
- process-extractionSkill
- product-positioningSkill
- project-explorationSkill
- release-specificationSkill
- repo-context-syncSkill
- repo-statusSkill
- research-modesSkill
- research-synthesisSkill
- retrospectiveSkill
- seed-extractionSkill
- seed-librarySkill
- seed-to-skill-converterSkill
- semantic-clustersSkill
- skill-audit-upgradeSkill
- skill-creationSkill
- skill-maintenanceSkill
- spec-constellation-to-prompt-suiteSkill
- static-tool-verifySkill
- status-templateSkill
- status-writingSkill
- strategic-scoutSkill
- strategic-to-tactical-workflowSkill
- web-research-externalSkill
- workspace-navigationSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
If the goal is not provided or is ambiguous, ask:
- Distinctive: line 48
If intent is clear from context (e.g., "this test is failing" → Fix), infer without asking.
- Distinctive: line 56
Build goal: Ask if implementing an existing plan.
- Distinctive: line 73
Default to Balanced for unspecified or Auto selection.
- Distinctive: line 86
If fix requires code changes, spawn implementation agent with the diagnosis as context
- Distinctive: line 104
Wait for confirmation before dispatching.
- Distinctive: line 132
If a plan exists, summarize risks before dispatching:
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Workflow Router
Routes user goals to the appropriate specialist agent workflow with explicit resource allocation and confirmation before dispatch.
Description
Classifies an incoming goal into one of four categories (Research, Plan, Build, Fix), maps it to the appropriate specialist agent(s), confirms resource allocation with the user, and dispatches. Handles the Fix workflow as a two-stage process (investigate first, then implement). Preserves context across agent handoffs using shared handoff documents. This skill is the entry point for multi-agent orchestration when the user knows what they want to accomplish but not which agent or workflow to use.
When to Use
- User wants to start a non-trivial task without specifying a workflow
- User asks "how should I approach this?" or "what's the best way to tackle X?"
- A task requires multiple sequential agents (Research → Plan → Build)
- You need explicit resource allocation agreement before spawning agents
Workflow
Step 1: Classify the Goal
If the goal is not provided or is ambiguous, ask:
What's your primary goal for this task?
- Research — Understand/explore something (unfamiliar code, libraries, concepts)
- Plan — Design/architect a solution (implementation plans, problem decomposition)
- Build — Implement/code something (new features, components, implementation from a plan)
- Fix — Debug/fix an issue (investigate and resolve bugs, failing tests)If intent is clear from context (e.g., "this test is failing" → Fix), infer without asking.
Step 2: Check for Existing Plans
ls thoughts/shared/plans/*.md 2>/dev/null || ls docs/plans/*.md 2>/dev/null- Build goal: Ask if implementing an existing plan; load it to avoid duplication
- Plan goal: Surface existing plans to prevent redundant work
- Research / Fix: Proceed without plan check
Step 3: Confirm Resource Allocation
Present options and confirm before spawning:
How would you like to allocate resources?
- Conservative — 1-2 agents, sequential (minimal context, simple tasks)
- Balanced (recommended) — appropriate agents for the task, some parallelism
- Aggressive — max parallel agents (time-critical tasks)
- Auto — system decides based on complexityDefault to Balanced for unspecified or Auto selection.
Step 4: Map Goal to Agent
| Goal | Primary Agent Type | Description |
| Research | general-purpose (research mode) | Multi-source research using web and documentation tools |
| Plan | Plan | Create phased implementation plans with architectural trade-offs |
| Build | general-purpose (implementation mode) | Coding tasks, feature implementation, component creation |
| Fix | general-purpose (debug mode) → then implementation | Investigate first, implement fix after diagnosis |
Fix workflow (two stages):
- Spawn debug agent to investigate: produce diagnosis and recommended fix
- If fix requires code changes, spawn implementation agent with the diagnosis as context
Step 5: Show Execution Summary and Confirm
## Execution Summary
Goal: [Research / Plan / Build / Fix]
Resource Allocation: [Conservative / Balanced / Aggressive]
Agent(s) to dispatch: [agent descriptions]
What will happen:
- [Brief description of each agent's task]
- [Expected output / deliverable and where it will be written]
Proceed? [Yes / Adjust settings]Wait for confirmation before dispatching. If "Adjust settings", return to the relevant step.
Step 6: Dispatch Agents
Research
Dispatch: general-purpose agent (research mode)
Prompt:
Research: [topic]
Scope: [what to investigate — libraries, APIs, patterns, concepts]
Output: Write findings to research/[topic-slug].md and summarize key pointsPlan
Dispatch: Plan agent
Prompt:
Create implementation plan for: [feature/task]
Context: [relevant codebase context, constraints, goals]
Output: Save plan to docs/plans/[plan-slug].md with phased breakdown and trade-offsBuild
If a plan exists, summarize risks before dispatching:
- Identify any HIGH severity blockers (missing dependencies, ambiguous interfaces)
- Surface them to the user before proceeding
Dispatch: general-purpose agent (implementation mode)
Prompt:
Implement: [task]
Plan: [path to plan, if applicable]
Constraints: [language, framework, test requirements]
Output: Working implementation with tests passing; write handoff to handoffs/[session]/Fix (two stages)
Stage 1 — Dispatch: general-purpose agent (debug mode)
Prompt:
Investigate: [issue description]
Symptoms: [what's failing, error messages, test output]
Output: Diagnosis document with root cause and recommended fix path
Stage 2 — (after diagnosis) Dispatch: general-purpose agent (implementation mode)
Prompt:
Fix: [issue as diagnosed]
Diagnosis: [diagnosis document path]
Output: Working fix with tests passingHandoff Preservation
Each dispatched agent should write a handoff before completing:
handoffs/{session-id}/{agent-type}-{timestamp}.mdThe handoff captures: what was accomplished, what was found, decisions made, open questions, and what the next agent needs to know.
Output
A confirmation message showing:
- Which agent(s) were dispatched
- Their assigned prompts
- Expected output locations
- Status after dispatch completes
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.

