route-task is an archived, copyable concierge example; it is not installed by
init. Copy examples/init-pack/route-task.tsx and its examples/ dependency
closure into your project, or ask create-workflow to author a repository-specific
router. Once installed, describe what you want in
plain English and it decides whether the work is a quick one-shot task it should
just do, or a durable job that belongs in a real workflow. It then either runs it
or hands you the best-fit workflow to run instead.
Stages
- classify: sort the script into a task
modeand decidedurable(does it need ordering, crash-recovery, approval, or loops?). Cheap/fast agent. - execute: non-durable path. A tool-using agent actually does the work in a
single pass and reports
{ summary, done }. - recommend: durable path. A smart agent points at the single best-fit
available workflow (
implement,research-plan-implement,review,plan,research,grill-me,ralph,debug,audit,create-workflow,create-skill,extract-skill,context-doctor,triage-run,report-slideshow,eval-author,improve-test-coverage) and explains why. The recommendation is schema-enforced to one of those ids, so a hallucinated workflow id fails validation instead of flowing downstream.
execute or recommend runs, gated on the classifier’s durable
verdict.
Inputs
Monitor it
route-task recommends a durable workflow, run it directly, for example
bunx smithers-orchestrator workflow run implement --prompt "…".