@firstpick/pi-extension-plan-mode-toggle

Toggleable planning mode extension for Pi with model switching, mandatory planning survey, and PLAN.md quality guards.

Package details

extension

Install @firstpick/pi-extension-plan-mode-toggle from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@firstpick/pi-extension-plan-mode-toggle
Package
@firstpick/pi-extension-plan-mode-toggle
Version
0.1.0
Published
May 4, 2026
Downloads
not available
Author
firstpick
License
MIT
Types
extension
Size
19.6 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-extension-plan-mode-toggle

Plan mode extension for Pi.

What it does

  • Toggle plan mode with Ctrl+Q or /plan-mode on|off|status.
  • Optionally select a dedicated planning model with /plan-model.
  • Runs a mandatory planning questionnaire before transforming prompts.
  • Forces structured PLAN.md planning output and checks for web evidence links.
  • Archives PLAN.md snapshots to ~/.pi/agent/docs/<topic>/PLAN.md.

Install

pi install npm:@firstpick/pi-extension-plan-mode-toggle

Requirements

  • brave_search tool must be available in Pi.
  • BRAVE_SEARCH_API_KEY must be set in Pi environment.

Commands

  • /plan-mode on|off|status
  • /plan-model [select|provider/model-id]

Shortcut

  • Ctrl+Q — toggle/arm plan mode.