A Claude Code slash command that exports the current (or a past) session transcript as a clean, readable Markdown file instead of raw terminal output.

Stars

24

7-day growth

No data

Forks

1

Open issues

0

License

MIT

Last updated

2026-07-30

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It addresses a common pain point by converting Claude Code's internal JSONL transcript into well-formatted Markdown, preserving code blocks and collapsing tool noise, while offering flexible export options and no data leaving the machine.

Who it is for

  • Claude Code users who want readable conversation exports
  • Developers preparing PR descriptions or docs from debugging sessions
  • Teams that share project-scoped Claude Code commands via a repository
  • People needing to archive or inspect old CLI sessions

Use cases

  • Save a debugging trail as Markdown to paste into notes or issue reports
  • Create a PR description from a Claude Code session
  • Export an older session by session ID for record keeping
  • Generate a prose-only transcript for review with --no-tools

Strengths

  • Produces proper Markdown headings, code fences, and one-line tool summaries
  • Offers --last, --with-thinking, --full-tools, and --no-tools for controlled output
  • Supports standalone --list/--session to export ended conversations
  • Runs locally with no network calls; reads and writes only local files

Considerations

  • Without --session, it only targets the most recently modified transcript for the current directory, so parallel sessions can be ambiguous
  • Exports include whatever was in the conversation, so sensitive content may be copied
  • Depends on Claude Code's internal JSONL format, which can change between releases

README quick start

Usage

Description

A /export-md slash command for Claude Code — save any session as clean, readable markdown.

Related repositories

Similar projects matched by category, topics, and programming language.

0xwilliamortiz
Featured
0xwilliamortiz GitHub avatar

openclaude-improved

OpenClaude is an open-source CLI coding agent that runs on any platform and supports a wide range of LLM providers, offering the same tools and workflows as Claude Code.

AI & Machine LearningLarge Language Models
577
S40911120
Featured
S40911120 GitHub avatar

recensa

Recensa is a self-hosted web viewer that indexes Claude Code session transcripts into a local SQLite database, enabling full-text search, replay, and audit of all past agent conversations without uploading data anywhere.

AI & Machine LearningLarge Language Models
67
makecindy
Featured
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI & Machine LearningLarge Language Models
958