From sessionlog
This skill should be used when the user asks to "export session log", "convert session to json", "export conversation", "save session", "sessionlog export", "export this session", or wants to export the current Claude Code session as a standard LLM conversation JSON file and human-readable TXT transcript.
npx claudepluginhub florianbuetow/claude-code --plugin sessionlogThis skill uses the workspace's default tool permissions.
Export the current Claude Code session to standard LLM conversation JSON and a human-readable TXT transcript.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Export the current Claude Code session to standard LLM conversation JSON and a human-readable TXT transcript.
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"
Use the output directory specified in the user's prompt. If none was specified, default to docs/sessionlogs/ relative to the current working directory.
"${CLAUDE_PLUGIN_ROOT}/scripts/export-session.sh" "$current_session" "<output-dir>" "$session_id"
The script produces two files:
<output-dir>/claude-<session-id>.json — standard LLM conversation JSON (array of {role, content} objects)<output-dir>/claude-<session-id>.txt — human-readable transcript with [user]/[assistant] prefixesShow the user:
JSON — Array of message objects following the standard LLM conversation format:
[
{"role": "user", "content": "Hello"},
{"role": "assistant", "content": [{"type": "text", "text": "Hi there!"}]}
]
TXT — Human-readable transcript:
Session: <session-id>
[user] Hello
[assistant] Hi there!