chat-export
БесплатноЗапускает вложенные скриптыНе проверенExport chat transcripts or conversation JSON into clean Markdown, JSON, or plain-text artifacts. Use this skill when a user wants a reusable export of a chat…
от ThalesGroup★ 23 звезды на GitHubОб этом скилле
Chat Export
Overview
Use this skill to turn a chat transcript into a reusable artifact with stable structure. Prefer the bundled script for file-based exports and repeated transformations.
When to use
- Export a conversation to
markdown,json,text, ordocx - Normalize a messy chat JSON into a clean message list
- Remove empty turns or system turns for downstream use
- Prepare a conversation for docs, prompts, reports, or archival
Workflow
- Identify the source shape.
- If the user gives a JSON file, use the script.
- If the user only provides pasted transcript text, transform it directly in the response unless they explicitly want files created.
- Pick the target format.
markdownfor readable artifactsjsonfor downstream toolingtextfor simple archival or prompt packsdocxfor handoff into report workflows
- Normalize the messages.
- Keep only meaningful turns
- Standardize roles to
system,user,assistant, ortool - Collapse structured content into plain text when needed
- Export deterministically.
- Use
scripts/export_chat.pyfor file-based exports - Read
references/formats.mdif the input schema is unclear
- Use
Quick start
For a JSON conversation file:
python scripts/export_chat.py input.json --format markdown --output chat.md
python scripts/export_chat.py input.json --format json --output chat.normalized.json
python scripts/export_chat.py input.json --format text --output chat.txt
python scripts/export_chat.py input.json --format docx --output chat.docx --title "Chat Export"
Useful flags:
--title "My Export"adds a document title--include-systemkeeps system turns--include-emptykeeps empty messages
Input expectations
The script accepts:
- a top-level list of message objects
- or a top-level object with one of:
messagesconversationturns
Each message can provide content via common fields such as:
contenttextmessage.contentparts
See references/formats.md for the accepted shapes and normalization rules.
Output rules
- Markdown uses a readable heading plus one section per turn
- JSON emits a normalized list of
{role, content} - Text emits a linear transcript with
ROLE:prefixes - DOCX emits a simple report-style transcript with a title and one heading per turn
Resources
scripts/export_chat.py
Deterministic CLI export tool for JSON-based chat data.
references/formats.md
Accepted source shapes, role normalization, and output conventions.
Установить chat-export в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл chat-export?
Export chat transcripts or conversation JSON into clean Markdown, JSON, or plain-text artifacts. Use this skill when a user wants a reusable export of a chat thread, needs a deterministic transcript cleanup, or wants a conversation converted into a file-oriented format for reports, prompts, docs, or downstream tooling.
Как установить скилл chat-export?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл chat-export запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic