After creating 75+ tools for my AI agent workflow, I kept losing my best prompts across different conversations. I'd find a great code review prompt, use it once, then spend 20 minutes recreating it weeks later.
So I built Prompt Vault – a CLI tool with an interactive TUI for managing prompts.
Features:
• Save prompts with tags and auto-versioning
• Fuzzy search by keyword or tag
• One command to copy prompt to clipboard
• Version history with diff and revert
• Export/import for backup
• Interactive TUI (run `vault` with no args)
• Dual Python + Go implementation
• SQLite storage, no cloud dependencies
Or use CLI:
vault create --name "code-review" --tags "code,python"
vault get "code-review" # Copies to clipboard
vault search "refactoring"
vault list --tags
The TUI is probably the nicest part – number keys to navigate, rich tables, all the info at a glance.
Built this because I needed something that:
1. Works offline (no API keys, no cloud)
2. Is fast (single command to copy prompt)
3. Has version history (prompts evolve)
4. Doesn't get in the way
Tech stack:
• Python: Typer + Rich + SQLite
• Go: Cobra + SQLite (20x faster, single binary)
• Both have identical features
• Docker images available
The Go version is ~15MB single binary, starts in ~10ms. Python version has nicer output with Rich tables.
Would love feedback on:
• CLI API design – anything missing?
• TUI UX – is the navigation intuitive?
• Use cases I haven't considered
Also happy to discuss the implementation – the fuzzy search uses Levenshtein distance, versioning is Git-based, and clipboard works cross-platform.
After creating 75+ tools for my AI agent workflow, I kept losing my best prompts across different conversations. I'd find a great code review prompt, use it once, then spend 20 minutes recreating it weeks later.
So I built Prompt Vault – a CLI tool with an interactive TUI for managing prompts.
Features: • Save prompts with tags and auto-versioning • Fuzzy search by keyword or tag • One command to copy prompt to clipboard • Version history with diff and revert • Export/import for backup • Interactive TUI (run `vault` with no args) • Dual Python + Go implementation • SQLite storage, no cloud dependencies
Quick start: pip install prompt-vault-cli vault # Opens interactive TUI
Or use CLI: vault create --name "code-review" --tags "code,python" vault get "code-review" # Copies to clipboard vault search "refactoring" vault list --tags
The TUI is probably the nicest part – number keys to navigate, rich tables, all the info at a glance.
Built this because I needed something that: 1. Works offline (no API keys, no cloud) 2. Is fast (single command to copy prompt) 3. Has version history (prompts evolve) 4. Doesn't get in the way
Tech stack: • Python: Typer + Rich + SQLite • Go: Cobra + SQLite (20x faster, single binary) • Both have identical features • Docker images available
The Go version is ~15MB single binary, starts in ~10ms. Python version has nicer output with Rich tables.
Would love feedback on: • CLI API design – anything missing? • TUI UX – is the navigation intuitive? • Use cases I haven't considered
Also happy to discuss the implementation – the fuzzy search uses Levenshtein distance, versioning is Git-based, and clipboard works cross-platform.
Source: https://github.com/larryste1/prompt-vault Docs: https://github.com/larryste1/prompt-vault#readme ```
---
## Character Count: ~1,400 chars (well under 4k limit)
---
## Posting Instructions:
1. *Go to:* https://news.ycombinator.com/submit 2. *Title:* Pick one from above (I recommend #1) 3. *URL:* https://github.com/larryste1/prompt-vault 4. *Text:* Paste the content above
*Best time to post:* Tuesday-Thursday, 9-11 AM PT for maximum visibility
---
## Alternative: Text Post Only
If you want a text-only post (no URL):
*Title:* `Show HN: Prompt Vault – CLI tool to manage AI prompts`
*URL field:* Leave empty
*Text field:* Paste the full content above
---