Install
Install with PiG
pig install npm:@sreetej510/pi-prompt-managerInstall with Pi
pi install npm:@sreetej510/pi-prompt-managerReview 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": [
"./dist/index.js"
]
}README
Written by the package's publisher, shown as published in version 0.15.6 (README.md). PiG does not review it.
@sreetej510/pi-prompt-manager
A pi coding agent extension to quickly save, manage, and paste reusable prompts without retyping them.
Commands
| Command | Effect |
|---|---|
/prompt | Open the prompt manager (select · edit · delete · add) |
/prompt add [name] | Create a new saved prompt directly (opens a multi-line editor) |
Keyboard shortcuts (inside /prompt)
| Key | Action |
|---|---|
↑ / ↓ / j / k | Navigate the list |
Enter | Paste the selected prompt into the editor |
e | Edit the selected prompt |
d | Delete the selected prompt (with confirmation) |
a | Add a new prompt |
Esc | Close without action |
Storage
Saved prompts are stored as JSON at <pi-agent-dir>/prompt-manager.json:
{
"prompts": [
{ "id": "...", "name": "...", "content": "...", "createdAt": 0, "updatedAt": 0 }
]
}
Install
npm install -g @sreetej510/pi-prompt-manager
Then add it to your pi settings.json:
{
"packages": ["npm:@sreetej510/pi-prompt-manager"]
}
Or, for local development, point at the file directly:
{
"extensions": ["/absolute/path/to/pi-extensions/extensions/pi-prompt-manager/src/index.ts"]
}
File layout
| File | Responsibility |
|---|---|
src/index.ts | Extension entry point |
src/command.ts | /prompt command handler + add/edit/delete flow |
src/component.ts | List-manager TUI component |
src/storage.ts | prompt-manager.json load/save helpers |
src/types.ts | Shared TypeScript types |
Development
npm install
npm run --workspace @sreetej510/pi-prompt-manager check # biome + typecheck
npm run --workspace @sreetej510/pi-prompt-manager format