@artale/pi-stash

Prompt stash for Pi. Save, list, and restore prompt drafts. Like git stash for your prompts.

Package details

extension

Install @artale/pi-stash from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@artale/pi-stash
Package
@artale/pi-stash
Version
1.0.0
Published
Mar 14, 2026
Downloads
33/mo · 2/wk
Author
artale
License
MIT
Types
extension
Size
7.9 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "src/extension.ts"
  ]
}

Security note

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

README

pi-stash

Prompt stash for Pi. Save, list, and restore prompt drafts. Like git stash for your prompts.

Install

pi install npm:@artale/pi-stash

Commands

/stash save [name] <text>    — save a prompt
/stash list                  — list saved prompts
/stash pop [name|id]         — restore and delete
/stash apply [name|id]       — restore without deleting
/stash drop [name|id]        — delete a stash
/stash clear                 — clear all

Tools

  • stash_save — save a prompt draft
  • stash_list — list all stashes
  • stash_pop — restore and delete

Example

/stash save refactor Refactor the auth module to use JWT tokens with refresh rotation
/stash save deploy Set up CI/CD pipeline with GitHub Actions for staging + prod
/stash list
/stash pop refactor

License

MIT