Your Claude Code, Codex and Cursor prompt history, collected automatically.
Repertoire reads the history Claude Code, Codex and Cursor already keep on your Mac. Thousands of prompts arrive in seconds, new ones as you write them, and nothing about your tools changes.
Download for Mac7 MBYour Claude Code, Codex and Cursor history in one place
Every prompt you send to Claude Code, Codex or Cursor is already saved on your Mac, in a different place and format for each tool, and often only for a while. Repertoire reads those files, puts every prompt in one searchable list with its tool, project and date, and keeps it.
There’s nothing to install in your tools and no habit to change. You choose the sources at first launch and Repertoire imports what’s there. After that, macOS tells it when a history file changes and it reads only the new part, so a prompt you write in Claude Code appears within seconds, whether Repertoire’s window is open or not.
Everything else builds on this history. The launcher searches it from any app, the good prompts go into your Library, and your ratings show which ones are Proven. Your history is stored on your Mac and nowhere else: see exactly what Repertoire stores and reads.
Where does Claude Code store your prompt history?
Claude Code saves every prompt you type to ~/.claude/history.jsonl, one line per prompt with its project and time. Text you paste is kept inside that line or in ~/.claude/paste-cache, and only for a while. Full session transcripts live in ~/.claude/projects, kept for 30 days by default (the cleanupPeriodDays setting). Codex keeps its sessions in ~/.codex/sessions, and Cursor keeps chats in a database, ~/Library/Application Support/Cursor/User/globalStorage/state.vscdb. Repertoire reads them all, read-only.
How do you search your Claude Code history?
Inside Claude Code, Ctrl+R searches back through the prompts you typed, and claude --resume opens a list of past sessions to continue. Both cover Claude Code only, and Ctrl+R searches just the folder you’re in, because Claude Code keeps input history per working directory. Repertoire searches every prompt from Claude Code, Codex and Cursor at once, by words, project, tool or date, and keeps each one after the tool deletes its own copy.
The full guide to Claude Code’s history covers each file, how long it’s kept, and searching it with grep and jq.
How collecting works
- 01
Choose your sources
At first launch Repertoire shows the tools it found on your Mac. Nothing is collected until you choose, and you can turn a source off later in Settings › Sources.
- 02
The first import
It reads the history those tools still keep: thousands of prompts in seconds, with a live count while it works.
- 03
New prompts follow
macOS tells Repertoire when a history file changes, and it reads only the new part. A prompt you just wrote shows up within seconds.
- 04
Kept for good
If a tool trims or deletes its old history, your prompts stay in Repertoire until you delete them yourself.
What you get from it
Prompts from before you installed it
Last month’s careful refactoring prompt is in the first import, as long as the tool still had it. Search for a word you remember and it’s there, with its project and date.
One search across three tools
Did you write it in Codex, or in Cursor? It doesn’t matter: History covers all three, and source:codex narrows it down when you do remember.
The paste that made it work
Claude Code keeps text you paste into a prompt only for a while. Repertoire saves it with the prompt as soon as it sees it, so the whole prompt is still there later.
What it reads
- CLAUDE CODE
- The prompts you type, and the text you paste into them.
- From ~/.claude/history.jsonl and Claude Code’s paste cache, with the project and time of each prompt.
- CODEX
- Only what you typed.
- From ~/.codex/sessions. Context Codex adds by itself, subagents and sessions imported from other tools are left out.
- CURSOR
- Your chat prompts, with their date and project.
- From Cursor’s own database, read-only. After the first import, only chats with new messages are read again.
- APPLE NOTES
- Only when you ask.
- File › Import from Apple Notes turns a Notes folder into Library prompts. macOS asks for your permission first.
Good to know
- READ-ONLY
- Your tools’ files are never changed.
- Repertoire never writes, moves or locks them, so Claude Code, Codex and Cursor work exactly as before.
- NOT COLLECTED
- ChatGPT, Claude Desktop and browsers.
- Only the history files of Claude Code, Codex and Cursor. Never your keystrokes, your screen or other apps.
- SHORT PROMPTS
- “yes”, “continue” and /clear stay out of the way.
- They’re folded into one row per day while you browse, and still found when you search.
- SECRETS
- API keys, tokens and passwords are masked.
- Shown masked and kept out of search. Copy gives the real text.
- PAUSE
- Pause or exclude whenever you like.
- Pause from the menu bar for an hour, until tomorrow or until you resume. Exclude a project in Settings › Privacy, and nothing from it or its subfolders is collected.
- FORMATS
- If a tool changes its history format, its source says “Needs an update”.
- Nothing already collected is lost, and prompts it couldn’t read are read once Repertoire is updated.
- TRIAL
- Collecting never stops.
- After the 14-day trial, History keeps growing and stays searchable and copyable without a license.
Questions
All questions →Will it find prompts I wrote before I installed it?
Yes, as far back as Claude Code, Codex and Cursor still keep them on your Mac. The first import reads all of it, and from then on Repertoire keeps every prompt, even after a tool deletes its own history.
How quickly do new prompts show up?
Within seconds, whether the window is open or closed. Repertoire runs in the menu bar and picks up each prompt as your tool writes it to its history file.
Does it work with Claude Code, Codex and Cursor?
Yes. It reads the history files all three keep on your Mac. Commands are written for Claude Code.
Does it collect from ChatGPT, Claude Desktop or my browser?
No. It reads the history files Claude Code, Codex and Cursor keep on your Mac, and imports from Apple Notes when you ask. Otherwise it never reads other apps, your screen or your keystrokes.
Can I keep a project or a session out of it?
Yes. Exclude a project and its subfolders in Settings › Privacy, or pause collecting from the menu bar for an hour, until tomorrow morning or until you resume. Prompts written while paused are never collected.
Will my History fill up with “yes” and /clear?
No. Throwaway prompts like “yes”, “continue” or /clear are hidden from the list by default (Hide short prompts, in Settings › Sources). Search still finds them.
Will it change how my AI tools work?
No. Repertoire only reads their history files and never changes or locks them. Command files are written only when you ask, and nothing is overwritten without asking.
What if a tool changes its history format?
That source shows “Needs an update” until Repertoire is updated. Nothing already collected is lost.
Will it slow my Mac down?
No. It lives in the menu bar and can open at login. macOS tells it when a history file changes, and it reads only the new part, so it uses almost no power while you work.
Where are my prompts stored?
On your Mac only. There is no account, no sync and no telemetry, and logs never contain prompt text.