Claude Code session
AI Data Extraction
extract all your personal data history from cursor, codex, claude-code, windsurf, and trae
Install
git clone https://github.com/sybil-solutions/ai-data-extraction.gitFrom the README
AI Coding Assistant Training Data Extraction Toolkit Complete toolkit to extract ALL chat, agent, and code context data from AI coding assistants for machine learning training. π― What This Does Automatically discovers and extracts complete conversation history including: - β User messages & AI responses - β Code context (file paths, line numbers, snippets) - β Code diffs and suggested edits - β Multi-file contexts - β Tool use and execution results - β Timestamps and metadata Pi and OMP session exports use one shared parser. The default follows the active branch; python3 extract_pi.py --all-branches and python3 extract_omp.py --all-branches export separate leaf conversations with their ancestry and branch IDs. String answers, custom context, reasoning, tool-call IDs, model changes, advisor/subagent sessions and branch summaries are preserved. OMP also supports --prompt-history for a separate read-only SQLite snapshot, including committed WAL rows. extract_droid.py reads Factory/Droid sessions and settings under ~/.factory/sessions. The aggregate script includes all three. The parser consolidation carries the Pi/OMP work from PR #26, Joshua Warren's OMP coverage from #17 and Umang Bhalla's Droid contribution from #7, with regression fixes and attribution. π¦ Included Scripts 1. extract_claude_code.py Extracts from Claude Code / Claude Desktop - Searches: ~/.claude, ~/.claude-code, ~/.claude-local, ~/.claude-m2, ~/.claude-zai - Formats: JSONL session files - Includes: Messages, tool use, file contexts, diffs 2. extract_codex.py Extracts from Codex (if installed) - Searches: ~/.codex, ~/.codex-local - Formats: Rollout JSONL files - Includes: User/agent messages, tool results, diffs 3. extract_cursor.py Extracts from Cursor (Chat + Composer + Agent) - ALLβ¦
Details
- Repository
- sybil-solutions/ai-data-extraction
- Language
- Python
- Last updated
- 7 October 2026
FAQ
What is AI Data Extraction?
extract all your personal data history from cursor, codex, claude-code, windsurf, and trae It is a session for Claude Code, from sybil-solutions/ai-data-extraction on GitHub.
How do I install AI Data Extraction?
Clone sybil-solutions/ai-data-extraction from GitHub and follow the setup steps in its README.
Is AI Data Extraction popular?
sybil-solutions/ai-data-extraction has 1,353 GitHub stars and 115 forks. It was last updated on 7 October 2026.
More sessions & history
AI Newtab
898ThariqS/ai-newtab
Claude generates a daily new tab page based on your browser history.
Claude Replay
853es617/claude-replay
Convert AI coding agent sessions (Claude Code, Cursor, Codex, Gemini, OpenCode, Kimi Code, Hermes) into self-contained, embeddable HTML replays
Claude Code Proxy
513seifghazi/claude-code-proxy
Proxy that captures and visualises in-flight Claude Code requests and conversations.
Claude Conversation Extractor
691ZeroSumQuant/claude-conversation-extractor
Extracts clean conversation logs from Claude Code's local storage.
cc-viewer
1.1kweiesky/cc-viewer
Captures and visualises all Claude Code API requests and responses in real time.
ccxray
295lis186/ccxray
Transparent HTTP proxy and dashboard for inspecting Claude Code sessions.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.