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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
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:
- 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.
- 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:
- Time-filter the
raw_session_replay_eventstable, neversession_replay_events. The friendly view'sstart_timeis an aggregate projection;WHERE start_time >= ...on it returns zero rows even when recordings exist. Window onraw_session_replay_events.min_first_timestampinstead. - Both replay tables have multiple rows per session β
raw_session_replay_eventsalways, andposthog.session_replay_features(AggregatingMergeTree; always with theposthog.prefix β the bare name is an unknown table) until parts merge. Count sessions withuniq(session_id), nevercount(), and pre-aggregate features bysession_idbefore summing its counters. - Aggregate-state columns need merge functions on the raw table β
first_urlis anargMinstate: 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
Comments
- β¦
More skills from this repository
depot-ci
41kHelps your agent set up and run Depot CI workflows, a GitHub Actions alternative, including migrating existing workflows and reading run logs.
depot-container-builds
41kHelps your agent build Docker images on Depot's remote builders, including multi-platform images, pushing to registries, and fixing build failures.
depot-github-runners
41kHelps your agent move GitHub Actions jobs to Depot-managed runners, choosing runner sizes and labels, and troubleshooting runner setup issues.
editing-agents-md
41kHelps your agent decide whether a rule belongs in an AGENTS.md or CLAUDE.md file, and write it so it sticks without bloating the file.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.