Skill-Flow-Orchestrator (SFO)
Production-ready Skill Orchestration System that transforms isolated skills into an intelligent, self-coordinating ecosystem.
Core Capabilities
- Intelligent Routing - Match task DNA to skill DNA for optimal selection
- Flow Composition - Build skill chains as Directed Acyclic Graphs (DAGs)
- Context Management - Persist state across skill executions (hybrid: memory file + in-prompt)
- Chain Templates - Save successful chains as reusable workflows
- Adaptive Learning - Optimize routing based on execution outcomes
When to Use
- Complex tasks: Require multiple skills working together
- Automated selection: Need intelligent skill routing based on task analysis
- Workflow reuse: Save and replay successful skill combinations
- Context continuity: Need state persistence across skill boundaries
- Pipeline automation: Building multi-stage processing workflows
4 Orchestration Modes
| Mode |
Duration |
Features |
Best For |
| QUICK |
1-2 min |
Basic routing, single skill |
Simple task delegation |
| STANDARD |
5-10 min |
Multi-skill chains, context passing |
Common workflows |
| DEEP |
15-30 min |
Full DAG composition, parallel execution |
Complex pipelines |
| EXPERT |
Custom |
Learning optimization, template management |
Production workflows |
Quick Start
1. Scan Available Skills
python3 .agent/skills/skill-flow-orchestrator/scripts/scan_skills.py
Output: .agent/sfo/skill_index.json - indexed skills with DNA
2. Match Skills to Task
python3 .agent/skills/skill-flow-orchestrator/scripts/match_skills.py "<task_description>"
Returns ranked skills with match scores
3. Orchestrate Workflow
python3 .agent/skills/skill-flow-orchestrator/scripts/orchestrate.py --mode standard "<task>"
Orchestration Workflow
- INTAKE - Parse task, extract requirements
- ANALYZE - Match task DNA with skill DNA using semantic matching
- COMPOSE - Build execution DAG from matched skills
- EXECUTE - Run skills in order, passing context
- ADAPT - Log outcomes, update routing weights
Context Management
- Long-term state:
.agent/sfo/context.json
- Chain templates:
.agent/sfo/templates/
- Execution logs:
.agent/sfo/logs/
References