AI Data Extraction — Data skill for Claude Code
extract all your personal data history from cursor, codex, claude-code, windsurf, and trae.
How to install AI Data Extraction
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open 0xSero/ai-data-extraction and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Data Extraction does
extract all your personal data history from cursor, codex, claude-code, windsurf, and trae.
Alternatives in Data
- Azure Document Intelligence .net — Document text, table, and data extraction 1.8k ★
- Sprite Gen — Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame 763 ★
- AI Data Extractor — Free open-source extractor for AI coding assistant chat histories 544 ★
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
📦 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 VERSIONS
- Searches:
~/Library/Application Support/Cursor(macOS) or equivalent - Formats: SQLite databases (
state.vscdb,cursorDiskKV) - Handles:
- Old Chat mode (workspace storage)
- Composer inline storage (v1.x - messages in composerData array)
- Composer separate storage (v1.x-v2.0 transition - messages in bubbleId keys)
- Latest Composer/Agent (v2.0+)
- Includes:
- Code context, selections, diffs
- Suggested edits and code blocks
- Tool results and execution outputs
4. `extract_trae.py`
Extracts from Trae
- Searches:
~/.trae,~/Library/Application Support/Trae - Formats: JSONL and SQLite databases
- Includes: Chat, agent data, tool use, diffs
5. `extract_windsurf.py`
Extracts from Windsurf
- Searches:
~/Library/Application Support/Windsurfor equivalent - Formats: SQLite databases (VSCode-like format)
- Includes: Chat, agent/flow conversation
Related Skills
Scrapeforge MCP
Autonomous Web Scraping & Browser Automation: Scraper Architecture, Production Extraction Code, Anti-Block Res
Secnews
面向 AI + 安全从业者的单人本地工作站: Sentinel Terminal 三层工作流 (Data 采集 / Judge 评估 / Action 执行) · llm-wiki-2.0 wiki-first 知识库
Extract Custom
Role: Act as an expert technical document analyst and data extraction specialist.
ContextGate
Spring Boot + MyBatis 框架感知代码地图:静态分析调用链/SQL/事务/实体影响面,通过 MCP 喂给 AI 编程工具(Trae/Cursor/Claude Code),省 token、防幻觉
Extract Data
Extract structured financial and personal data from uploaded documents
Figma UI MCP
AI can draw UI directly on the Figma canvas via JavaScript, and read existing designs back as structured data.
Related Agents
Async Code
Use Claude Code or CodeX CLI to perform multiple tasks in parallel with a Codex-style UI, functioning as a per
10x Tool Calls
Cursor and Windsurf meter usage by requests and tool calls rather than tokens, which means a finished or stall
Compaction Parity Auditor
Audits CQLite's write/compaction path for byte-for-byte parity gaps against Apache Cassandra, using the rustyr