1.4 KiB
1.4 KiB
Plan mode extension
Claude Code-style plan mode for pi.
Features
/plantoggles read-only planning modeCtrl+Alt+Ptoggles plan mode on/off/plan executeruns the last approved plan in the current session with full tools restored/plan execute freshstarts a fresh session and carries the approved plan into it for execution- extracts numbered steps from a
Plan:section - tracks progress with
[DONE:n]markers during execution - restores your previous active tool set after plan mode ends
- keeps
subagentavailable in plan mode when you intentionally want to use helper agents during planning
Commands
/plan/plan on/plan off/plan execute/plan execute fresh/plan status/plan clear
Shortcut
Ctrl+Alt+P— toggle plan mode
Behavior
When plan mode is enabled, pi switches to read-only exploration and asks the model to produce a numbered Plan: section.
After planning finishes, the extension shows a chooser so you can:
- execute now
- execute in a fresh session
- send custom feedback / continue discussion
- stay in plan mode
When you execute the plan in the current session, the extension restores your previous tools and asks the model to complete the steps while emitting [DONE:n] markers.
If you use /plan execute fresh, the extension creates a new session, carries over the approved plan and planner notes, restores the full tool set there, and starts execution in that fresh context.