workflow-router
/workflow-router
Matches raw prompts to canonical framework workflows before any pipeline phase begins. Use when any request comes in, first; with no matching rule it returns no workflow match.
- Author
- eliyce ↗
- Repository
- paqad-ai ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 8
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/lint-output.sh, scripts/route-request.sh
What it does and when to use it
Matches raw prompts to canonical framework workflows before any pipeline phase begins. Use when any request comes in, first; with no matching rule it returns no workflow match.
Original author description
Matches raw prompts to canonical framework workflows before any pipeline phase begins. Use when any request comes in, first; with no matching rule it returns no workflow match.
How it works
- What It Does
- Use This When
- Inputs
- Procedure
- Output Contract
- Escalate / Stop Conditions
- Resources
SKILL.md preview
---
name: workflow-router
description: 'Matches raw prompts to canonical framework workflows before any pipeline phase begins. Use when any request comes in, first; with no matching rule it returns no workflow match.'
metadata:
model_tier: fast
cacheable: 'true'
output_format: yaml
paqad-meta: skill.meta.yaml
---
## What It Does
Routes the incoming request into one canonical workflow before the pipeline starts so prompt aliases and typo variants live in skill content instead of hardcoded TypeScript checks.
## Use This When
First for every incoming request. If no routing rule matches, stop and return no workflow match instead of guessing.
## Inputs
- Read the raw request text first.
- Check the canonical project profile only when it changes whether a matched workflow is valid.
- Check project workflow templates when a rule targets `custom:{workflow-name}`.
## Procedure
1. Pipe the raw request into `scripts/route-request.sh`: it lowercase-normalizes, walks `assets/routing-rules.txt` (priority ordered, longest-pattern tiebreak), and emits the YAML decision.
2. When a rule targets `custom:{workflow-name}`, the LLM confirms the template exists before returning it (script does not).
3. Validate with `scripts/lint-output.sh`.
## Output Contract
- Match `assets/output.template.yaml`: `workflow:`, `reason:`, `matched_rule:` (or `workflow: none` + `reason:` only).
- Output must pass `scripts/lint-output.sh` (exit 0).
## Escalate / Stop Conditions
- Do not invent a workflow when no rule matches.
- Warn when a custom workflow target is missing from the project.
## Resources
- `references/routing-rules.md`
- `scripts/route-request.sh`
- `scripts/lint-output.sh`
- `assets/routing-rules.txt`
- `assets/output.template.yaml`
- `agents/openai.yaml`
Files in this package (8)
- SKILL.md 2 KB
- skill.meta.yaml 3 KB
- agents/openai.yaml 1 KB
- assets/output.template.yaml 1 KB
- assets/routing-rules.txt 4 KB
- references/routing-rules.md 1 KB
- scripts/lint-output.sh 1 KB
- scripts/route-request.sh 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · eliyce/paqad-ai | 90 | MIT |
| KerberosClaw/kc_ai_skills | 100 | MIT |
Database snapshot: 13.11.2026 · package version 8e7cfa3e63df (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90designing-workflow
Designs workflow structure. Use when planning a workflow, choosing which phases to include, or selecting a workflow pattern for a task. - 100compress-prompt
Compress a Rosetta KB prompt artifact (skill · workflow · phase · rule · agent · template · generic) by stripping structural tautology and ineffective scaffolding while preserving every importance-bearing token. Use when the user asks to compress, shorten, tighten, densify, or… - 100run-workflow
How to write and run a dynamic workflow script with the `run_workflow` tool: a Python script that orchestrates many agents with `agent`, `parallel`, `pipeline`, and `phase`. Use when a task splits into many independent or staged pieces of agent work (fan out over files, modules,… - 90agent-workflow
Create, update, run, resume, or continue agent workflows. Use when the user asks to create or fix workflow JSON, execute an existing workflow, run a workflow with a prompt, resume a workflow run, or continue the next node in a waiting multi-step workflow. - 90using-requirements-framework
Use when starting any conversation to establish skill discovery and invocation practices - 100skill-router
This skill should be used when the user has a vague or cross-domain request and asks "which skill should I use", "is there a skill for this", "find the right skill", or "route this to the best skill" — it matches an intent against the whole skills library and recommends the best-fit skill(s).