export-session

Export Claude Code sessions into structured markdown transcripts for archiving.

1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Largo2z9/phantomos --skill export-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: export-session
Source: https://github.com/Largo2z9/phantomos/tree/main/.skills/skills/export-session
Command: npx skills add https://github.com/Largo2z9/phantomos --skill export-session

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of losing valuable Claude Code conversation history by exporting sessions into clean, persistent markdown transcripts for later review and knowledge management.

Core Features & Use Cases

  • Session Exporting: Captures current, selected, filtered, or batch Claude Code sessions and stores them in an archive directory.
  • Archive Preparation: Produces readable markdown transcripts suitable for audits, collaboration, and building external knowledge bases.
  • Use Case: When an operator needs to review past agent behavior or share a conversation with a collaborator, use this Skill to create a durable session record.

Quick Start

Ask the agent to export this session to create a markdown archive of the current Claude Code conversation.

Frequently Asked Questions about export-session

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

FAQPage Schema
How do I export Claude Code sessions to markdown for archiving?

To export Claude Code sessions to markdown, the Skill reads session JSONL files and writes structured markdown transcripts to an archive directory for persistent conversation archiving. It captures current, selected, filtered, or batch sessions automatically.

What is the best way to save Claude Code conversation history for knowledge base creation?

Saving Claude Code conversation history for knowledge base creation requires exporting session JSONL files into clean, readable markdown transcripts. This Skill produces structured markdown archives suitable for external knowledge bases and historical agent behavior analysis.

Does exporting Claude Code transcripts require access to session JSONL files?

Yes, exporting Claude Code transcripts requires direct access to the session JSONL files stored in your workspace. The Skill reads these source files and writes the resulting markdown exports to a designated archive directory.

Can I batch export multiple Claude Code sessions into a single archive directory?

Batch exporting multiple Claude Code sessions is supported by this Skill. It captures current, selected, filtered, or batch sessions and consolidates the output markdown transcripts into your workspace archive directory for review and collaboration.

How do I review past Claude Code agent behavior using markdown transcripts?

Reviewing past Claude Code agent behavior involves exporting session JSONL files into structured markdown transcripts. This Skill generates readable markdown archives that operators can audit to analyze historical agent decisions and conversation flows.