chat-export

Convert chat transcripts into markdown, JSON, or text formats.

19|2|Updated Mar 14, 2025
One-click install
npx skills add https://github.com/ThalesGroup/agilab --skill chat-export
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chat-export
Source: https://github.com/ThalesGroup/agilab/tree/main/.claude/skills/chat-export
Command: npx skills add https://github.com/ThalesGroup/agilab --skill chat-export

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables users to turn chat transcripts into portable, reusable artifacts by normalizing and exporting conversations into stable formats like Markdown, JSON, or plain text.

Core Features & Use Cases

  • Deterministic export: consistently formats chats across runs for reliable handoffs.
  • Multi-format outputs: export to markdown, json, text, or docx to suit reports, prompts, or documentation.
  • Flexible input shapes: accepts a JSON array of messages or objects with messages, conversation, or turns.
  • Use Case: archive conversations for compliance, build prompt kits, or generate shareable meeting notes.

Quick Start

Provide a sample chat payload and run the export to generate markdown, json, or text outputs.

Frequently Asked Questions about chat-export

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

FAQPage Schema
How do I export chat transcripts to markdown or JSON?

You can export chat transcripts by providing a JSON array or objects with messages, conversation, or turns. The skill normalizes the input and deterministically renders portable markdown, JSON, or text artifacts.

What is the best way to normalize chat conversations for prompt kits?

Normalizing chat conversations for prompt kits requires mapping roles and processing JSON message arrays into stable formats. This approach ensures deterministic exports that remain consistent across multiple runs.

Can I include system messages and empty turns when exporting chat data to docx?

Yes, you can include system messages and empty turns when exporting chat data. Optional CLI flags allow you to control their inclusion during content normalization and output rendering for docx, markdown, JSON, or text.

Does the chat export tool support flexible input shapes for conversation data?

The chat export tool supports flexible input shapes by accepting a JSON array of messages or objects containing messages, conversation, or turns. This accommodates varied transcript structures for downstream normalization.

Why does my chat transcript export produce inconsistent formatting?

Inconsistent chat transcript exports often occur due to unnormalized input structures. By applying deterministic role mapping and content normalization to JSON arrays or conversation objects, the tool ensures stable markdown or JSON formatting.

When do I need to convert chat logs into portable artifacts?

You need to convert chat logs into portable artifacts when archiving conversations for compliance, building reusable prompt kits, or generating shareable meeting notes. Exporting normalized messages to markdown, JSON, or text ensures reliable records.