← 返回
未分类 中文

Multi Step Workflow

Professional SOP with Machine-Gated Planning, Native-CLI Config, and Audit-Hardened Private Sandbox Storage.
专业标准操作流程,配备机器门控规划、本地CLI配置和审计加固的私有沙箱存储
chyern chyern 来源
未分类 clawhub v4.4.5 1 版本 99828.5 Key: 无需
★ 0
Stars
📥 582
下载
💾 1
安装
1
版本
#latest

概述

Standard Task SOP (High-Trust Edition)

Follow this adaptive workflow to ensure task reliability and professional-grade execution.

Phase 0: Triage & Analyze

  1. Analyze: Assess task scope within the workspace.
  2. Threshold Check:
    • Simple Path: < 3 steps. Direct execution.
    • Standard Path: >= 3 steps. Follow Path B.

[Path A] Simple Path

  1. 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

  1. Decompose: Register steps in task-tracker.js.
  2. Parallelize: Identify independent sub-tasks for delegation.
  3. 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.

> 1. Present plan. MUST YIELD and wait for user approval.

> 2. GATING: Once approved, YOU MUST RUN: node scripts/approve.js ""

> 3. DO NOT modify any files until this symbolic gate script is run.

Phase 4: Execute (Autonomous Loop)

> [!TIP]

> YOU ARE IN AUTONOMOUS LOOP.

> 1. Sequential by Default: Execute the plan steps sequentially yourself.

> 2. 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. --strict-json.

> - Defaults (if missing): useSubAgents: false, maxSubAgents: 3.

> - If useSubAgents is false, DO NOT use spawn.

> - If useSubAgents is true, you may use spawn (limit: maxSubAgents).

> - RESTRICTION: Do NOT use spawn for arbitrary OS commands or network scanning.

> 3. Progress: Mark steps done. Report each step and IMMEDIATELY move to the next.

> 4. Context Preservation (Anti-Amnesia):

> - Check useSnapshots: Run openclaw config get skills.entries.multi-step-workflow.config (Default: false).

> - Execute (Only if useSnapshots is true): If you extract a crucial finding OR if the task is taking many turns:

> node scripts/context-snapshot.js save "" "" "" [""]

> - Self-Healing: If you suspect context compaction, run node scripts/context-snapshot.js load to 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.

版本历史

共 1 个版本

  • v4.4.5 当前
    2026-05-03 04:52 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,398 📥 322,991
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,470 📥 535,133
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,107 📥 830,412