GitHub radar
Extract Chat History from Claude Code, Cursor & More
One Python script discovers and exports your local conversation history from Claude Code, Codex, Cursor, Windsurf, Aider, and 6 more tools — into a portable JSONL file. No dependencies.
A dependency-free Python toolkit that auto-discovers and extracts complete conversation history from 10 AI coding tools: Claude Code, Codex CLI, Cursor, Windsurf, Trae, Continue, Gemini CLI, OpenCode, Cline/Roo Code, and Aider. It automatically searches macOS, Linux, and Windows storage locations — no configuration needed. Output is a timestamped JSONL file per source, optionally merged into one. Each record includes messages, code context (file paths, selections, snippets), code diffs, tool calls, timestamps, session IDs, project paths, and model names. Run with a single command or pick sources interactively.
Why a vibe-coder should care
If you use AI coding tools daily, months of valuable conversations accumulate in hidden databases. This tool lets you back them up before an update wipes them, run personal analytics on how you work, or prepare a dataset for fine-tuning.
How to install
Copy this and send it to your agent — Claude Code, Codex, any of them:
Run this AI chat history extractor from https://github.com/kruzovic7/ai-data-extractor — follow the README, run python extract.py --all and show me how many conversations were found and from which tools.
Runs on a regular laptop — Python 3.9+ only, no dependencies, no network access needed.
Open on GitHub▌ More finds