Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Claude Code Export Conversation Fixer

Repairs hard-wrapped Claude Code .txt exports by rebuilding tables, paragraphs, paths and tool output.

UtilitiesIntermediate1,414219AI score 9/10Last updated: Sep 21, 2026

What it does

Claude Code exports (YYYY-MM-DD-HHMMSS-*.txt) are hard-wrapped at a fixed column width, which shatters table borders, splits file paths mid-token and chops paragraphs into fragments. This skill runs bundled Python scripts to:

  • Rejoin 10 content types — user prompts (), Claude responses (), tool results (), plan text, agent trees
  • Rebuild box-drawing table borders and re-pad cells with pipe-count tracking
  • Apply pangu spacing between Latin characters and CJK ideographs
  • Reconnect broken identifiers and paths (BASE_ + URL, documents + /05-team)
  • Run a 53-check validation suite comparing input and output

The original file is never modified; marker counts are verified and runaway joins over 500 display columns raise a warning.

Who it's for

  • Anyone archiving or sharing Claude Code session logs with a team
  • Writers turning exported sessions into blog posts, retros or technical docs
  • Heavy users of long sessions packed with tables and tool output

Examples

  1. Ask "make this exported conversation readable" — the script runs with --stats, reporting ~20-25% fewer lines and 80+ table borders repaired.
  2. Run the validation suite on the before/after pair; investigate any failing check before handing the file over.
  3. On mixed English/CJK logs, Portal都需要 is corrected to Portal 都需要 for readability.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/daymade/claude-code-skills/HEAD/daymade-claude-code/claude-export-txt-better/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the daymade-claude-code/claude-export-txt-better folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/fixing-claude-export-conversations/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/daymade/claude-code-skills.git /tmp/daymade-skills && mkdir -p ~/.claude/skills && cp -r /tmp/daymade-skills/daymade-claude-code/claude-export-txt-better ~/.claude/skills/fixing-claude-export-conversations

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and confirm Python 3.10+ and uv are available (uv --version; install with curl -LsSf https://astral.sh/uv/install.sh | sh if missing).
  2. Clone the repository: git clone https://github.com/daymade/claude-code-skills.git /tmp/daymade-skills
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r /tmp/daymade-skills/daymade-claude-code/claude-export-txt-better ~/.claude/skills/fixing-claude-export-conversations
  5. Verify: ls ~/.claude/skills/fixing-claude-export-conversations/scripts should list fix-claude-export.py.
  6. Restart Claude Code, then say "fix the formatting of this exported conversation" to trigger the skill.