AI & agents · Conversion & formats
session-replay
/session-replay
Converts a Claude Code session JSONL file into an animated GIF terminal replay. Use when creating demos or visual evidence from past sessions.
- Author
- athola ↗
- Repository
- claude-night-market ↗
- Licence
- MIT
- Last repository change
- 01.10.2026
Assessment and security
100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
Deprecation
No signals detected. Repository changed on 01.10.2026, without references to retired models or APIs.
Licence
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Converts a Claude Code session JSONL file into an animated GIF terminal replay. Use when creating demos or visual evidence from past sessions.
Original author description
Converts a Claude Code session JSONL file into an animated GIF terminal replay. Use when creating demos or visual evidence from past sessions.
How it works
- When To Use
- When NOT To Use
- Integration Points
- Workflow
- Example
- Exit Criteria
Original SKILL.md headings · 160 lines, 787 words
SKILL.md preview
---
name: session-replay
description: Converts a Claude Code session JSONL file into an animated GIF terminal replay. Use when creating demos or visual evidence from past sessions.
globs: "**/*.jsonl"
alwaysApply: false
category: artifact-generation
tags:
- recording
- demo
- session-capture
- gif
- terminal
- replay
tools: []
complexity: medium
model_hint: standard
estimated_tokens: 1500
progressive_loading: false
dependencies:
- scry:vhs-recording
---
# Session Replay
Turn a Claude Code session JSONL file into an animated GIF
that plays back the conversation as typed terminal output.
The skill orchestrates three steps: parse the session file
into turns, generate a VHS tape from those turns, and hand
off to scry for GIF rendering.
## When To Use
- Creating demos of development workflows
- Adding visual evidence to pull requests
- Sharing session highlights to Slack or GitHub
- Embedding session replays in tutorials
## When NOT To Use
- Writing blog posts from sessions (use `scribe:session-to-post`)
- Generating API documentation (use `scribe:doc-generator`)
- Recording live terminal commands (use `scry:vhs-recording` directly)
## Integration Points
| Need | Skill | What it adds |
|------|-------|-------------|
| GIF rendering | `scry:vhs-recording` | Converts VHS tape to animated GIF |
| Tutorial embedding | `scribe:tech-tutorial` | Embed GIF in tutorial markdown |
| PR preparation | `sanctum:prepare-pr` | Attach replay as PR evidence |
## Workflow
### Step 0: Pick a Session (when no path is provided)
When the user invokes `/session-replay` without a path argument,
use `scribe.session_parser.list_sessions()` to discover recent
session files from `~/.claude/projects/`.
The function returns a list of `SessionInfo` objects sorted by
modification time (most recent first), each containing:
- `path`: full path to the .jsonl file
- `modified`: mtime timestamp
- `first_user_message`: preview of the first human message
- `turn_count`: number of user turns in the session
- `project_name`: parent directory name
Present the list to the user as a numbered menu:
```
Recent sessions:
1. [my-project] "implement auth module" (8 turns, 2h ago)
2. [api-server] "fix rate limiting bug" (3 turns, 5h ago)
3. [docs-site] "update installation guide" (12 turns, 1d ago)
```
Ask the user to pick a number. Use the selected session's
`path` for the remaining steps.
If `list_sessions` returns an empty list, report that no
sessions were found and suggest providing a path directly.
### Step 1: Parse the Session
Use `scribe.session_parser.parse_session()` to read the JSONL
file. The parser:
- Extracts user and assistant turns
- Skips sidechain (subagent) records
- Collapses tool calls into readable summaries
- Wraps text at the configured column width
- Truncates long responses at the configured row count
Apply filters based on user options:
- `--turns` selects specific turn ranges (e.g. `1-5`)
- `--show` controls which layers appear: `user`, `assistant`,
`tools`, `thinking` (thinking is excluded by default)
### Step 2: Generate VHS Tape
Use `scribe.tape_generator.generate_tape()` to convert the
parsed turns into a VHS tape file. The generator:
- Creates the Output directive and Set commands
- Types user messages at 30ms/char with `$ ` prefix
- Types assistant responses at 15ms/char
- Types tool summaries at 100ms with two-space indent
- Adds 1.5s pauses between turns
- Holds the final frame for 3s
- Scales all timing by the `--speed` multiplier
- Truncates when `--max-duration` is exceeded
Write the tape to a temp file:
`{tempdir}/session-replay-{timestamp}.tape`
### Step 3: Render GIF
Invoke `Skill(scry:vhs-recording)` with the tape file path.
Scry validates the tape, runs VHS, and produces the GIF at
the path specified in the Output directive.
After successful rendering, delete the temp tape file.
### Error Handling
| Error | Action |
|-------|--------|
| VHS not installed | Report: install via `go install github.com/charmbracelet/vhs@latest` |
| Tape syntax error | Report VHS error output. Likely a string escaping bug. |
| GIF generation fails | Report VHS error. Suggest `--turns 1-5` to reduce scope. |
| Scry skill not found | Report: scry plugin required for GIF rendering. |
## Example
```bash
# Pick from recent sessions interactively
/session-replay
# Replay a specific file directly
/session-replay ~/.claude/projects/my-project/abc123.jsonl
# First 5 turns only, faster playback
/session-replay --turns 1-5 --speed 1.5
# Show only the conversation, no tool calls
/session-replay --show user,assistant --output demo.gif
```
Output (interactive picker):
```
Recent sessions:
1. [my-project] "implement auth module" (8 turns, 2h ago)
2. [api-server] "fix rate limiting bug" (3 turns, 5h ago)
3. [docs-site] "update installation guide" (12 turns, 1d ago)
Pick a session [1-3]: 1
Parsed 42 turns from session (12 user, 15 assistant, 15 tools)
Generated tape: /tmp/session-replay-1711234567.tape
Rendering GIF via scry...
Done: session-replay.gif (18s, 960x540)
```
## Exit Criteria
- [ ] VHS tape file written to `{tempdir}/session-replay-{timestamp}.tape`
before rendering is attempted
- [ ] GIF produced at the path specified in the tape's `Output`
directive and its size reported (duration, dimensions)
- [ ] Temp tape file deleted after the GIF renders successfully
- [ ] If VHS is not installed, error reported with the install command
`go install github.com/charmbracelet/vhs@latest` rather than
silently failing
- [ ] If no JSONL path is given and `list_sessions()` returns empty,
user is told no sessions were found and directed to provide a
path directly
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · athola/claude-night-market | 100 | MIT |
| mixpanel/mixpanel-headless | 100 | MIT |
| codewithpassion/plugin-marketplace | 100 | MIT |
| nexus-labs-automation/mobile-observability | 90 | MIT |
Database snapshot: 13.11.2026 · package version 2e4fd14bdef6 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100replay
Find, analyze, and share AI coding sessions with vibe-replay. Use when the user asks for a replay, wants to find a past session, run a session retro, share Cursor/Claude/Codex session context, or attach session context to a PR. - 100replay
Build a private replay page for a Claude Code session, showing the user's prompts, decisions, tests and commits in order. Use when they ask to replay, review or summarise a past session, to see what happened in a session, or to list their recent sessions. - 100analyzing-cc-sessions
Use when analyzing Claude Code raw session logs, parsing JSONL transcripts, investigating agent behavior, extracting metrics from session data, debugging subagent dispatches, or building session analysis tools. Triggers on session IDs, JSONL paths, ~/.claude/projects references,… - 100jsonl-core
This skill should be used when the user asks to "analyze conversation history", "parse JSONL files", "read past sessions", "search conversation logs", "find what happened in a session", or needs to work with Claude Code's .jsonl conversation format. It provides the canonical… - 100claude-session-manager
Manage Claude Code session transcripts from local JSONL storage, including listing candidate sessions, exporting full or selected sessions to organized Markdown, inspecting archives, and summarizing tool-call history. Use when the user asks to scan, parse, archive, inspect,… - 100claude-session-parsing
Locate, parse and summarize Claude Code session transcripts (the .jsonl files under ~/.claude/projects, plus their subagents/ and tool-results/ sidecars). Use this whenever the user gives a session id (a UUID like 3dd0f104-60f1-...), a subagent id (agent-xxxx), or a path into…