Claude-code-sessions session-export
install
source · Clone the upstream repo
git clone https://github.com/apappascs/claude-code-sessions
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/apappascs/claude-code-sessions "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/session-export" ~/.claude/skills/apappascs-claude-code-sessions-session-export && rm -rf "$T"
manifest:
skills/session-export/SKILL.mdsource content
Session Export
Export a session as a clean transcript.
Step 1: Resolve the session
If no session specified, use the current one:
bun run ${CLAUDE_PLUGIN_ROOT}/lib/session-store.ts list --project "$(basename $(pwd))" --limit 1
Step 2: Export
To print to conversation:
bun run ${CLAUDE_PLUGIN_ROOT}/lib/session-parser.ts export <session-jsonl-path> --format md
To save to file:
bun run ${CLAUDE_PLUGIN_ROOT}/lib/session-parser.ts export <session-jsonl-path> --format md --output session-transcript.md
For plain text:
bun run ${CLAUDE_PLUGIN_ROOT}/lib/session-parser.ts export <session-jsonl-path> --format txt --output session-transcript.txt
Step 3: Present
If written to file, confirm the path and line count. If inline, present the transcript directly.
Tool calls are summarized (tool name only, not full input JSON) to keep the transcript readable.