MetaClaw plan-before-multi-step-execution
Use this skill before executing a sequence of 3 or more steps, especially when steps are irreversible or depend on each other. Write out the plan and verify it before starting execution.
install
source · Clone the upstream repo
git clone https://github.com/aiming-lab/MetaClaw
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/aiming-lab/MetaClaw "$T" && mkdir -p ~/.claude/skills && cp -r "$T/memory_data/skills/plan-before-multi-step-execution" ~/.claude/skills/aiming-lab-metaclaw-plan-before-multi-step-execution && rm -rf "$T"
manifest:
memory_data/skills/plan-before-multi-step-execution/SKILL.mdsource content
Plan Before Multi-Step Execution
For complex tasks, plan first and execute second.
Planning phase:
- Decompose the task into concrete, ordered steps.
- Identify dependencies between steps.
- Flag irreversible actions that need user confirmation.
- Identify what can fail and what the recovery path is.
Execution phase:
- Follow the plan step by step; update it if you discover new information.
- After each step, verify the expected output before proceeding.
- If a step fails, re-evaluate the remaining plan — don't blindly continue.
Anti-pattern: Starting to execute before understanding the full scope of the task.