finding-sessions-to-watch
Что он делает
Этот скилл помогает найти несколько записей сессий, которые важны для цели, например регистраций, цен или оформления заказа. Он предназначен для тех, кто открывает повторы сессий, не зная, какие записи смотреть.
Когда использовать
- ✓Когда вы хотите посмотреть записи, но не знаете, какие из них полезны.
- ✓Когда у вас есть цель, например падение регистраций, и вы хотите повторы, которые её показывают.
- ✓Когда вы хотите увидеть сессии с яростными кликами (rage clicks) или ошибками.
Ссылка на скилл
https://github.com/PostHog/posthog/blob/master/products/replay/skills/finding-sessions-to-watch/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Покажи несколько повторов сессий людей, которые ушли на этапе оформления заказа.”
5 новых скиллов в неделю. 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 |
|---|
Частые вопросы
Покажет ли он все записи?
Нет. Он никогда не выдаёт список без фильтров, потому что полезные сессии потонули бы в шуме.
Какие цели он знает?
Он знает типичные цели, например регистрации, цены, онбординг, оформление заказа, функцию или яростные клики.
Что делать, если я не знаю, что спросить?
Скилл предлагает короткое меню частых целей и задаёт один вопрос, прежде чем искать.
Подробности
Оригинальное описание автора
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
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
depot-ci
41kПомогает агенту настроить и запускать workflow в Depot CI, альтернативе GitHub Actions, включая перенос существующих workflow и чтение логов запусков.
depot-container-builds
41kПомогает агенту собирать Docker-образы на удалённых сборщиках Depot, включая мультиплатформенные образы, отправку в реестры и исправление ошибок сборки.
depot-github-runners
41kПомогает агенту переносить задачи GitHub Actions на раннеры Depot: выбирать размер и метки раннера и устранять проблемы настройки.
editing-agents-md
41kПомогает агенту решить, нужно ли правило в файле AGENTS.md или CLAUDE.md, и записать его так, чтобы оно работало, не раздувая файл.
Похожие скиллы
gitcrawl
394kПозволяет агенту искать в сохраненном архиве задач и запросов на слияние GitHub, объединять дубликаты и проверять их текущий статус на GitHub.
slacrawl
394kПозволяет агенту искать и считать сообщения в локальном архиве Slack, проверять его свежесть и при необходимости обновлять архив.
goplaces
394kПомогает агенту искать места, получать их подробности и отзывы и определять названия мест через Google Places, с выводом в JSON для скриптов.