@mouhamadalhabash/pi-prompt-popup

A Pi extension that opens a modal prompt editor with slash, file autocomplete, and photo paste support.

Packages

Package details

extension

Install @mouhamadalhabash/pi-prompt-popup from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@mouhamadalhabash/pi-prompt-popup
Package
@mouhamadalhabash/pi-prompt-popup
Version
1.0.1
Published
Jul 19, 2026
Downloads
113/mo · 13/wk
Author
mouhamadalhabash
License
MIT
Types
extension
Size
19.7 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/prompt-popup.ts"
  ]
}

Security note

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

README

@mouhamadalhabash/pi-prompt-popup

A Pi package that adds a floating prompt editor popup.

Features

  • Open a modal prompt editor with Ctrl+Q
  • Transfer the edited prompt back to the main Pi editor with Ctrl+S
  • Enter inserts newlines inside the popup
  • / autocomplete for Pi prompt templates and skills
  • @ file/directory autocomplete using Pi's editor autocomplete
  • Paste clipboard photos with Alt+V and attach them to the next prompt

Install

pi install npm:@mouhamadalhabash/pi-prompt-popup

Usage

  • Press Ctrl+Q in Pi TUI mode to open the prompt popup.
  • Write or edit your prompt. Type / to complete prompt templates or skills, and @ to complete paths.
  • Press Ctrl+S to transfer it back to the main editor.
  • Press Enter in the main editor to submit.
  • Press Esc in the popup to cancel.

You can also run:

/prompt-popup

Photo paste notes

Alt+V supports clipboard images when a suitable clipboard helper is available:

  • Linux Wayland: wl-clipboard
  • Linux X11: xclip or xsel
  • macOS: pngpaste
  • Windows/WSL: PowerShell clipboard access

License

MIT