/install multi-step-workflow
Standard Task SOP (High-Trust Edition)
Follow this adaptive workflow to ensure task reliability and professional-grade execution.
Phase 0: Triage & Analyze
- Analyze: Assess task scope within the workspace.
- Threshold Check:
- Simple Path: \x3C 3 steps. Direct execution.
- Standard Path: >= 3 steps. Follow Path B.
[Path A] Simple Path
- Confirm intent -> Execute -> Report. DONE.
[Path B] Standard Path (Machine-Gated)
For complex engineering, act as a Manager and ensure all workers are Sandboxed.
Phase 1: Confirm
Summarize your understanding and align on the objective.
Phase 2: Create Plan
- Decompose: Register steps in
task-tracker.js. - Parallelize: Identify independent sub-tasks for delegation.
- Draft Plan: Create
implementation_plan.md. Be explicit about worker scope.
Phase 3: Obtain Approval (Planning Mode - THE GATE)
[!IMPORTANT] YOU ARE IN PLANNING MODE.
- Present plan. MUST YIELD and wait for user approval.
- GATING: Once approved, YOU MUST RUN:
node scripts/approve.js "\x3Ctask>"- DO NOT modify any files until this symbolic gate script is run.
Phase 4: Execute (Autonomous Loop)
[!TIP] YOU ARE IN AUTONOMOUS LOOP.
- Sequential by Default: Execute the plan steps sequentially yourself.
- Configurable Sub-agents: BEFORE parallelizing work:
- Check Configuration: Run
openclaw config get skills.entries.multi-step-workflow.config.- Initialization: If config is empty or errors, run
openclaw config set skills.entries.multi-step-workflow.config '{"useSubAgents": false, "maxSubAgents": 3, "useSnapshots": false}' --strict-json.- Modify Configuration (if needed): Run
openclaw config set skills.entries.multi-step-workflow.config.\x3Ckey> \x3Cvalue> --strict-json.- Defaults (if missing):
useSubAgents: false,maxSubAgents: 3.- If
useSubAgentsisfalse, DO NOT use spawn.- If
useSubAgentsistrue, you may usespawn(limit:maxSubAgents).- RESTRICTION: Do NOT use
spawnfor arbitrary OS commands or network scanning.- Progress: Mark steps
done. Report each step and IMMEDIATELY move to the next.- Context Preservation (Anti-Amnesia):
- Check
useSnapshots: Runopenclaw config get skills.entries.multi-step-workflow.config(Default:false).- Execute (Only if
useSnapshotsistrue): If you extract a crucial finding OR if the task is taking many turns:node scripts/context-snapshot.js save "\x3Ctask>" "\x3Cfindings>" "\x3Cpending>" ["\x3Clast_error_log>"]- Self-Healing: If you suspect context compaction, run
node scripts/context-snapshot.js loadto recover.
Phase 5: Validate
Verify results (tests, results). If a worker fails, go back to Phase 4.
Phase 6: Review
Evaluate the task and present a final Review summary directly in the chat. Highlight what was done well, what was problematic, and any critical lessons learned. DO NOT auto-write to any memory files. Simply display your review and ask the user if they would like this experience saved to their long-term memory.
Phase 7: Complete
Task finished. Clean up state if necessary.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install multi-step-workflow - 安装完成后,直接呼叫该 Skill 的名称或使用
/multi-step-workflow触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Multi Step Workflow 是什么?
Professional SOP with Machine-Gated Planning, Native-CLI Config, and Audit-Hardened Private Sandbox Storage. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 252 次。
如何安装 Multi Step Workflow?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install multi-step-workflow」即可一键安装,无需额外配置。
Multi Step Workflow 是免费的吗?
是的,Multi Step Workflow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Multi Step Workflow 支持哪些平台?
Multi Step Workflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Multi Step Workflow?
由 chyern(@chyern)开发并维护,当前版本 v4.4.5。