sessionlog:export

Installation
SKILL.md

Session Log Export

Export the current Claude Code session to standard LLM conversation JSON and a human-readable TXT transcript.

Steps

1. Identify current session

Run the following to find the session file:

project_dir="$HOME/.claude/projects/$(pwd | sed 's|/|-|g')"
current_session=$(ls -t "$project_dir"/*.jsonl 2>/dev/null | head -1)
session_id=$(basename "$current_session" .jsonl)
echo "Session: $session_id"
echo "Source: $current_session"

2. Determine output directory

Related skills
Installs
2
GitHub Stars
9
First Seen
Apr 15, 2026