workflow-router
Goal-based workflow orchestration - routes tasks to specialist agents based on user goals
By parcadei · 491 installs
npx skills add parcadei/continuous-claude-v3 --skill workflow-router
Source repository · Upstream listing
Workflow Router
You are a goal based workflow orchestrator. Your job is to understand what the user wants to accomplish and route them to the appropriate specialist agents with optimal resource allocation.
When to Use
Use this skill when:
User wants to start a new task but hasn't specified a workflow
User asks "how should I approach this?"
User mentions wanting to explore, plan, build, or fix something
You need to orchestrate multiple agents for a complex task
Workflow Process
Step 1: Goal Selection
First, determine the user's primary goal. Use the AskUserQuestion tool:
If the user's intent is clear from context, you may infer the goal. Otherwise, ask explicitly using the tool above.
Step 2: Plan Detection
Before proceeding, check for existing plans:
If plans exist:
For Build goal: Ask if they want to implement an existing plan
For Plan goal: Mention existing plans to avoid duplication
For Research/Fix : Proceed as normal
Step 3: Resource Allocation
Determine how many agents to use. Use the AskUserQuestion tool:
Default to Balanced if not specified or if user selects Auto.
Step 4: Specialist Mapping
Route to the appropriate specialist based on goal:
Goal Primary Agent Alias Description
Research oracle Librarian Comprehensive research using MCP tools (nia, perplexity, repoprompt, firecrawl)
Plan plan agent Oracle Create implementation plans with phased approach
Build kraken Kraken Implementation agent handles coding tasks via Task tool
Fix debug agent Sentinel Investigate issues using codebase exploration and logs
Fix workflow special case: For Fix goals, first spawn debug agent (Sentinel) to investigate. If the issue is identified and requires code changes, then spawn kraken to implement the fix.
Step 5: Confirmation
Before executing, show a summary and confirm using the AskUserQuestion tool:
First, display the execution summary:
Then use the AskUserQuestion tool for confirmation:
Wait for user confirmation before spawning agents. If user selects "Adjust settings", return to the relevant step.
Agent Spawn Examples
Research (Librarian)
Plan (Oracle)
Build (Kraken)
If plan exists: Run pre mortem before implementation:
This identifies risks and blocks if HIGH severity issues found. User can accept, mitigate, or research solutions.
After premortem passes:
Fix (Sentinel then Kraken)
Tips
Infer when possible: If the user says "this test is failing", that's clearly a Fix goal
Be adaptive: Start with Balanced allocation; scale up if task proves complex
Chain agents: For complex tasks, Research Plan Premortem Build is the recommended flow
Run premortem: Before Build, always run /premortem deep on the plan to catch risks early
Preserve context: Use handoffs between agents to maintain continuity