signals-scout-session-replay
Skill này làm gì
Scout này kiểm tra xem bản ghi phiên có tiếp tục được thu thập không và tìm các cụm trở ngại của người dùng, như click liên tục hoặc lỗi xảy ra ngay sau một thao tác nhấp. Scout dành cho đội sản phẩm và hỗ trợ muốn thấy người dùng gặp khó khăn ở đâu.
Khi nào nên dùng
- ✓Khi khối lượng bản ghi phiên giảm mạnh trong khi lưu lượng truy cập trang vẫn giữ nguyên.
- ✓Khi các click liên tục hoặc click không phản hồi chất đống trên một trang hoặc phần tử.
- ✓Khi nhiều phiên gặp cùng một lỗi ngay sau cùng một thao tác.
Liên kết skill
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-session-replay/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Việc ghi hình có ngừng ở một phần của trang web tôi không, và người dùng bị kẹt hoặc bực bội ở đâu?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Scout so sánh khối lượng bản ghi với lưu lượng truy cập trang theo thời gian. Nó cũng kiểm tra các trở ngại trên từng trang hoặc phần tử so với lịch sử riêng của bề mặt đó, nên trở ngại rải mỏng khắp sản phẩm không được tính là vấn đề.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Tỷ lệ ghi hình thấp có luôn là vấn đề không?
Không. Việc lấy mẫu có thể là có chủ ý, nên scout tìm sự thay đổi trong tỷ lệ chứ không phải bản thân tỷ lệ.
Click không phản hồi là gì?
Đó là một cú click không làm gì cả, thường có nghĩa là người dùng đã mong đợi một điều gì đó xảy ra.
Có thể khôi phục các bản ghi đã bỏ lỡ sau không?
Không. Bản ghi không thể thu lại sau khi việc đó đã xảy ra, nên những ngày bị bỏ lỡ sẽ mất.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6942
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
depot-ci
41kGiúp agent của bạn thiết lập và chạy quy trình Depot CI, một lựa chọn thay thế GitHub Actions, gồm chuyển các quy trình hiện có và đọc nhật ký chạy.
depot-container-builds
41kGiúp agent của bạn build image Docker trên các builder từ xa của Depot, gồm image đa nền tảng, đẩy lên registry và sửa lỗi build.
depot-github-runners
41kGiúp agent của bạn chuyển các job GitHub Actions sang runner do Depot quản lý, chọn kích thước và nhãn runner, và xử lý lỗi thiết lập runner.
editing-agents-md
41kGiúp agent của bạn quyết định một quy tắc nên nằm trong file AGENTS.md hay CLAUDE.md, và viết sao cho quy tắc được tuân thủ mà file không bị phình to.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.