← Catalog

pi-big-prompt

Pi extension: /edit writes and sends big prompts from your $EDITOR, like git commit

Extension

Install

Install with PiG

pig install npm:pi-big-prompt

Install with Pi

pi install npm:pi-big-prompt
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.

Video

Declared by the package manifest. Open the file ↗

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/akanksh-ch/big-prompt/main/shots/after-hx.png",
  "video": "https://raw.githubusercontent.com/akanksh-ch/big-prompt/main/shots/demo.mp4",
  "extensions": [
    "./extensions/big-prompt.ts"
  ]
}

README

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

big-prompt

Pi extension. /edit opens your editor to write long prompts.

  • Editor: $VISUAL, then $EDITOR, then nano/vim/vi (*nix) or notepad (Windows).
  • Works like git commit: write the prompt, save and quit, and it is sent. Empty text or a non-zero editor exit (:cq) aborts and sends nothing.
  • Starting text: /edit <text> args, else current input box text.
  • If the agent is busy, the prompt is queued as a follow-up.
  • Lines starting with # are kept (markdown headings), unlike git.
  • GUI editors need a wait flag, e.g. EDITOR="code -w".

Install: pi install /path/to/big-prompt or pi -e ./extensions/big-prompt.ts.

Tests

npm test (Node 22.18+ runs the TypeScript directly, no build step).