Table of Contents

Claude Code and Codex prompts

Every prompt you send to Claude Code or Codex is kept in BetterClipboard's encrypted database, also after Claude Code's own cleanup removes old prompts from its history.

  • Where from: Claude Code's history.jsonl in its config folder (%USERPROFILE%\.claude, or CLAUDE_CONFIG_DIR), and Codex's session files and history in %USERPROFILE%\.codex (or CODEX_HOME).
  • When: the prompts you sent before are imported at the first start. After that, each new prompt arrives the moment the agent writes it; BetterClipboard reads only the new bytes.
  • The Claude and Codex tabs list one card per prompt, newest first, with its project folder, when you last sent it and how often. Enter pastes it, Ctrl+P keeps it in your clipboard history, and Del deletes it until you send it again. A prompt you pasted or pinned shows once, at the later of when you used it and when you last sent it.
  • Kept apart: prompts never appear under All, and they never count against your history's limits.
  • Only yours: Codex's subagents and codex exec runs are left out. Images are counted, not kept.
  • bclip prompts lists and searches them from a terminal. Delete stored… on the card in Settings deletes what was kept (Deleting what a source left).