Fixing Claude Export Conversations
Repairs hard-wrapped Claude Code export files by rebuilding tables, paragraphs, paths, and tool calls with stdlib-only Python.
- CCM score
- 72 of 100
- skills.sh installs
- 846
- GitHub stars
- 1.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers reconstruction of 10 content types, including user prompts, Claude responses, tables, tool calls, tool results, and agent trees
- Includes
fix-claude-export.pywith--statsoutput andvalidate-claude-export-fix.py, a file-agnostic suite of PASS/FAIL checks - Enforces marker-count verification, runaway-line detection above 500 display-width, and never modifies the original file
- Designed for exported
YYYY-MM-DD-HHMMSS-*.txtfiles with broken tables or split paths, not live web conversations or session history
Install
$ npx -y skills add daymade/claude-code-skills --skill fixing-claude-export-conversations -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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.
Details
- Repository
- github.com/daymade/claude-code-skills
- Categories
- CLI & Terminal, Python
- First seen
- Jun 3, 2026
Questions
What does the fixing-claude-export-conversations skill do?
It repairs broken line wrapping in Claude Code exported .txt conversation files, rebuilding tables, paragraphs, paths and tool calls that were hard-wrapped at a fixed width. It also includes an automated validation suite that checks the fixed output file-agnostically.
How do I install the fixing-claude-export-conversations skill?
Run npx -y skills add daymade/claude-code-skills --skill fixing-claude-export-conversations -y in a project. Once installed, the agent can fix a Claude Code export named like YYYY-MM-DD-HHMMSS-*.txt when you ask it to fix an export or make it readable.
Where does this skill rank in the CLI & Terminal category?
On the CLI & Terminal category page it ranks in the top 100. It is a good fit for anyone cleaning up exported conversation text in the terminal, and it works without external packages since it runs on Python 3.10+ with uv.
Does the fixing-claude-export-conversations skill work on live web conversations?
No, it is only for exported .txt files from Claude Code. For a live web conversation, the skill points you to read-claude-web-conversation instead, and for session history it points to read-claude-code-history.
More from daymade/claude-code-skills
All 50- Douban Skill838
- Skill Creator805
- Terraform Skill796
- Marketplace Dev780
- Gangtise Copilot779
- Debugging Network Issues762
- Tunnel Doctor762
- Competitors Analysis745
- Slides Creator736
- Twitter Reader3.4K
- Transcript Fixer3K
- I18n Expert2.9K
- Asr Transcribe To Text2.8K
- Prompt Optimizer2.2K
- Qa Expert2.1K
- Ppt Creator2.1K
- Macos Cleaner2K
- Deep Research1.9K
- Ui Designer1.7K
- Ima Copilot1.7K
- Promptfoo Evaluation1.7K
- Fact Checker1.7K
- Meeting Minutes Taker1.6K
- Github Ops1.6K
Similar to Fixing Claude Export Conversations
More CLI & Terminaldaymade-claude-codePlugindaymade/claude-code-skills1.6K starsClaude Code operations suite that bundles cross-project prior-work retrieval across code, docs, Skills, meetings, WeChat archives, and conversation history; pro
transcript-fixerSkilldaymade/claude-code-skills3K installsTranscript correction skill that pairs dictionary rules with Claude's native AI, learning from each confirmed fix.
conversation-analyzerSkillmhattingpete/claude-skills-marketplace253 installsLocal analysis of Claude Code history that surfaces usage patterns, recurring mistakes, and automation opportunities.
review-claudemdSkillykdojo/claude-code-tips249 installsStructured review of recent conversation history to improve global and project CLAUDE.md files.
extractSkillalirezarezvani/claude-skills1.6K installsTurn a recurring fix or pattern into a portable skill with SKILL.md, reference docs, and examples.