Export Claude Code session transcripts from JSONL logs to readable text format. Use when the user asks to export a session, save a transcript, create session archives, or convert session logs to readable format. Triggers on phrases like "export session", "save transcript", "session to text".
Install with Tessl CLI
npx tessl i github:ddehart/claude-code-plugins --skill session-exportOverall
score
18%
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Export Claude Code session JSONL logs to readable, UI-style text format matching the native /export command output.
~/.claude/projects/<project>/<session-id>.jsonlWhen the user asks to export a session, determine which session to export:
If user provides a session ID:
~/.claude/projects/<project-path>/<session-id>.jsonlIf user wants to browse recent sessions:
~/.claude/projects/ for the current projectTo find sessions for the current project:
ls -lt ~/.claude/projects/$(pwd | sed 's|/|%|g')/*.jsonl | head -10Check project context first:
sessions/, transcripts/, chronicles/, docs/sessions/)If no project convention exists, ask the user:
./sessions/YYYY-MM-DDThhmm-<description>.txtOutput filename format: YYYY-MM-DDThhmm-<description>.txt
The export script is located at:
<plugin-dir>/skills/session-export/scripts/export-session.py
python3 <plugin-dir>/skills/session-export/scripts/export-session.py <session-file.jsonl> <output-path.txt>After export, report:
The export produces UI-style readable text with:
>⏺ bullets⎿ markersExport current/recent session:
"Export this session" "Save the transcript"
Export specific session:
"Export session abc123" "Export the session from yesterday"
Browse and choose:
"Show me recent sessions to export" "List sessions from this project"
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.