clean-export

Reformat Claude Code /export transcripts into readable Markdown sections.

1|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/fidalgok/ai-assistance-patterns --skill clean-export
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-export
Source: https://github.com/fidalgok/ai-assistance-patterns/tree/main/skills/clean-export
Command: npx skills add https://github.com/fidalgok/ai-assistance-patterns --skill clean-export

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes clutter from Claude Code /export transcripts, stripping banners, session data, and terminal chrome so conversations become readable, shareable Markdown.

Core Features & Use Cases

  • Removes terminal chrome, banners, and session lines from /export transcripts.
  • Converts user/assistant turn markers into clear Markdown sections (Human/Assistant).
  • Preserves code blocks and lists, and reflows text for readability.

Quick Start

Run the command /clean-export path/to/Conversation Export.md to generate the cleaned transcript.

Frequently Asked Questions about clean-export

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Claude Code export transcripts to readable Markdown?

You can convert Claude Code export transcripts by stripping terminal chrome and reformatting user and assistant turns into clean Markdown sections. This removes banners and session data to produce readable Markdown suitable for sharing and archiving.

Why does my Claude Code /export file contain terminal banners and session data?

Claude Code /export files contain terminal banners and session data because they capture raw terminal output. You must strip this terminal chrome and reflow the text to produce clean, readable Markdown for archiving workflows.

Does cleaning up an export transcript preserve code blocks and lists?

Yes, cleaning up an export transcript preserves code blocks and lists. The cleanup process targets terminal chrome and conversation turn markers while explicitly maintaining structural elements and reflowing text for readability.

What is the best way to remove terminal chrome from Claude Code transcripts?

The best way to remove terminal chrome from Claude Code transcripts is to apply an automated cleanup process that strips session lines and banners while converting user and assistant turn markers into clear Markdown sections.

Can I use this transcript cleanup approach for single-export conversation files only?

Yes, this transcript cleanup approach applies specifically to single-export conversation files from Claude Code. It processes individual /export files to reflow text and produce readable Markdown outputs.