/workflow-routing
Use at the start of any task to route between Superpowers skills and GSD commands based on project state, task scope, and context signals. Fires before other skills when both systems are installed.
$ npx -y skills add coco-research/coco --skill workflow-routing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/workflow-routing
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use at the start of any task to route between Superpowers skills and GSD commands based on project state, task scope, and context signals. Fires before other skills when both systems are installed.
SKILL.md
workflow-routing.SKILL.mdname: workflow-routing
description: Use at the start of any task to route between Superpowers skills and GSD commands based on project state, task scope, and context signals. Fires before other skills when both systems are installed.
domain: foundational
Workflow Routing: Superpowers + GSD
**Announce at start:** "Workflow Routing skill activated."
Route every task to the right toolchain. Superpowers handles **task-level quality** (TDD, debugging, design, review). GSD handles **project-level orchestration** (phases, milestones, persistent state). They are complementary — never competing.
<HARD-GATE> Check routing BEFORE invoking any other skill or GSD command. This skill fires first. </HARD-GATE>
Detection: Is GSD Active?
Check the current working directory:
digraph detect {
".planning/ exists?" [shape=diamond];
"ROADMAP.md exists?" [shape=diamond];
"GSD ACTIVE" [shape=box, style=filled, fillcolor=lightblue];
"GSD NOT ACTIVE" [shape=box, style=filled, fillcolor=lightyellow];
".planning/ exists?" -> "ROADMAP.md exists?" [label="yes"];
".planning/ exists?" -> "GSD NOT ACTIVE" [label="no"];
"ROADMAP.md exists?" -> "GSD ACTIVE" [label="yes"];
"ROADMAP.md exists?" -> "GSD NOT ACTIVE\n(stale or pre-roadmap)" [label="no"];
}**GSD active signals:** `.planning/PROJECT.md`, `.planning/ROADMAP.md`, `.planning/STATE.md` all present.
Primary Routing Decision
digraph route {
"Task received" [shape=doublecircle];
"GSD active?" [shape=diamond];
"Task in current phase scope?" [shape=diamond];
"Scope: multi-phase?" [shape=diamond];
"Use GSD commands" [shape=box, style=filled, fillcolor=lightblue];
"Use /gsd:quick" [shape=box, style=filled, fillcolor=lightcyan];
"Suggest /gsd:new-project" [shape=box, style=filled, fillcolor=lightblue];
"Use Superpowers skills" [shape=box, style=filled, fillcolor=lightyellow];
"Task received" -> "GSD active?";
"GSD active?" -> "Task in current phase scope?" [label="yes"];
"GSD active?" -> "Scope: multi-phase?" [label="no"];
"Task in current phase scope?" -> "Use GSD commands" [label="yes"];
"Task in current phase scope?" -> "Use /gsd:quick" [label="no, small/unrelated"];
"Scope: multi-phase?" -> "Suggest /gsd:new-project" [label="yes"];
"Scope: multi-phase?" -> "Use Superpowers skills" [label="no"];
}Scope Signals
| Signal | Indicates | Route | |--------|-----------|-------| | "build app", "create platform", "new project", "implement system" | Multi-phase | GSD | | "phase", "milestone", "roadmap", "epic", "release" | Multi-phase | GSD | | 6+ features, 2+ weeks, architectural decisions needed | Multi-phase | GSD | | "fix bug", "add button", "update function", "refactor method" | Single-session | Superpowers | | "quick fix", "hotfix", "one more thing" | Small/ad-hoc | Superpowers or `/gsd:quick` if GSD active | | Unknown scope, user unsure | Undetermined | `/brainstorming` first to scope, then decide |
Combined Workflows
Multi-Phase Project (GSD + Superpowers for Quality)
/brainstorming ← Superpowers: design before planning
↓
/gsd:new-project ← GSD: project structure + roadmap
↓
/gsd:plan-phase N ← GSD: detailed phase plan
↓
/gsd:execute-phase N ← GSD: runs tasks with atomic commits
├── /systematic-debugging ← Superpowers: if bug during execution
└── /test-driven-development ← Superpowers: TDD within each task
↓
/requesting-code-review ← Superpowers: review before moving on
↓
/gsd:verify-work N ← GSD: UAT validation
↓
/verification-before-completion ← Superpowers: evidence-based "done"
↓
/gsd:progress ← GSD: route to next phase
Single-Session Task (Superpowers Only)
/brainstorming ← Explore intent, produce spec
↓
/writing-plans ← Break into TDD tasks
↓
/executing-plans ← Run tasks sequentially
OR /subagent-driven-development ← Run tasks via parallel subagents
├── /systematic-debugging ← If issues arise
└── /test-driven-development ← TDD per task
↓
/requesting-code-review ← Review before done
↓
/verification-before-completion ← Prove it works
↓
/finishing-a-development-branch ← Merge, PR, or cleanup
Edge Case Decision Trees
"Debug this" — Which Tool?
digraph debug {
"Bug reported" [shape=doublecircle];
"GSD active?" [shape=diamond];
"Bug related to current phase?" [shape=diamond];
"Will span multiple sessions?" [shape=diamond];
"/gsd:debug" [shape=box, style=filled, fillcolor=lightblue];
"/systematic-debugging" [shape=box, style=filled, fillcolor=lightyellow];
"Bug reported" -> "GSD active?";
"GSD active?" -> "Bug related to current phase?" [label="yes"];
"GSD active?" -> "Will span multiple sessions?" [label="no"];
"Bug related to current phase?" -> "/gsd:debug" [label="yes"];
"Bug related to current phase?" -> "/systematic-debugging\nthen /gsd:quick to commit" [label="no"];
"Will span multiple sessions?" -> "/gsd:debug" [label="yes, need persistence"];
"Will span multiple sessions?" -> "/systematic-debugging" [label="no, fix it now"];
}"Plan this" — Which Tool?
digraph plan {
"Planning requested" [shape=doublecircle];
"GSD active?" [shape=diamond];
"Feature in roadmap?" [shape=diamond];
"/gsd:plan-phase N" [shape=box, style=filled, fillcolor=lightblue];
"/gsd:add-phase or /gsd:quick" [shape=box, style=filled, fillcolor=lightcyan];
"/brainstorming then /writing-plans" [shape=box, style=filled, fillcolor=lightyellow];
"Planning requested" -> "GSD active?";
"GSD active?" -> "Feature in roadmap?" [label="yes"];
"GSD active?" -> "/brainstorming then /writing-plans" [label="no"];
"Feature in roadmap?" -> "/gsd:plan-phase N" [label="yes, phase N"];Read more
name: workflow-routing description: Use at the start of any task to route between Superpowers skills and GSD commands based on project state, task scope, and context signals. Fires before other skills when both systems are installed. domain: foundational
Workflow Routing: Superpowers + GSD
**Announce at start:** "Workflow Routing skill activated."
Route every task to the right toolchain. Superpowers handles **task-level quality** (TDD, debugging, design, review). GSD handles **project-level orchestration** (phases, milestones, persistent state). They are complementary — never competing.
<HARD-GATE> Check routing BEFORE invoking any other skill or GSD command. This skill fires first. </HARD-GATE>
Detection: Is GSD Active?
Check the current working directory:
digraph detect {
".planning/ exists?" [shape=diamond];
"ROADMAP.md exists?" [shape=diamond];
"GSD ACTIVE" [shape=box, style=filled, fillcolor=lightblue];
"GSD NOT ACTIVE" [shape=box, style=filled, fillcolor=lightyellow];
".planning/ exists?" -> "ROADMAP.md exists?" [label="yes"];
".planning/ exists?" -> "GSD NOT ACTIVE" [label="no"];
"ROADMAP.md exists?" -> "GSD ACTIVE" [label="yes"];
"ROADMAP.md exists?" -> "GSD NOT ACTIVE\n(stale or pre-roadmap)" [label="no"];
}**GSD active signals:** `.planning/PROJECT.md`, `.planning/ROADMAP.md`, `.planning/STATE.md` all present.
Primary Routing Decision
digraph route {
"Task received" [shape=doublecircle];
"GSD active?" [shape=diamond];
"Task in current phase scope?" [shape=diamond];
"Scope: multi-phase?" [shape=diamond];
"Use GSD commands" [shape=box, style=filled, fillcolor=lightblue];
"Use /gsd:quick" [shape=box, style=filled, fillcolor=lightcyan];
"Suggest /gsd:new-project" [shape=box, style=filled, fillcolor=lightblue];
"Use Superpowers skills" [shape=box, style=filled, fillcolor=lightyellow];
"Task received" -> "GSD active?";
"GSD active?" -> "Task in current phase scope?" [label="yes"];
"GSD active?" -> "Scope: multi-phase?" [label="no"];
"Task in current phase scope?" -> "Use GSD commands" [label="yes"];
"Task in current phase scope?" -> "Use /gsd:quick" [label="no, small/unrelated"];
"Scope: multi-phase?" -> "Suggest /gsd:new-project" [label="yes"];
"Scope: multi-phase?" -> "Use Superpowers skills" [label="no"];
}Scope Signals
| Signal | Indicates | Route | |--------|-----------|-------| | "build app", "create platform", "new project", "implement system" | Multi-phase | GSD | | "phase", "milestone", "roadmap", "epic", "release" | Multi-phase | GSD | | 6+ features, 2+ weeks, architectural decisions needed | Multi-phase | GSD | | "fix bug", "add button", "update function", "refactor method" | Single-session | Superpowers | | "quick fix", "hotfix", "one more thing" | Small/ad-hoc | Superpowers or `/gsd:quick` if GSD active | | Unknown scope, user unsure | Undetermined | `/brainstorming` first to scope, then decide |
Combined Workflows
Multi-Phase Project (GSD + Superpowers for Quality)
/brainstorming ← Superpowers: design before planning ↓ /gsd:new-project ← GSD: project structure + roadmap ↓ /gsd:plan-phase N ← GSD: detailed phase plan ↓ /gsd:execute-phase N ← GSD: runs tasks with atomic commits ├── /systematic-debugging ← Superpowers: if bug during execution └── /test-driven-development ← Superpowers: TDD within each task ↓ /requesting-code-review ← Superpowers: review before moving on ↓ /gsd:verify-work N ← GSD: UAT validation ↓ /verification-before-completion ← Superpowers: evidence-based "done" ↓ /gsd:progress ← GSD: route to next phase
Single-Session Task (Superpowers Only)
/brainstorming ← Explore intent, produce spec ↓ /writing-plans ← Break into TDD tasks ↓ /executing-plans ← Run tasks sequentially OR /subagent-driven-development ← Run tasks via parallel subagents ├── /systematic-debugging ← If issues arise └── /test-driven-development ← TDD per task ↓ /requesting-code-review ← Review before done ↓ /verification-before-completion ← Prove it works ↓ /finishing-a-development-branch ← Merge, PR, or cleanup
Edge Case Decision Trees
"Debug this" — Which Tool?
digraph debug {
"Bug reported" [shape=doublecircle];
"GSD active?" [shape=diamond];
"Bug related to current phase?" [shape=diamond];
"Will span multiple sessions?" [shape=diamond];
"/gsd:debug" [shape=box, style=filled, fillcolor=lightblue];
"/systematic-debugging" [shape=box, style=filled, fillcolor=lightyellow];
"Bug reported" -> "GSD active?";
"GSD active?" -> "Bug related to current phase?" [label="yes"];
"GSD active?" -> "Will span multiple sessions?" [label="no"];
"Bug related to current phase?" -> "/gsd:debug" [label="yes"];
"Bug related to current phase?" -> "/systematic-debugging\nthen /gsd:quick to commit" [label="no"];
"Will span multiple sessions?" -> "/gsd:debug" [label="yes, need persistence"];
"Will span multiple sessions?" -> "/systematic-debugging" [label="no, fix it now"];
}"Plan this" — Which Tool?
digraph plan {
"Planning requested" [shape=doublecircle];
"GSD active?" [shape=diamond];
"Feature in roadmap?" [shape=diamond];
"/gsd:plan-phase N" [shape=box, style=filled, fillcolor=lightblue];
"/gsd:add-phase or /gsd:quick" [shape=box, style=filled, fillcolor=lightcyan];
"/brainstorming then /writing-plans" [shape=box, style=filled, fillcolor=lightyellow];
"Planning requested" -> "GSD active?";
"GSD active?" -> "Feature in roadmap?" [label="yes"];
"GSD active?" -> "/brainstorming then /writing-plans" [label="no"];
"Feature in roadmap?" -> "/gsd:plan-phase N" [label="yes, phase N"];Meet Coco. A superintelligent agent framework powered by an advisory board of 389 world-class minds. Scale your AI assistant into a complete engineering department with 142 skills, 277 commands, and persistent state. Universal compatibility. Local privacy. Free and open source.
Repo: coco-research/coco
Other skills on coco.
- /create-rule
Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.
Open skill - /create-skill
Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill, or asks about skill structure, best practices, or SKILL.md format.
Open skill - /create-subagent
Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific agents, configure code reviewers, debuggers, or domain-specific assistants with custom prompts.
Open skill - /migrate-to-skills
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when the user wants to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands
Open skill - /update-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when the user wants to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
Open skill - /agent-lightning
Train and optimize AI agents using Microsoft's Agent Lightning framework with reinforcement learning. Use when setting up agent training, instrumenting agents with tracing, configuring LightningStore, implementing reward functions, or optimizing prompts with RL/APO algorithms.
Open skill

