daymade avatar

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-code

Installs 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

Recommended

More Debugging
1gluestack avatargluestack-ui-v4gluestack/agent-skillsEnforces constrained, opinionated styling patterns for gluestack-ui v4. Main overview skill that coordinates specialized sub-skills for setup, components, styli795skills.sh installs
2mastepanoski avatarnielsen-heuristics-auditmastepanoski/claude-skillsEvaluate UX/UI using Jakob Nielsen's 10 usability heuristics. Comprehensive audit of visibility, control, consistency, error prevention, recognition, flexibilit791skills.sh installs
3pproenca avatarreact-refactorpproenca/dot-skillsArchitectural refactoring guide for React applications covering component architecture, state architecture, hook patterns, component decomposition, coupling and791skills.sh installs
4lyndonkl avatarevaluation-rubricslyndonkl/claudeDesigns structured scoring tools with explicit criteria, performance scales, and descriptors for consistent, transparent quality assessment. Use when need quali790skills.sh installs
5coralogix avatarcx-incident-managementcoralogix/cx-cliUse this skill when the user asks to "investigate incident", "triage this alert", "what's firing", "who got paged", "incident response", "check incident status"787skills.sh installs
6code-yeongyu avatarwork-with-prcode-yeongyu/oh-my-openagentFull PR lifecycle in a fresh task-owned git worktree: implement via the ulw-loop skill with mandatory evidence-bound manual QA → reviewer-readable English PR → 782skills.sh installs