New advertisers: 50% off your first month with code FIRSTMONTHSee slots
openclaw avatar

Session Viewer

Renders Codex, Claude Code, OpenClaw, or Pi session transcripts as a searchable single-file HTML viewer.

skills.sh installs
940
GitHub stars
1.1K
last updated
Jun 11, 2026
View on GitHub

What it does

  • Covers rendering session JSONL into one shareable HTML file, plus a blank file-picker viewer mode
  • Includes normalized and --raw export modes, with --max-read-bytes for opt-in partial exports of oversized files
  • Keeps tool input and output text in the DOM so browser search can find it, and reads complete files by default
  • Designed for reviewing or sharing agent sessions when the transcript path is known or found via agent-transcript

Install

$ npx -y skills add openclaw/agent-skills --skill session-viewer -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Session Viewer

Use when asked to view, export, inspect, or share a Codex, Claude Code, OpenClaw, or Pi session transcript in a browser.

Commands

Resolve SESSION_VIEWER_SKILL_DIR to the directory containing this SKILL.md. Use that installed source for commands, independent of the current repository.

When the session path is not known and the agent-transcript skill is available, use it first to find the likely JSONL session: Resolve TRANSCRIPT_SKILL_DIR from that skill's actual installation before running:

"$TRANSCRIPT_SKILL_DIR/scripts/agent-transcript" find \
  --query "$USER_GOAL_OR_TITLE $BRANCH_OR_URL" \
  --cwd "$PWD" \
  --since-days 14

Pick the highest-confidence file result, then render it with session-viewer.

Render with the resolved installation:

node "$SESSION_VIEWER_SKILL_DIR/scripts/session-viewer.ts" <session.jsonl> --out /tmp/session.html --open

Useful modes:

Details

Repository
github.com/openclaw/agent-skills
Categories
Agent Workflow & Planning, Debugging
License
MIT
First seen
Jun 11, 2026

More from openclaw/agent-skills

All 5

Similar to Session Viewer

More Agent Workflow & Planning