Skip to main content

Prompt Stash

Prompt Stash is a terminal-based, version-controlled prompt manager designed for AI power users. Save, version-control, search, and quickly copy prompt templates right from your terminal.

Prompt Stash Demo (Add a screenshot here later)

Features

  • Store & Retrieve: Save prompts as Markdown with YAML frontmatter. Retrieve them instantly to your clipboard using fuzzy search.
  • Version Control: Every save, rename, or deletion automatically triggers a Git commit behind the scenes using GitPython.
  • Searchable: Search for prompts by name, content, or tag via a SQLite Full-Text Search index.
  • GitHub Sync: Instantly push and pull your stash to a remote GitHub repository.
  • Beautiful UI: Enjoy a rich, interactive terminal experience powered by click and rich.

Installation

The best way to install Prompt Stash and guarantee that the stash command is available in your terminal is by using pipx.

# If you don't have pipx, install it first: pip install pipx
pipx install prompt-stash

Option 2: Using pip

pip install prompt-stash

Note: If you use pip, the stash command might show up as "command not found" if your Python Scripts directory is not in your system's PATH. If that happens, either add the Scripts folder to your PATH, or use pipx.


Getting Started

Save your first prompt. This will automatically set up your stash in ~/.promptvault/ and open your default system editor.

stash save "code-reviewer"

Copying Prompts

When you need to use a prompt, just copy it to your clipboard:

stash use "code-reviewer"

If you don't remember the exact name, you can search for it:

stash search refactor

All Commands

stash save [NAME]       # Save or edit a prompt
stash use [NAME]        # Copy content to clipboard
stash list              # Browse all saved prompts
stash search [QUERY]    # Search by name, tags, or content
stash log [NAME]        # See the Git version history for a prompt
stash diff [NAME]       # Compare versions
stash rollback [NAME]   # Revert a prompt to an older version
stash push              # Back up your stash to GitHub
stash pull              # Pull your stash from GitHub

Storage & Configuration

  • Data: All your prompts are saved in ~/.promptvault/prompts/ as standard Markdown files.
  • Metadata: A fast SQLite search index is maintained at ~/.promptvault/vault.db.
  • Config: Edit ~/.promptvault/config.toml to change your default GitHub repository or editor settings.

License

This project is licensed under the MIT License.

Metadata

Release files for prompt-stash 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prompt-stash 1.0.4
File Size Uploaded Provenance Actions
prompt_stash-1.0.4.tar.gz 18.0 kB Without provenance Details for prompt_stash-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prompt-stash 1.0.4
File Interpreter ABI Platform Actions
prompt_stash-1.0.4-py3-none-any.whl Python 3 none any Details for prompt_stash-1.0.4-py3-none-any.whl

Total release size: 38.4 kB

Release files / prompt_stash-1.0.4.tar.gz

Download URL prompt_stash-1.0.4.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0ab98ececca3f60a8ff70e00ee2bedd8046e97751e5ac1158f61008a5238e171
BLAKE2b-256 checksum
How to use checksums
710c11f32950a8deb57c04bf8fa9220c7b337fbea2e68754748a864c1176f522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release files / prompt_stash-1.0.4-py3-none-any.whl

Download URL prompt_stash-1.0.4-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0e3cbcd3686f319c6d18c4fe88dbfb395c941adca3b940e50cf77c849a7bdf5
BLAKE2b-256 checksum
How to use checksums
c4118eb391cf5cc50507b721405aba3ff1f97621083af034b1e4b1e2d51d6122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Security for prompt-stash 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page