Announcing fpf: Fuzzy Prompt Finder for Claude Code
Today I'm releasing fpf (Fuzzy Prompt Finder), a command-line tool that makes it easy to search through your Claude Code prompt history across projects.
The Problem
If you use Claude Code frequently, you've probably found yourself wanting to reuse prompts from previous sessions (that you forgot to write down). Maybe you crafted the perfect prompt for a specific task, or you just want to remember how you phrased something that worked well. The problem is that Claude Code's prompt history search only searches back through the current project.
The Solution
fpf provides an interactive fuzzy search TUI for all your Claude Code prompts. It automatically scans your prompt history across projects, deduplicates identical prompts and removes useless things like /clear, and copies the selected prompt to the clipboard.
Key features:
- Fuzzy search - Find prompts even with typos or partial matches
- Project filtering - Use
%psyntax to narrow searches to specific projects - Preview - See full multi-line prompts before selecting
- Clipboard integration - Selected prompts are automatically copied
- Smart deduplication - Only the most recent instance of identical prompts is shown
- Temporal context - See when each prompt was last used
Installation
Grab a pre-built binary from the releases page or build from source:
git clone https://github.com/elliotekj/fpf.git
cd fpf
just build
Usage
Simply run fpf in your terminal to start searching through your prompt history. The fuzzy finder makes it fast to locate exactly what you're looking for.
fpf is available now on GitHub under the Apache 2.0 license. Give it a try and let me know what you think!