Claude Chat To Md — Communication skill for Claude Code
Convert Claude Code chat sessions to clean Markdown — including subagent conversations.
How to install Claude Chat To Md
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open luckynick/claude-chat-to-md and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Chat To Md does
Convert Claude Code chat sessions to clean Markdown — including subagent conversations.
Alternatives in Communication
- Lark Coding Agent Bridge — Bot that bridges Feishu/Lark messenger with a local Claude Code or Codex CLI 2.4k ★
- Qiaomu Anything To Notebooklm — Claude Skill: Multi-source content processor for NotebookLM 1.4k ★
- X Article Publisher Skill — Claude Code skill for publishing Markdown articles to X (Twitter) Articles 667 ★
README
claude-chat-to-md
Convert [Claude Code](https://docs.anthropic.com/en/docs/claude-code) chat sessions to clean, readable Markdown — including subagent conversations.
Claude Code persists full chat history as JSONL files under `~/.claude/projects/`. This tool reads those files and produces well-formatted Markdown with proper headings, code blocks, and collapsible sections for tool results and subagent conversations.
Install
pipx install claude-chat-to-md
Or with pip:
pip install claude-chat-to-md
Or run directly from source:
git clone https://github.com/luckynick/claude-chat-to-md.git
cd claude-chat-to-md
pip install -e .
Usage
List sessions
claude-chat-to-md --list
# Date ID Title Project
------------------------------------------------------------------------------------------------------------------------
1 2025-10-15 14:30 a1b2c3d4.. Refactor auth middleware dev/myapp
2 2025-10-14 09:15 e5f6a7b8.. Add user settings page dev/myapp
3 2025-10-13 16:45 c9d0e1f2.. Debug CI pipeline dev/infra
Convert a session
# By index (from --list)
claude-chat-to-md 1 -o chat.md
# By UUID prefix
claude-chat-to-md a1b2c3 -o chat.md
# By title substring
claude-chat-to-md "auth middleware" -o chat.md
# Most recent session
claude-chat-to-md --latest -o chat.md
Filter by project
claude-chat-to-md --list --project myapp
claude-chat-to-md --latest --project myapp -o chat.md
Export all sessions
claude-chat-to-md --all --output-dir ./exports/
Options
| Flag | Description |
|---|---|
--list, -l |
List all available sessions |
--latest |
Convert the most recent session |
--all |
Convert all sessions |
--project, -p |
Filter sessions by project pa |
Related Skills
Backend API
Use when changing the Express and TypeScript backend in server/, including auth, conversations, guest flows, c
Chat Shared Conversation To File
CLI tool that converts public share links from ChatGPT, Gemini, Grok, and Claude into clean Markdown and stati
/cht
Chat persistence for Claude Code — 13 slash commands + hooks for saving conversations as local markdown files.
Twitter Article To Markdown
Claude Code Skill: Save X (Twitter) long-form articles as clean Markdown files
Cctrace
Export Claude Code chat sessions into markdown and XML.
DelphiAnthropic
The Anthropic API wrapper for Delphi leverages cutting-edge models, including Anthropic's advanced Claude seri
Related Agents
Dipeocc Converter
Use this agent when the user wants to convert Claude Code sessions into DiPeO diagrams, replay AI conversation
Chat Tracker
Read job-related conversations from WhatsApp Web and LinkedIn messaging by driving the user's logged-in Chrome
Conversation Historian
Use when analyzing Claude Code conversation history, finding past sessions by topic, tracing how implementatio