PromptLog — Version Control for Your Prompts

Developers iterate on prompts constantly—tweaking wording, adding constraints, changing formats—but never track what changed or what worked. When a prompt stops working, there's no history to revert to.
PromptLog is a CLI that captures prompts from your clipboard and stores them with version history and diffs. Copy a prompt, run
promptlog save code-review --note "added naming rules"
and it's versioned. Later, run
promptlog diff code-review
to see what changed between versions.
Built with @clack/prompts for a polished terminal UI, it includes security warnings for accidentally copying API keys, relative timestamps, and one-command installs via npm.
To get started using it install via:
npm install -g promptlog
Inspired by my own workflow: I kept losing good prompts after iterating past them. Now I don't.
Tools & Technologies Used
Build Details
Build Time
Weekend project
Difficulty
intermediate
Comments
Sign in to join the discussion.
Nice build! Langfuse and PromptLayer do prompt versioning but require full platform integration. This is just
promptlog savewith zero setup, local-first. That simplicity is the gap you’re filling for solo devs who might want git-for-prompts without the overhead.Question: Any plans to track which version actually performed better?