Automatically extract and organize AI conversation export zip files into proper directory structure
Automatically extract and organize Claude/ChatGPT conversation export zips into proper directory structure for analysis. Use after downloading exports to prepare data for skills analysis.
/plugin marketplace add hirefrank/hirefrank-marketplace/plugin install claude-skills-analyzer@hirefrank-marketplaceAutomatically extract AI conversation export zip files (Claude and/or ChatGPT) and organize them into the proper directory structure for skills analysis.
your-project/
├── data-exports/
│ ├── claude/ # Claude export files
│ │ ├── conversations.json
│ │ ├── projects.json
│ │ └── users.json
│ └── chatgpt/ # ChatGPT export files
│ ├── conversations.json
│ ├── user.json
│ ├── shared_conversations.json
│ └── message_feedback.json
├── reports/ # Analysis reports (created when needed)
└── generated-skills/ # Generated skills (created when needed)
Expected zip contents:
conversations.json (required)projects.json (optional)users.json (optional)Expected zip contents:
conversations.json (required)user.json (optional)shared_conversations.json (optional)message_feedback.json (optional)shopping.json (optional - will be ignored)Scan Current Directory:
*.zip files in current directoryCreate Directory Structure:
data-exports/ directory if it doesn't existdata-exports/claude/ subdirectorydata-exports/chatgpt/ subdirectoryreports/ and generated-skills/ directories for future useProcess Each Zip File:
temp_extract_TIMESTAMP/)conversations.json + projects.json presentconversations.json + user.json presentPlatform Detection Logic:
If contains "projects.json" → Claude export
Else if contains "user.json" → ChatGPT export
Else if only "conversations.json" → Ask user to specify
Else → Invalid export format
File Organization:
data-exports/claude/data-exports/chatgpt/Validation:
conversations.json) are presentCleanup Options:
archives/ subdirectoryFinal Report:
/analyze-skills)Found the following zip files:
• claude_export_2024_01_20.zip (2.3 MB)
• chatgpt_export_jan_2024.zip (4.1 MB)
Proceed with extraction and organization? [Y/n]
✅ Creating directory structure...
✅ Extracting claude_export_2024_01_20.zip...
→ Detected: Claude export (found projects.json)
→ Moving files to data-exports/claude/
→ Files: conversations.json, projects.json, users.json
✅ Extracting chatgpt_export_jan_2024.zip...
→ Detected: ChatGPT export (found user.json)
→ Moving files to data-exports/chatgpt/
→ Files: conversations.json, user.json, shared_conversations.json
✅ Validation complete:
• Claude: 1,247 conversations in conversations.json
• ChatGPT: 892 conversations in conversations.json
What should I do with the original zip files?
[K]eep them / [A]rchive them / [D]elete them: A
✅ Original zips moved to archives/
🎉 Export organization complete!
Your files are now ready for analysis:
• Claude exports: data-exports/claude/
• ChatGPT exports: data-exports/chatgpt/
Next step: Run `/analyze-skills` to identify skill opportunities
No zip files found:
*.zip filesCorrupted or invalid zip files:
Missing required files:
conversations.jsonJSON parsing errors:
Directory permission issues:
Disk space issues:
When files already exist in target directories:
Conversations.json exists:
Found existing conversations.json in data-exports/claude/
• Existing: 1,156 conversations (last modified: 2024-01-15)
• New: 1,247 conversations (from zip file)
Choose action:
[O]verwrite with new file
[B]ackup existing and use new
[S]kip extraction (keep existing)
[C]ompare and merge (advanced)
Your choice: B
✅ Existing file backed up as conversations_backup_2024-01-20.json
✅ New file extracted as conversations.json
Seamless workflow with existing commands:
/analyze-skills/skills-setup)State validation:
File Validation Requirements:
Security Considerations:
User Experience Standards:
Incremental Processing Support:
Batch Processing:
Cross-Platform Intelligence:
This command works seamlessly with:
/skills-setup: No longer needed if this command is run first/analyze-skills: Ready to run immediately after extraction/skills-troubleshoot: Can diagnose extraction-related issuesRecommended workflow:
/extract-exports (this command)/analyze-skills for pattern analysisReady to automatically organize your conversation exports!