pi-plan
Plan mode for pi — read-only exploration with plan-then-execute workflow
Package details
Install pi-plan from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-plan- Package
pi-plan- Version
0.1.1- Published
- May 7, 2026
- Downloads
- 120/mo · 120/wk
- Author
- zx06
- License
- MIT
- Types
- extension
- Size
- 23.5 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions/plan"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-plan
Plan mode for pi — read-only exploration and structured plan execution.
Install
pi install npm:pi-plan
Usage
Toggle plan mode
/plan
Or press Ctrl+Alt+P, or start with --plan flag:
pi --plan
Workflow
- Run
/planto enter read-only plan mode - Ask the agent to analyze your code and create a plan
- The agent outputs a numbered
Plan:section - Choose to Execute, Stay in plan mode, or Refine
- During execution, progress is tracked via
[DONE:n]markers - Widget shows completion status in real time
Commands
| Command | Description |
|---|---|
/plan |
Toggle plan mode |
/plan:status |
Show current plan and progress |
What gets restricted in plan mode
- Tools: Only
read,bash,grep,find,lsare available - Bash: Only read-only commands (cat, grep, git status, etc.)
- Blocked: File modifications, git writes, package installs, sudo, editors
License
MIT