diagnosing-replay-rendering

diagnosing-replay-rendering is a skill for Claude Code, Codex from PostHog/skills. It costs 203 tokens per session (1,882 once invoked), scanned A, original, MIT.

A diagnostic workflow for finding why a PostHog session recording looks wrong during playback. A session replay rebuilds a web page from recorded page snapshots rather than playing a video.

In plain words
What is it for?
Use it with an exported recording file when pages, images, canvas content, or other parts of a replay do not match the original application. It examines the recorded data and configuration events.
Why use it?
It identifies whether the content was never captured, playback assets cannot be fetched, or the player is drawing complete data incorrectly. That distinction indicates who can fix the problem.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with an exported recording file when pages, images, canvas content, or other parts of a replay do not match the original application. It examines the recorded data and configuration events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/skills/diagnosing-replay-rendering
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PostHog/skills --skill diagnosing-replay-rendering
Clone the repo
git clone --depth 1 https://github.com/PostHog/skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diagnosing-replay-rendering

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/skills/diagnosing-replay-rendering/github.svg)](https://agentmods.dev/skills/posthog/skills/diagnosing-replay-rendering)
Your own site
<a href="https://agentmods.dev/skills/posthog/skills/diagnosing-replay-rendering"><img src="https://agentmods.dev/badge/skills/posthog/skills/diagnosing-replay-rendering/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for diagnosing-replay-rendering

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/skills/diagnosing-replay-rendering"><img src="https://agentmods.dev/badge/skills/posthog/skills/diagnosing-replay-rendering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 203 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,882 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00203 $0.01882
Opus 5.5 $0.00081 $0.00753
Sonnet 5.5 $0.00041 $0.00376
Haiku 4.5 $0.00020 $0.00188

Measured 13d ago against content hash ecb2acabc68f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diagnosing-replay-rendering scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/omnibus/diagnosing-replay-rendering/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Diagnosing why a replay renders wrong

The user has a recording open and says it does not look like their app. Your job is to find what in the recorded data explains the difference, and to say who can fix it.

A replay is a rebuilt DOM, not a video. The player rebuilds the page from snapshots, then the viewer's browser fetches anything that was not inlined. So every rendering problem sits in one of three places:

  1. Capture: the SDK did not record the content (canvas off, element blocked, mask, missing full snapshot). The customer fixes it in SDK config. Recordings that already exist stay broken.
  2. Playback assets: the content was recorded as a reference, and the viewer's browser cannot fetch it now (CORS, expired signed URL, auth). The customer fixes it on their asset host.
  3. Player: the data is complete and correct, and the player draws it wrong. PostHog fixes it, and the fix repairs existing recordings.

Say which of the three it is. That is the most useful sentence in your answer.

Inputs

Input What it holds
Attached file ending in -ph-recording.json The full export: every rrweb snapshot, including the DOM. Can be many MB. Query it with jq.
session_recording_data context item A compact timeline (pages, console, network, custom events). It has no DOM.
The user's prompt Usually names the player time, for example "I am 01:23 into the recording". Start there.
posthog:session-recording-get Metadata, including snapshot_source (web or mobile) and duration.
posthog:execute-sql Events for the session: $lib, $lib_version, $browser, $os, $current_url.
posthog:session-recording-console-logs-list Console logs, if the export is not attached. Not every client has this tool. Skip it if absent.

Read the full file on GitHub · 133 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 133 lines · 203 tokens per session scan A ecb2acabc68f

Subscribe to this mod's changes

diagnosing-replay-rendering is a skill published in the GitHub repository PostHog/skills (81 stars, last pushed today), licensed MIT. It adds 203 tokens to every session and 1,882 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.

Related

diagnosing-replay-rendering compared with skills from other repositories

diagnosing-replay-rendering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diagnosing-replay-renderingPostHog/skillsSkill81todayMITA203Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
diagnosing-missing-recordingsPostHog/posthogSkill41ktodaynoneA76Claude Code, Codex