agentsclimarketplace

Workflow router

Skill alainlebret/claude-agents/higher-ed-teaching-agents/skills/workflow-router

Selects the best workflow-spec dynamically from the repository, computes the minimal skill chain, and emits a deterministic routing decision with confidence and fallback. Use when the orchestrator receives a pedagogical request and must choose among multiple workflows without hardcoded chains.From its SKILL.md

Install
npx -y skills add alainlebret/claude-agents --skill workflow-router

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.0 KB, 353 tokens by cl100k_base, as published. Nobody here has run it

Workflow Router

Goal

Map an instructor request to exactly one workflow in workflows/*/workflow-spec.json, with explicit rationale and fallback behavior.

Inputs

  • Instructor request (free text)
  • Optional mission.json
  • Repository workflow inventory under workflows/

Produce

Write routing-decision.json with:

  • request_summary
  • candidate_workflows (ranked)
  • selected_workflow
  • selected_reason
  • confidence (high|medium|low)
  • required_skills
  • optional_skills_selected
  • skip_conditions_applied
  • human_confirmation_required (bool)
  • fallback_workflow

Selection policy

  1. Discover candidates by reading all workflow-spec.json files.
  2. Score candidates on:
  • intent match (create, redesign, evaluate, validate, benchmark);
  • artifact intent (exam/lab/course/project/grading/figures);
  • constraints (language_mode, evaluation_mode, level, duration, toolchain);
  • required input availability.
  1. Select the highest score only if score gap to second candidate is significant.
  2. If ambiguity remains, set human_confirmation_required: true.

Skill-chain policy

  • Start from workflow execution_order.
  • Apply skip_conditions if artifacts already exist and pass validators.
  • Add optional skills only when their trigger in optional_extensions is satisfied.
  • Never invent a skill not present in workflow spec.

Rules

  • Do not use hardcoded workflow names in logic; load from repository each run.
  • Emit one selected workflow, never multiple.
  • If confidence is low, provide a fallback and require confirmation before generation.
  • Keep routing deterministic for same inputs and same repository state.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 619,758. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.