finding-sessions-to-watch
できること
このスキルは、サインアップ、料金、オンボーディング、チェックアウトなどの目標に関わる、少数のセッション録画を見つけます。どの録画を見ればよいかわからないままセッションのリプレイを開く人向けです。
使う場面
- ✓録画を見たいが、どれが役に立つかわからないとき。
- ✓サインアップが減っている理由など、目標を示すリプレイを見たいとき。
- ✓レイジクリックやエラーのあるセッションを見たいとき。
スキルのリンク
https://github.com/PostHog/posthog/blob/master/products/replay/skills/finding-sessions-to-watch/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“チェックアウトの途中で離脱した人たちのセッションのリプレイを、いくつか見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
目標をページやイベントなどの絞り込みに変え、シグナルが最も強い録画の短い一覧を返します。その後、そのうちの1つを詳しく調べることを提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Finding sessions to watch
Most people open session replay with a goal ("why are signups dropping?") but no idea which of thousands of recordings to watch. A raw, unfiltered list is the worst possible answer — it buries the useful sessions in noise. Your job is to turn their intent into a focused filter, return a handful of high-signal recordings, and offer to dig into one.
The starting points below are the same ones the product surfaces as "filter templates" — they encode the jobs people actually use replay for. Treat them as a menu, not a script.
The one rule
Never dump an unfiltered recording list. Always either (a) apply a goal-based filter, or (b) sort by a signal (activity, errors) so the first few rows are worth a click. If the user's goal is unclear, ask one short question or offer the menu before querying.
Available tools
| Tool | Purpose |
|---|---|
posthog:query-session-recordings-list |
Find/filter recordings (the workhorse). Returns metadata + id per row. |
posthog:read-data-schema |
Confirm real event names, URLs, and property values before filtering. |
posthog:execute-sql |
Collect $session_ids for sessions where a specific event happened. |
posthog:cohorts-list |
Resolve a cohort name → id when scoping to a user segment. |
posthog:session-recording-playlist-create |
Save the resulting filter as a saved filter view (type: 'filters'). |
Hand off to the investigating-replay skill once the user picks a recording to understand in depth.
Workflow
1. Pin down the goal
Map the request to one of the starting points below. If it's vague ("show me something interesting"), offer 3-4 options rather than guessing, or default to most active sessions (high signal, no setup).
2. Discover before you filter
Event names and URLs vary per project — never assume $pageview paths, a signup_completed event, or
a person property exists. Confirm with read-data-schema (event_properties,
event_property_values, entity_property_values) before putting a value in a filter. If the needed
event/property doesn't exist, say so and suggest the closest available signal.
3. Run a minimal query
Call query-session-recordings-list with only the filters that serve the goal. Recommended settings:
- set
filter_test_accounts: true(the tool defaults tofalse) to exclude internal users, unless the user is debugging their own session. date_fromof-7dto-30dfor goal-based searches;-3dfor "recent".- A deliberate
order—activity_scorefor "interesting",console_error_countfor "broken",start_timefor "recent". limit: 10— you want a shortlist, not a dump.
4. Triage and present
Don't relay raw rows. Pick the 3-5 most promising and say why each is worth watching (long active
duration, many errors, reached the key page, high activity score). Deep-link each as
{posthog_base_url}/replay/{id} — never /replay/home?sessionRecordingId={id}. Note total matches so
the user knows how much is behind the shortlist.
5. Offer the next step
- "Want me to walk through one?" →
investigating-replay. - "Want to keep watching these?" → save it as a saved filter view with
session-recording-playlist-create(type: 'filters'— a filter view, not a'collection', which is for manually curated recordings and can't carry filters).
Starting points → filters
Two filter shapes cover almost everything:
- Reached a page → recording metric
visited_page({ "type": "recording", "key": "visited_page", "operator": "icontains", "value": "/pricing" }). - Did a specific event (signup, search, rageclick, used a feature) → there is no event-name filter on
the recordings query, so first collect session IDs with
execute-sql, then pass them assession_ids(see the two-step pattern below).
| User goal | Approach |
|---|
よくある質問
すべての録画を見せてくれますか?
いいえ。絞り込みをせずに一覧を出すことはありません。それでは有用なセッションがノイズに埋もれてしまうためです。
どんな目標を扱えますか?
サインアップ、料金、オンボーディング、チェックアウト、機能、レイジクリックなど、よくある目標を扱えます。
何を聞けばよいかわからない場合は?
検索の前に、よくある目標の短いメニューを提示し、1つ質問をします。
詳細
作者による元の説明
Guides a user from "I want to watch recordings but don't know which ones" to a short, high-signal list of sessions worth watching. Use when the user asks which sessions or replays to watch, wants help finding interesting / useful recordings, says they don't know where to start in session replay, or wants to watch sessions about a goal (signup, pricing, onboarding, checkout, a feature, rageclicks, errors, mobile, a specific person) without naming exact filters. Turns a vague intent into a focused RecordingsQuery via `query-session-recordings-list`, then deep-links the best few and hands off to
repo: PostHog/posthog
人気
- GitHubのスター
- 41k
- ランキング
- #6908
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
depot-ci
41kエージェントが、GitHub Actionsの代替であるDepot CIのワークフローを設定し実行できるよう支援します。既存のワークフローの移行や、実行ログの確認も含みます。
depot-container-builds
41kエージェントが、Depotのリモート・ビルダーでDockerイメージを作れるよう支援します。マルチプラットフォームのイメージ、レジストリへのプッシュ、ビルド失敗の修正を含みます。
depot-github-runners
41kエージェントが、GitHub Actionsのジョブを Depot が管理するランナーに移し、ランナーのサイズとラベルを選び、ランナー設定の問題を解決できるよう支援します。
editing-agents-md
41kエージェントが、AGENTS.mdとCLAUDE.mdのどちらにルールを書くべきかを判断し、ファイルを膨らませずに守られやすい形で書けるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。