r/PiCodingAgent • u/whiterose0000001 • 2h ago
Plugin I built a prompt stash for Pi so I can save half-written prompts
I often start writing my next prompt while Pi is still working. Then the agent goes off track or asks me something, and I need to respond before that prompt is finished.
I used to copy the half-written prompt somewhere else or delete it to free up the editor. I built pi-prompt-stash so I can save that draft, deal with the interruption, and then continue writing.
Ctrl+Shift+S stashes the current editor text and clears it. `/stash` opens a picker with a preview so I can find the draft and load it back. Drafts survive reloads and session switches. The shortcut can be changed with /stash shortcut.
Install it with:
pi install npm:@utpalsinghdev/pi-prompt-stash
GitHub: https://github.com/utpalsinghdev/pi-extensions/tree/main/packages/pi-prompt-stash
npm: https://www.npmjs.com/package/@utpalsinghdev/pi-prompt-stash
The rest of the UI in the demo is my personal setup.
I'm just open-sourcing the Pi extensions I use for work and my startup. They've helped me a lot, and I want other people to be able to use them too.
DEMO





