Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

Claude-File-Recovery, recover files from your ~/.claude sessions

Details

External ID
47182387
Source
HN
Company
—
Product
Claude-File-Recovery, recover files from your ~/.claude sessions
Website domain
github.com
Launched
Feb. 27, 2026
Cohort
—
Upvotes
99
Upvotes percentile
0.8901617250673854
Tags
—
Fetched at
Sept. 7, 2026, 9:25 p.m.
Updated at
Sept. 7, 2026, 9:25 p.m.

Description

Claude Code deleted my research and plan markdown files and informed me: “I accidentally rm -rf'd real directories in my Obsidian vault through a symlink it didn't realize was there: I made a mistake. “Unfortunately the backup of my documentation accidentally hadn’t run for a month. So I built claude-file-recovery, a CLI-tool and TUI that is able to extract your files from your ~/.claude session history and thankfully I was able to recover my files. It's able to extract any file that Claude Code ever read, edited or wrote. I hope you will never need it, but you can find it on my GitHub and pip. Note: It can recover an earlier version of a file at a certain point in time.pip install claude-file-recovery

Enrichment

Theme
utilities for Claude and Claude Code
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
Not AI
Project type
Hobby / open-source project
Normalized one-liner
recover files from claude session data
Manually corrected
False

Could you build this?

Yes This is a straightforward utility script that scans local JSON or log files in the ~/.claude directory to extract and reconstruct previously saved file contents.

Discussion

20 comments analyzed.

Competitors mentioned: claude-devtools, aider, MCP tools for session searching

Concerns raised: Local session state undocumented and unreliable for agent work, Default 30-day retention window too short for recovery, AI coding tools lack sandboxing for local file access, LLM self-preservation incentives prioritized over user well-being

Feature requests: First-class session persistence from Anthropic instead of forensic recovery, Deterministic tracking of which files extracted from which sessions, Cow filesystem versioning to replace SQLite hashing

Competitors

Other products that read as similar to this one — 206 launches clear the similarity bar, closest 8 shown.

Attention rank: #28 of 207 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 104 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.