Install
Install with PiG
pig install npm:pi-planInstall with Pi
pi install npm:pi-planReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./extensions/plan"
]
}README
Written by the package's publisher, shown as published in version 0.2.0 (README.md). PiG does not review it.
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 (rendered as✓ step n) - Widget shows completion status in real time
- Plan messages render as expandable checklist cards
Completion is detected after the agent fully settles, so retries, compaction, and queued follow-ups do not trigger a premature "plan complete" prompt.
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.)
- User shell:
!/!!commands are checked against the same whitelist - Blocked: File modifications, git writes, package installs, sudo, editors
License
MIT