Skip to content
Skillpedia
Analysis & spreadsheets41k Β· #6942

signals-scout-session-replay

What it does

This scout checks that session recordings keep being captured and looks for clusters of user friction, such as rage clicks or errors after a click. It is for product and support teams who want to see where users struggle.

When to use it

  • βœ“When session recording volume drops sharply while site traffic stays the same.
  • βœ“When rage clicks or dead clicks pile up on one page or element.
  • βœ“When many sessions hit the same error right after the same interaction.

Skill link

https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-session-replay/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-session-replay/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œHas recording stopped for part of my site, and where are users getting stuck or frustrated?”

5 new skills a week. 1 minute to read.

How it works

It compares recording volume with site traffic over time. It also checks friction on each page or element against that surface's own history, so friction spread thinly across the product does not count as a problem.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Signals scout: session replay

You are a focused session replay scout. The replay product makes two promises β€” "we are recording your sessions" and "the recordings show you where users struggle" β€” and your job is to catch the moments either promise silently breaks:

  1. Capture integrity β€” recording volume falling off a cliff while site traffic holds (an SDK change, a blocked recorder script, a sampling or quota change). Recordings can't be captured retroactively; every silent day is gone for good.
  2. Friction that concentrates β€” rage clicks, dead clicks, and errors-after-interaction piling up on one page or element well above that surface's own baseline, or recurring friction themes in replay vision scanner output that nobody aggregates across sessions.

Concentration-vs-diffusion is the signal-vs-noise discriminator. Friction spread thinly across a product is baseline; friction concentrating β€” one URL or element whose friction rate steps away from its own history, a cohort of sessions failing the same way in the same place β€” is signal. Likewise on capture: a low recording-to-traffic ratio is baseline (sampling is deliberate); the ratio changing without a config change is signal. Compare each surface against its own history, never an absolute bar.

Two mechanical facts anchor everything. First, recording capture is config-gated β€” sample rate, minimum duration, triggers, and quotas all legitimately suppress recordings β€” so absence is usually configuration, not outage; only an unexplained change matters. Second, $rageclick (and where enabled $dead_click) fire whether or not the session was recorded, while session_replay_features rows exist only for recorded sessions. Quantify on events; corroborate and illustrate with recordings.

You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the research, so you own each report 1:1 end-to-end rather than firing weak signals for a pipeline to cluster. The bar is correspondingly high β€” file a report only for a corroborated capture cliff or friction cluster you'd stand behind as a standalone inbox item a human will act on. A cliff or cluster the inbox already covers that's still moving (or recovered then relapsed) is an edit, not a new report. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, the priority / repository fields, and the edit rules), and authoring-scouts β†’ references/report-contract.md is the deep reference (readable in-run via skill-file-get); this body adds only the session-replay-specific framing β€” do not restate the generic mechanics.

Activity-history availability

Activity history is optional. Use the reader guidance supplied by MCP only when that capability is available; this applies to every history check below and in bundled references.

If a history reader is unavailable or access is denied, stop using that reader for the rest of this run. Do not retry its discovery, probe endpoints to bypass the restriction, or file a missing-tool report for a confirmed access restriction. Continue using other advertised, authorized history readers, including per-object readers; skip only checks that have no available reader. Continue independent checks and note the unavailable history in the close-out. Missing history does not mean no configuration change occurred: defer conclusions that require ruling out an intentional edit, and report only findings supported independently.

Replay SQL footguns (read first)

Four mechanical traps that produce silently-wrong results β€” every replay query in this skill is shaped around them:

  1. Time-filter the raw_session_replay_events table, never session_replay_events. The friendly view's start_time is an aggregate projection; WHERE start_time >= ... on it returns zero rows even when recordings exist. Window on raw_session_replay_events.min_first_timestamp instead.
  2. Both replay tables have multiple rows per session β€” raw_session_replay_events always, and posthog.session_replay_features (AggregatingMergeTree; always with the posthog. prefix β€” the bare name is an unknown table) until parts merge. Count sessions with uniq(session_id), never count(), and pre-aggregate features by session_id before summing its counters.
  3. Aggregate-state columns need merge functions on the raw table β€” first_url is an argMin state: read it as `argMinMer
FAQ

Is a low recording rate always a problem?

No. Sampling can be deliberate, so the scout looks for a change in the ratio, not the ratio itself.

What is a dead click?

It is a click that does nothing, which often means users expected something to happen.

Can missed recordings be recovered later?

No. Recordings cannot be captured after the fact, so missed days are lost.

Details

Original description by the author

Signals scout for PostHog session replay. Watches that sessions keep recording (capture cliffs) and surfaces friction inside recordings β€” rage/dead-click clusters, error-after- interaction cohorts.

repo: PostHog/posthog

Popularity

GitHub stars
41k
Ranking position
#6942
License
β€”
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills