share-session

Convert Claude Code sessions into Markdown transcripts with metadata and cost statistics.

4|3|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/code-yeongyu/advanced-claude-code --skill share-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: share-session
Source: https://github.com/code-yeongyu/advanced-claude-code/tree/main/claude-code-plugins/claude-code-essentials/skills/share-session
Command: npx skills add https://github.com/code-yeongyu/advanced-claude-code --skill share-session

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires orjson, thefuzz, rich, httpx, and includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the manual effort of documenting and sharing your Claude Code conversations. It transforms complex session data into a clean, readable Markdown file, perfect for collaboration, archiving, or review.

Core Features & Use Cases

  • Automated Markdown Conversion: Converts entire Claude Code sessions, including thinking processes, tool usage, and user/assistant messages, into a single, well-structured Markdown document.
  • Comprehensive Session Data: Automatically merges pre-compaction backups to ensure a complete conversation history and includes detailed token usage and cost estimates.
  • Clipboard Integration: Copies the path to the generated Markdown file to your clipboard for instant sharing.
  • Use Case: Easily share a complex debugging session with a teammate, document a solution developed with Claude Code, or archive important conversations for future reference and compliance.

Quick Start

Share this Claude Code session as a markdown file.

Frequently Asked Questions about share-session

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

FAQPage Schema
How do I export a Claude Code session as Markdown?

Export Claude Code sessions to Markdown by running the share-session Skill, which converts your conversation history into a structured document with full transcript, tool usage, token counts, and cost analysis. The generated file path is automatically copied to your clipboard.

Can I share Claude Code conversation history with my team?

Yes. The Skill transforms Claude Code sessions into readable Markdown transcripts perfect for sharing with teammates. It merges pre-compaction backups to preserve complete conversation history and includes metadata, thinking processes, and cost breakdowns.

What information is included in the exported Markdown transcript?

Exported transcripts include full session metadata, complete user and assistant messages, tool invocations and results, token usage per interaction, and total session cost estimates. All content is formatted for readability and collaboration.

How does the Skill locate and identify the correct session to export?

The Skill uses fuzzy matching against to-dos to locate target sessions, ensuring accurate identification even with partial or approximate input. It requires a mandatory TodoWrite entry for session identification and truncates output before the share boundary.

Can I use this to document solutions developed in Claude Code?

Yes. The Skill is designed for archiving important conversations and documenting solutions developed with Claude Code. Export sessions as polished Markdown files suitable for compliance records, knowledge bases, or team documentation.

What dependencies does the session export process require?

Session export relies on orjson for efficient JSON handling, thefuzz for fuzzy matching session identification, rich for formatted output rendering, and httpx for any required HTTP operations during the export workflow.