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

Published: (February 27, 2026 at 11:26 AM EST)
1 min read

Source: Hacker News

Overview

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 hadn’t run for a month. I built claude-file-recovery, a CLI tool and TUI that can extract your files from your ~/.claude session history. It can recover any file that Claude Code ever read, edited, or wrote, and even retrieve earlier versions of a file at a specific point in time. You can find it on my GitHub and install it via pip.

Installation

pip install claude-file-recovery

Discussion

Comments on Hacker News

0 views
Back to Blog

Related posts

Read more »

ClamAv with Rust-TUI

!Cover image for ClamAv with Rust‑TUIhttps://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s...