跳到正文
Skillpedia
分析与电子表格41k · #6942

signals-scout-session-replay

它能做什么

该侦察器检查会话录制是否持续被捕获,并寻找用户遇到阻碍的集中区域,例如快速连点或点击后出现的错误。适合希望了解用户在哪里遇到困难的产品和支持团队。

适用场景

  • ✓当网站流量保持不变,而会话录制数量急剧下降时。
  • ✓当某个页面或元素上的快速连点或无效点击不断累积时。
  • ✓当许多会话在同一次交互之后遇到同一个错误的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-session-replay/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我网站的部分区域是否已停止录制?用户在哪些地方卡住或感到沮丧?”

每周 5 个新技能,1 分钟读完。

工作原理

它会随时间比较录制数量与网站流量。它还会将每个页面或元素上的阻碍,与该界面自身的历史进行比较,因此分散在整个产品中的轻微阻碍不会被视为问题。

技术内容(原始 SKILL.md)

作者在 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
常见问题

录制率低总是有问题吗?

不一定。采样可能是有意为之,因此该侦察器关注的是比率的变化,而不是比率本身。

什么是无效点击?

它是没有产生任何效果的点击,这通常意味着用户期望某些事情会发生。

错过的录制能事后补回吗?

不能。录制无法事后补捉,因此错过的日期将无法找回。

详情

作者的原始描述

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

热度

GitHub 星标
41k
排名
#6942
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能