hf-workflow-router

Route HF workflow stages using artifact evidence and escalation signals.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/hujianbest/garage-agent --skill hf-workflow-router
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-workflow-router
Source: https://github.com/hujianbest/garage-agent/tree/main/packs/coding/skills/hf-workflow-router
Command: npx skills add https://github.com/hujianbest/garage-agent --skill hf-workflow-router

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

HF workflow family 的 runtime authority。负责根据最新证据决定:Workflow Profile、Execution Mode、Workspace Isolation、canonical 节点、是否切支线、review dispatch、恢复编排。

Core Features & Use Cases

  • Finite State Machine (FSM) Routing to model workflow stages and drive transitions with artifact evidence.
  • Evidence-Based Decision Making to route based on disk-stored artifact state rather than chat memory.
  • Escalation Pattern to progressively upgrade profiles and dispatch reviewers as needed.
  • Seamless recovery and routing decisions when reviews/gates complete or evidence changes.

Quick Start

Provide a compact routing decision for the current evidence and output Current Stage, Workflow Profile, Execution Mode, Workspace Isolation, and Target Skill.

Frequently Asked Questions about hf-workflow-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate workflow routing based on artifact evidence instead of chat history?

Workflow routing uses a finite state machine to evaluate disk-stored artifact evidence, current profiles, and escalation signals to determine runtime routing choices and output the target skill. It drives transitions based on approved specs, progress, reviews, and completion artifacts rather than chat memory.

What is evidence-driven decision making for workflow recovery?

Evidence-driven decision making for workflow recovery evaluates the latest disk-stored artifacts, such as reviews and verification gates, to seamlessly route the workflow. It determines runtime routing choices including current stage, workflow profile, execution mode, and workspace isolation to restore operations.

How do I determine the correct execution mode and workspace isolation for my current stage?

To determine execution mode and workspace isolation, the routing skill evaluates the latest artifact evidence and current profile. It outputs the target skill alongside runtime routing choices, including current stage, workflow profile, execution mode, and workspace isolation.

Can I upgrade workflow profiles and dispatch reviewers automatically based on escalation signals?

Yes, you can upgrade workflow profiles and dispatch reviewers automatically using an escalation pattern. The routing skill progressively upgrades profiles and dispatches reviewers as needed, relying on the latest artifact evidence and escalation signals to drive the transition.

When should I not use chat memory for workflow routing decisions?

You should not use chat memory for workflow routing when you need reliable recovery and escalation. The routing skill relies on disk-stored artifact state, such as approved specs, progress, and verification, rather than chat memory to drive transitions and determine the target skill.