Loading...
Loading...
Dynamic orchestration engine that plans multi-step agent work as DAGs with Mermaid visualization.
npx skill4agent add arthur0824hao/skills skill-system-workflowworkflow-dag.yamlflowchart TDrecipes/*.yamltrigger_patternsprompts/plan-workflow.mdagent_typestatusplanrecipes/goaltrigger_patternsprompts/plan-workflow.mdscripts/plan-and-visualize.mdvisualizewaves[*].tasks[*]flowchart TDsubgraphdepends_onlist-recipesrecipes/namedescriptionprompts/plan-workflow.mdschema/workflow-dag.yamlschema/recipe.yamlrecipes/*.yamlscripts/plan-and-visualize.mdnametrigger_patternswaveswaves[*].parallelwaves[*].tasks[*].depends_onschema/recipe.yamlflowchart TDsubgraph waveN [Wave N: <description>]task_id<agent_type>\n<task name>task_id(["<agent_type>\\n<name>"])start((Start))end((End))statusclassDef pending fill:#fef3c7,stroke:#f59e0b,stroke-width:2px,color:#92400e
classDef running fill:#dbeafe,stroke:#3b82f6,stroke-width:2px,stroke-dasharray: 5 5,color:#1e40af
classDef done fill:#d1fae5,stroke:#10b981,stroke-width:2px,color:#065f46
classDef failed fill:#fee2e2,stroke:#ef4444,stroke-width:3px,color:#991b1bpendingrunningdonefaileddepends_on{
"schema_version": "2.0",
"id": "skill-system-workflow",
"version": "1.0.0",
"capabilities": ["workflow-plan", "workflow-visualize", "workflow-list-recipes"],
"effects": ["fs.read", "db.read"],
"operations": {
"plan": {
"description": "Analyze a goal and produce an execution plan as a DAG with Mermaid visualization.",
"input": {
"goal": {"type": "string", "required": true, "description": "User's goal or task description"},
"context": {"type": "string", "required": false, "description": "Additional context (files, constraints)"}
},
"output": {
"description": "Workflow DAG YAML + Mermaid diagram",
"fields": {"dag": "YAML", "mermaid": "string"}
},
"entrypoints": {
"agent": "Follow scripts/plan-and-visualize.md procedure"
}
},
"visualize": {
"description": "Convert an existing DAG YAML to a Mermaid flowchart.",
"input": {
"dag_yaml": {"type": "string", "required": true, "description": "DAG YAML content"}
},
"output": {
"description": "Mermaid flowchart string",
"fields": {"mermaid": "string"}
},
"entrypoints": {
"agent": "Apply Mermaid conventions from SKILL.md to the DAG"
}
},
"list-recipes": {
"description": "List available workflow recipes.",
"input": {},
"output": {
"description": "Array of recipe names and descriptions",
"fields": {"recipes": "array"}
},
"entrypoints": {
"agent": "List files in recipes/ directory"
}
}
},
"stdout_contract": {
"last_line_json": false,
"note": "Agent-executed procedures; output is DAG YAML + Mermaid text."
}
}