/prewalk
Arm a prewalk run: explore and plan on a frontier model, land the first verified edit, then pause for an explicit executor handoff.
$ npx -y skills add TerenceLiu98/prewalk --skill prewalk --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/prewalk
Context preview
The summary Claude sees to decide when to auto-load this skill.
Arm a prewalk run: explore and plan on a frontier model, land the first verified edit, then pause for an explicit executor handoff.
SKILL.md
prewalk.SKILL.mdname: prewalk description: Arm a prewalk run: explore and plan on a frontier model, land the first verified edit, then pause for an explicit executor handoff.
Prewalk
Arm the current session:
python3 "${CLAUDE_PLUGIN_ROOT}/hooks/_arm.py" arm "$CLAUDE_SESSION_ID" "$ARGUMENTS"Options must precede task text: `--preset <name>` selects a preset and `--fast` enables automatic handoff after validation (`--no-pause` is a legacy alias). Follow the reported planner model and thinking setting only through controls the host actually supports.
If the task is clearly one or two small edits, finish it directly. Otherwise:
1. Explore the relevant entry points, configuration, tests, and existing patterns. 2. Create at most the configured number of todos. Every real todo names concrete files or behavior and includes a test/build/verify/check criterion. 3. Add a final `PAUSE for handoff` todo. 4. Complete and verify only real task #1. 5. Update the todo snapshot so task #1 is `completed` and the PAUSE item is present. 6. Stop with this exact structured packet. Do not start task #2.
Goal: Files Read: Constraints And Existing Patterns: Full Todo List: Task 1 Changes: Verification Already Run: Remaining Work: Risks / Do Not Repeat:
Do not claim that handoff occurred. `/pw-go` requests it; the Task result hook confirms it.
Prewalk lets a strong planner do the expensive repository work, then gives a configured executor a verified starting point and a self-contained handoff: Use it for changes where understanding the repository is a meaningful part of the work.
Other skills on prewalk.
- /pw-doctor
Diagnose the Prewalk installation, presets, hook manifest, state directory, and Claude Task routing setup.
Open skill - /pw-go
Request the reviewed prewalk handoff and spawn exactly one routed Claude Task for the remaining todos.
Open skill - /pw-off
Disarm Prewalk for the current Claude Code session without changing files or todos.
Open skill - /pw-resume
Recover a Claude Prewalk handoff only when a successful executor Task result was observed but its PostToolUse hook did not run.
Open skill - /pw-revise
Prewalk — revise the plan on the frontier model instead of handing off. Stay on the current (planner) model, fold in the requested changes, re-verify task #1 if it changed, then re-add the ⏸️ PAUSE checkpoint.
Open skill - /pw-status
Show the current Prewalk phase, models, routing attempts, checkpoint evidence, remaining todos, and last error.
Open skill

