
Fixing Claude Export Conversations
If you've ever exported a conversation from Claude Code and opened the .txt file only to find the formatting mangled with broken line wraps, this fixes that. It's a Python script that reconstructs the proper text flow and includes 53 automated validation checks to make sure the repair worked. You get stats on what was fixed, can specify custom output paths, and validate results before using them. With over 300 installs and passing all three major security audits, it's clearly solving a real pain point. Honestly just a solid utility that does one thing well when you need to work with exported Claude conversations outside the app.
- skills.sh installs
- 796
- GitHub stars
- 1.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add daymade/claude-code-skills --skill fixing-claude-export-conversations --agent claude-codeInstalls into .claude/skills of the current project.
Files
Fixing Claude Code Export Conversations
Reconstruct broken line wrapping in Claude Code exported .txt files.
Quick Start
# Fix and show stats
uv run <skill-path>/scripts/fix-claude-export.py <export.txt> --stats
# Custom output
uv run <skill-path>/scripts/fix-claude-export.py <export.txt> -o fixed.txt
# Validate the result (per-check PASS/FAIL with evidence; all must pass)
uv run <skill-path>/scripts/validate-claude-export-fix.py <export.txt> fixed.txt
Replace <skill-path> with the resolved path to this skill's directory. Find it with:
find ~/.claude -path "*/fixing-claude-export-conversations/scripts" -type d 2>/dev/null
Workflow
Copy this checklist and track progress:
- [ ] Step 1: Locate the exported .txt file
- [ ] Step 2: Run fix script with --stats
- [ ] Step 3: Run validation suite
- [ ] Step 4: Spot-check output (tables, CJK paragraphs, tool results)
- [ ] Step 5: Deliver fixed file to user
Step 1: Locate the file. Claude Code exports use the naming pattern YYYY-MM-DD-HHMMSS-<slug>.txt.
Sponsors
Details
- Repository
- github.com/daymade/claude-code-skills
- Categories
- Debugging, Automation & Workflows
- First seen
- Jun 3, 2026
More from daymade/claude-code-skills
All 53- Douban Skill784
- Terraform Skill746
- Marketplace Dev731
- Gangtise Copilot730
- Tunnel Doctor713
- Debugging Network Issues710
- Competitors Analysis694
- Slides Creator686
- Continue Claude Work631
- Markdown Tools169
- Twitter Reader3.3K
- I18n Expert2.7K
- Prompt Optimizer2.1K
- Qa Expert2K
- Ppt Creator2K
- Transcript Fixer1.9K
- Macos Cleaner1.9K
- Deep Research1.8K
- Asr Transcribe To Text1.7K
- Ui Designer1.7K
- Ima Copilot1.6K
- Promptfoo Evaluation1.6K
- Fact Checker1.6K
- Meeting Minutes Taker1.6K