signals-scout-session-replay
Fungsinya
Scout ini memeriksa bahwa rekaman sesi terus diambil dan mencari kelompok gesekan pengguna, seperti rage click atau error setelah sebuah klik. Ditujukan untuk tim produk dan dukungan yang ingin melihat di mana pengguna kesulitan.
Kapan dipakai
- โSaat volume rekaman sesi turun tajam sementara trafik situs tetap sama.
- โSaat rage click atau dead click menumpuk di satu halaman atau elemen.
- โSaat banyak sesi mengalami error yang sama tepat setelah interaksi yang sama.
Link skill
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-session-replay/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โApakah perekaman sudah berhenti untuk sebagian situs saya, dan di mana pengguna terhambat atau frustrasi?โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Scout membandingkan volume rekaman dengan trafik situs dari waktu ke waktu. Scout juga memeriksa gesekan di setiap halaman atau elemen terhadap riwayat permukaan itu sendiri, sehingga gesekan yang tersebar tipis di seluruh produk tidak dihitung sebagai masalah.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah tingkat rekaman yang rendah selalu menjadi masalah?
Tidak. Sampling bisa disengaja, sehingga scout mencari perubahan pada rasio, bukan rasionya sendiri.
Apa itu dead click?
Itu adalah klik yang tidak menghasilkan apa pun, yang sering berarti pengguna mengharapkan sesuatu terjadi.
Bisakah rekaman yang terlewat dipulihkan nanti?
Tidak. Rekaman tidak dapat diambil setelah kejadian, sehingga hari yang terlewat hilang.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 41k
- Peringkat
- #6942
- Lisensi
- โ
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
depot-ci
41kMembantu agent Anda menyiapkan dan menjalankan alur kerja Depot CI, alternatif GitHub Actions, termasuk memigrasikan alur kerja yang ada dan membaca log eksekusi.
depot-container-builds
41kMembantu agent Anda membangun image Docker di builder jarak jauh Depot, termasuk image multi-platform, pengiriman ke registry, dan perbaikan kegagalan build.
depot-github-runners
41kMembantu agent Anda memindahkan job GitHub Actions ke runner yang dikelola Depot, memilih ukuran dan label runner, serta memecahkan masalah pengaturan runner.
editing-agents-md
41kMembantu agent Anda memutuskan apakah sebuah aturan layak masuk ke berkas AGENTS.md atau CLAUDE.md, dan menulisnya agar tetap dipatuhi tanpa membuat berkas membengkak.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.