← Catalog

@pi-minimal/plan-mode

Minimal plan mode for pi: /plan toggles a read-only instruction in the system prompt.

Extension

Install

Install with PiG

pig install npm:@pi-minimal/plan-mode

Install with Pi

pi install npm:@pi-minimal/plan-mode
Review 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": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.0.2 (README.md). PiG does not review it.

@pi-minimal/plan-mode

/plan toggles plan mode. When on, the system prompt tells the agent to stay read-only and output a plan. Nothing is blocked: the agent is trusted to obey.

Install

pi install npm:@pi-minimal/plan-mode

Settings

Put settings in ~/.pi/agent/settings.json (global) or .pi/settings.json (project), under "pi-minimal"."plan-mode". Merge the keys; do not overwrite the file. Settings are read at session start (use /reload).

KeyTypeDefaultMeaning
keyboardShortcutstring (key id)ctrl+alt+pShortcut that toggles plan mode. No pi default uses it. Some terminals need Alt/Option set as Meta, and multiplexers such as tmux may drop modifiers. If it does not work, pick another key.
{ "pi-minimal": { "plan-mode": { "keyboardShortcut": "ctrl+alt+o" } } }