chat-export
/chat-export
Eksportuje zapisy czatów i JSON rozmów do czystego Markdown, JSON lub zwykłego tekstu, z deterministycznym czyszczeniem transkryptu do raportów, promptów i dokumentacji.
- Autor
- ThalesGroup ↗
- Repozytorium
- agilab ↗
- Licencja
- BSD-3-Clause
- Ostatnia zmiana repozytorium
- 20.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 5
- Skrypty
- 2
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 20.10.2026, bez odwołań do wycofanych modeli i API.
BSD-3-Clause, otwarta.
- 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/export_chat.py, scripts/export_chat_docx.py
Co robi i kiedy
Eksportuje zapisy czatów i JSON rozmów do czystego Markdown, JSON lub zwykłego tekstu, z deterministycznym czyszczeniem transkryptu do raportów, promptów i dokumentacji.
Oryginalny opis (EN)
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.
Jak działa
- Overview
- When to use
- Workflow
- Quick start
- Input expectations
- Output rules
- Resources
Podgląd SKILL.md
---
name: chat-export
description: 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.
license: BSD-3-Clause (see repo LICENSE)
---
# 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`, or `docx`
- 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
1. 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.
2. Pick the target format.
- `markdown` for readable artifacts
- `json` for downstream tooling
- `text` for simple archival or prompt packs
- `docx` for handoff into report workflows
3. Normalize the messages.
- Keep only meaningful turns
- Standardize roles to `system`, `user`, `assistant`, or `tool`
- Collapse structured content into plain text when needed
4. Export deterministically.
- Use `scripts/export_chat.py` for file-based exports
- Read `references/formats.md` if the input schema is unclear
## Quick start
For a JSON conversation file:
```bash
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-system` keeps system turns
- `--include-empty` keeps empty messages
## Input expectations
The script accepts:
- a top-level list of message objects
- or a top-level object with one of:
- `messages`
- `conversation`
- `turns`
Each message can provide content via common fields such as:
- `content`
- `text`
- `message.content`
- `parts`
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.
Pliki w paczce (5)
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
- references/formats.md 1 KB
- scripts/export_chat.py 5 KB
- scripts/export_chat_docx.py 4 KB
Wersje
W bazie nie ma innych skilli o nazwie chat-export.
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki ef30207f47b1 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100conversation-json-to-md
Konwertuje eksport rozmów z czatu w formacie JSON na osobne pliki Markdown dla każdej rozmowy, z zachowaniem par pytanie i odpowiedź oraz ujednoliconymi nagłówkami. - 90sessionlog:export
Eksportuje bieżącą sesję Claude Code jako plik JSON w standardzie rozmów LLM oraz jako czytelny zapis tekstowy TXT. - 90export-transcripts
Eksportuje rozmowę z agentem kodującym, Claude Code lub Codex, do Markdown, HTML albo JSON, z opcją pełnego zapisu narzędzi. - 90sessionlog:export-all
Eksportuje wsadowo wszystkie sesje Claude Code z bieżącego projektu do plików JSON i TXT w formacie rozmów LLM. - 100text
Tworzy, zapisuje, eksportuje, konwertuje, formatuje i czyści pliki tekstowe TXT, Markdown i HTML oraz udostępnia gotowy plik do pobrania. - 100export-recipe
Eksportuje przepis Cooklang lub plan posiłków do innego formatu, takiego jak Markdown, JSON, YAML, czysty tekst, HTML lub LaTeX, albo jako szablon eksportu do ponownego użycia.