claude session file extraction and parsing
Scans the ~/.claude directory structure to locate and parse serialized conversation session files, extracting embedded file artifacts that were generated or uploaded during Claude interactions. Uses filesystem traversal to identify session metadata and deserializes session state to recover file references and content payloads that may have been lost or deleted from the user's working directory.
Unique: Directly targets Claude's local session storage format to recover artifacts that exist nowhere else — most recovery tools focus on cloud backups or trash bins, but this exploits the fact that Claude caches full conversation state locally including all generated files
vs alternatives: Recovers Claude-specific artifacts that generic file recovery tools cannot access because they're embedded in proprietary session serialization rather than stored as independent files
session directory traversal and indexing
Recursively walks the ~/.claude directory tree to build an index of all session files, extracting metadata like creation timestamps, conversation IDs, and file references without loading entire session payloads into memory. Uses efficient filesystem scanning to catalog available sessions and their contents, enabling users to selectively recover files from specific conversations rather than bulk extraction.
Unique: Builds a queryable index of Claude sessions without requiring full deserialization of each session file, using lazy-loading patterns to minimize memory footprint and enable fast searches across hundreds of conversations
vs alternatives: More efficient than generic file indexing tools because it understands Claude's session structure and can extract conversation-level metadata without parsing full file contents
selective file recovery with filtering
Enables users to filter recovered files by type (code, documents, images), date range, or session ID before extraction, preventing bulk recovery of unwanted files and allowing targeted restoration of specific artifacts. Implements filtering logic at the extraction stage to avoid unnecessary deserialization and disk writes of irrelevant files.
Unique: Implements multi-dimensional filtering (type, date, session) at the extraction layer rather than post-hoc filtering, reducing I/O overhead and enabling users to avoid recovering files they don't need
vs alternatives: More granular than simple bulk recovery tools — allows users to recover specific subsets of artifacts without touching the entire session cache
file deduplication and conflict resolution
Detects duplicate files across multiple sessions (using content hashing or filename matching) and handles naming conflicts when recovering multiple versions of the same file. Implements strategies like timestamp-based versioning or content-based deduplication to prevent overwriting files and preserve all recovered versions with clear naming.
Unique: Implements intelligent deduplication at recovery time rather than requiring manual cleanup afterward, using content hashing to identify true duplicates vs. files with the same name but different content
vs alternatives: Prevents data loss from overwriting files during recovery — generic file recovery tools often blindly overwrite or fail on conflicts, while this tool preserves all versions with clear naming
batch recovery to specified output directory
Exports recovered files to a user-specified output directory with configurable directory structure (flat, by session, by file type, or by date). Handles file permissions, creates necessary subdirectories, and provides progress reporting during batch recovery operations to manage large-scale artifact restoration.
Unique: Provides multiple output organization strategies (flat, by session, by type, by date) rather than forcing a single directory structure, allowing users to choose the layout that best fits their workflow
vs alternatives: More flexible than tools that dump all recovered files into a single directory — enables users to maintain logical organization and easily locate specific files after recovery