npx claudepluginhub rmzi/portable-dev-system --plugin pdsThis skill uses the workspace's default tool permissions.
Export Claude Code session JSONL files to human-readable markdown.
Exports Claude Code session transcripts to GitHub-flavored Markdown with metadata header, collapsible tool results, and thinking blocks. Invoke via /export-session-as-markdown for current or specified path.
Extracts markdown transcripts from Clawdbot, Claude Code, and Codex .jsonl session logs using a bash script with jq. Useful for exporting prompt history or AI coding session transcripts.
Export and import Claude Code sessions to JSON files for secure, private sharing between developers via direct file transfer.
Share bugs, ideas, or general feedback.
Export Claude Code session JSONL files to human-readable markdown.
Output also feeds the dev-diary pipeline in
/pds:finish—scripts/assemble-diary.shcallsexport-session.shto produce the raw transcript block that lives inside the diary comment's<details>wrapper.
Run the export script:
# Export current/latest session to stdout
scripts/export-session.sh
# Export specific session
scripts/export-session.sh <session-id>
# Save to file
scripts/export-session.sh -o docs/conversations/session-name.md
# List available sessions
scripts/export-session.sh --list
| Var | Purpose |
|---|---|
TRANSCRIPT_PATH | Absolute path to the JSONL. Skips CWD-hash session discovery entirely — canonical source is the transcript_path field in hook payloads. |
FILTER_BRANCH | If set, JSONL entries are filtered to those whose gitBranch matches (entries without gitBranch, like early-session system messages, pass through). Produces a tighter, branch-scoped transcript. |
Or from the plugin root:
$CLAUDE_PLUGIN_ROOT/scripts/export-session.sh
The exported markdown uses role markers for readability:
| Marker | Role |
|---|---|
| 👤 Human | User messages |
| 🔵 Claude | Assistant text + tool calls |
| 🤖 Agent | Teammate/subagent messages |
| ⚙️ System | Slash commands |
| ⚙️ Shell | Terminal commands run by user |
Tool calls appear as compact 📎 lines showing the tool name and key parameters.
Timestamps are shown on every message. System reminders, XML tags, and internal metadata are stripped for readability.
Session JSONL files are stored at:
~/.claude/projects/<project-hash>/<session-id>.jsonl
Each project directory corresponds to a working directory. Use --list to see available sessions with their sizes and dates.
Save exported sessions to docs/conversations/ with descriptive names:
docs/conversations/2026-04-02-v4.8.0-session.md
docs/conversations/2026-03-31-source-analysis.md
scripts/efficiency-chart.sh — Value stream visualization from telemetry