Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Workflow automation using MCP (Model Context Protocol) patterns inspired by Jason Zhou
Workflow automation using MCP (Model Context Protocol) patterns inspired by Jason Zhou
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
# Start MCP Server node scripts/mcp-server.js # Run a workflow ./scripts/workflow-engine.sh run <workflow-name> [--input <json>] # List available workflows ./scripts/workflow-engine.sh list # Create new workflow from template ./scripts/workflow-engine.sh create <name> --from <template> # Validate workflow ./scripts/workflow-engine.sh validate <workflow-file>
This skill implements workflow automation using the Model Context Protocol (MCP), enabling: Prompt Chains: Multi-step prompt sequences Dynamic Workflows: Context-aware adaptation Resource Integration: File/data embedding Cross-Server Coordination: Multi-MCP orchestration
plan โ generate โ execute โ validate
context โ adapt โ generate โ output
resource://{type}/{id} โ load โ embed โ process
trigger โ validate โ dispatch โ execute
TemplateDescriptionUse Casemeal-plannerWeekly meal planningNutrition, shopping listscode-reviewAutomated code reviewPR analysis, quality checksweekly-reportStatus report generationTeam updates, metricsdocumentation-generatorDoc generationAPI docs, changelogs
file://{path} - File system access memory://{key} - Memory storage config://{section} - Configuration values
workflow.run - Execute workflow workflow.list - List workflows workflow.validate - Validate workflow JSON prompt.render - Render prompt template
chain:plan - Planning prompt chain:generate - Generation prompt chain:review - Review prompt
./scripts/workflow-engine.sh run meal-planner \ --input '{"diet":"vegetarian","days":7,"budget":50}'
./scripts/workflow-engine.sh run code-review \ --input '{"repo":"myapp","pr":123}'
./scripts/workflow-engine.sh run weekly-report \ --input '{"project":"dashboard","week":"2024-W01"}'
Keep steps atomic and focused Use clear input/output contracts Implement error handling at each step Version your workflows
Use system prompts for context Provide examples in few-shot prompts Chain prompts for complex tasks Validate outputs before next step
Use URI patterns consistently Cache frequently accessed resources Clean up temporary resources Document resource schemas
Define clear interfaces between servers Use standardized message formats Implement health checks Handle timeouts gracefully
Create ~/.openclaw/mcp-workflow.json: { "servers": [ { "name": "local", "command": "node scripts/mcp-server.js", "env": {} } ], "workflowsDir": "./workflows", "templatesDir": "./scripts/templates", "defaultTimeout": 30000 }
Use in your OpenClaw session: # Load the skill openclaw skill load mcp-workflow # Run workflow openclaw workflow run meal-planner --input '{"days":5}'
MCP Specification Workflow Patterns Jason Zhou Insights
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.