analyzing-experiment-session-replays
하는 일
이 스킬은 각 실험 변형의 사용자 녹화를 검토해 행동이 어떻게 다른지 봅니다. 테스트 숫자의 배경 이야기를 원하는 제품 및 성장 팀을 위한 것입니다.
사용하는 경우
- ✓실험 변형마다 사용자가 어떻게 행동하는지 보고 싶을 때.
- ✓한 변형에서만 나타나는 사용성 문제를 찾고 싶을 때.
- ✓시작된 실험의 결과를 설명할 정성적 근거가 필요할 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/experiments/skills/analyzing-experiment-session-replays/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“가격 실험의 테스트 변형과 대조군에서 사용자가 어떻게 행동하는지 비교해서 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
실험과 변형을 찾고, 각 그룹의 세션 녹화를 검토합니다. 사용자가 한 행동을 비교하고 차이를 요약합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Analyzing experiment session replays
This skill guides you through analyzing session recordings for experiment variants to understand behavioral differences between control and test groups.
When to use this skill
Use this skill when:
- The user asks to analyze session replays for an experiment
- The user wants to understand how users behave differently across experiment variants
- The user asks to compare user behavior between control and test variants
- The user wants qualitative insights to complement experiment metrics
- The user asks questions like "How are users behaving in my experiment?" or "Show me session replays for variant X"
Prerequisites
Before analyzing session replays:
- The experiment must be launched (not in draft state)
- Session replay must be enabled for the project
- Users must have been exposed to the experiment variants
- The experiment must have a start date
Workflow
1. Get experiment details and feature flag variants
First, retrieve the experiment information and the feature flag variants (source of truth).
Step 1a: Get experiment metadata
You can either:
- Option A: Use the
experiment-gettool if you already have the experiment ID from context - Option B: Query the experiments table via HogQL:
SELECT
e.id,
e.name,
f.key AS feature_flag_key,
e.start_date,
e.end_date
FROM system.experiments e
JOIN system.feature_flags f ON f.id = e.feature_flag_id
WHERE e.id = <experiment_id>
From the experiment data, extract:
feature_flag_key: The feature flag controlling the experimentstart_dateandend_date: The experiment's time range
Step 1b: Get variants from the feature flag
IMPORTANT: Always get variants from the feature flag, NOT from experiment.parameters.feature_flag_variants.
The parameters can be out of sync or deprecated. The feature flag is the source of truth.
Query the feature flag to get the current variants:
SELECT filters.multivariate.variants AS variants
FROM system.feature_flags
WHERE key = '<feature_flag_key>'
Select the variants path directly — selecting the whole filters object gets truncated in results for flags with large targeting configs.
Example structure: [{"key": "control", "name": "Control", "rollout_percentage": 50}, {"key": "test", ...}]
The variant key values (e.g., "control", "test", "variant_a") are what you'll use to filter session recordings.
2. Build session recording filters for each variant
For each variant in the experiment, construct recording filters that match users exposed to that variant.
Filter structure for a variant (input to query-session-recordings-list):
{
"date_from": "<experiment.start_date>",
"date_to": "<experiment.end_date or current time>",
"filter_test_accounts": true,
"properties": [
{
"type": "event",
"key": "$feature/<feature_flag_key>",
"operator": "exact",
"value": ["<variant_key>"]
}
]
}
Key points:
- The
$feature/<flag_key>event property records the flag's value on each event — filtering on it matches recordings where the flag was active with that variant. This is an approximation of exposure, broader than the experiment's exposure event ($feature_flag_called, or$experiment_exposureon the new rollout — both deduped per identity): right for browsing behavior across variants, but not an exact mirror of the analysis population — thescanning-experiments-with-replay-visionskill derives that exact filter when you need it valueis an array of variant key strings (e.g.["control"]); for boolean flags use["true"]or["false"]- Avoid the
type: "flag"/flag_evaluates_toproperty filter for variant scoping — the recordings query accepts it but silently ignores it, returning unfiltered results (last verified 2026-06-10). If you want to try it anyway, verify it actually filters first: a query with a nonexistent flag key should return zero recordings - Set the date range to the experiment's start and end dates
- Enable
filter_test_accounts: trueto exclude test users
3. Retrieve recordings for each variant
Use the query-session-recordings-list tool with the filters constructed in step 2.
Call the tool once per variant to get recordings for each group:
- Variant "control" → recordings for control group
- Variant "test" → recordings for test variant
- Additional variants if the experiment has more than 2
The tool retur
자주 묻는 질문
실험이 왜 시작되어 있어야 하나요?
리플레이는 사용자가 노출된 뒤에 변형과 연결되므로, 실험이 실행 중이고 시작일이 있어야 합니다.
세션 리플레이를 켜야 하나요?
네. 이것이 작동하려면 프로젝트에서 세션 리플레이가 활성화되어 있어야 합니다.
실험 지표를 대체하나요?
아니요. 숫자를 설명하는 정성적 통찰을 더합니다.
상세 정보
작성자의 원본 설명
Analyze session replay patterns across experiment variants to understand user behavior differences. Use when the user wants to see how users interact with different experiment variants, identify usability issues, compare behavior patterns between control and test groups, or get qualitative insights to complement quantitative experiment results. Also covers pairing the observed behavior with a linked survey when the user wants qualitative feedback beyond what recordings show.
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6874
- 라이선스
- —
- 업데이트
- 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
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.