Agent skill · openclaw

session-viewer

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

What it needs

About 1k tokens when loaded.

What this skill does

Session Viewer Use when asked to view, export, inspect, or share a Codex, Claude Code, OpenClaw, or Pi session transcript in a browser. Commands When the session path is not known and the agent-transcript skill is available, use it first to find the likely JSONL session: Pick the highest-confidence file result, then render it with session-viewer. From a repo that has this skill: Useful modes: In a downstream repo that syncs shared skills under .agents/skills, replace skills/session-viewer with .agents/skills/session-viewer. Defaults: detects codex, claude, or pi-openclaw embeds normalized session data into one HTML file keeps tool input/output text in the DOM so browser search can find it --raw embeds the original JSONL and lets the browser parse it --blank creates a reusable file-picker viewer Where Sessions Live Codex: OpenClaw/Pi: Use sessions.json in the same directory to map session keys to session ids. Claude Code: Some Claude installs also keep exported JSON/JSONL under project-specific cache folders; prefer the newest JSONL with the target repo path in its parent folder. Development Scripts are native Node TypeScript. Keep them erasable: ok: types, interfaces, unions, satisfies avoid: enums, namespaces, decorators, parameter properties no tsconfig path aliases; use relative imports Importer ownership: scripts/importers/codex.ts: Codex rollout JSONL scripts/importers/claude.ts: Claude Code JSONL scripts/importers/pi-openclaw.ts: Pi/OpenClaw session JSONL Validate:

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills openclaw/session-viewer

View the source on GitHub

Browse the @skills marketplace