Claude Code History Files Finder
Searches Claude Code (and Codex) session history across every config home and registered archive, and recovers deleted files byte-for-byte from file-history snapshots.
UtilitiesIntermediate★ 1,346⑂ 214AI score 9/10Last updated: Aug 21, 2026
What it does
- Searches
~/.claude/projects, per-model profile homes (~/.claude-profiles/*), the currentCLAUDE_CONFIG_DIR, and every archive registered in~/.claude/history-sources.jsonin a single pass, de-duplicating sessions by ID. - Keyword search covers messages, thinking text, tool inputs/results, queued commands, attachments, summaries, custom titles and file-history paths; date filters use internal JSONL timestamps, never file mtime.
recover_content.pyrestores the exact captured bytes of the newest valid file-history checkpoint — including binaries and post-Write Edit/shell changes — and clearly labels Write-only recoveries as lower fidelity.--all-projectssweeps everything when you don't know the project;--codexadds Codex rollout search.triageclassifies how sessions ended (interrupted, net_error, done, empty, stuck_no_result) with the full last assistant message.
Who it's for
- Long-time Claude Code users with hundreds of accumulated sessions.
- Anyone who deleted a file or needs code produced in an earlier conversation.
- Users juggling multiple model profiles or separate long-term history archives.
Examples
- "Find the ModelLoading file I wrote last week" →
search --all-projects ModelLoading, thenrecover_content.py <session> -k ModelLoading. - "Which sessions did last night's reboot cut off?" →
triage --all-projects --from-date …listinginterrupted_explicit/stuck_no_resultsessions with their final replies. - "This project seems to have no history" → the skill explains the encoded directory rule (absolute path with
/→-) and checks registered archives before declaring anything absent.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/daymade/claude-code-skills/HEAD/daymade-claude-code/claude-code-history-files-finder/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the daymade-claude-code/claude-code-history-files-finder folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/claude-code-history-files-finder/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/daymade/claude-code-skills.git /tmp/daymade-skills && mkdir -p ~/.claude/skills && cp -r /tmp/daymade-skills/daymade-claude-code/claude-code-history-files-finder ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/daymade/claude-code-skills.git /tmp/daymade-skills - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/daymade-skills/daymade-claude-code/claude-code-history-files-finder ~/.claude/skills/ - Verify Python 3 is available:
python3 --version(the bundled scripts run under python3). - Restart Claude Code and try a prompt like "search my previous conversations for ...".
- (Optional) Register any long-term history archives in
~/.claude/history-sources.jsonso they are included in default searches.
View source on GitHub ↗License: MIT