scanning-experiments-with-replay-vision
하는 일
이 스킬은 한 실험의 세션 녹화를 검토하고 변형을 비교하는 자동 스캐너를 설정합니다. 사용자가 실제로 각 변형에서 무엇을 하는지 보고 싶은 팀을 위한 것입니다.
사용하는 경우
- ✓실행 중인 실험의 녹화를 자동으로 검토받고 싶을 때.
- ✓모든 녹화를 보지 않고 각 변형에서 사용자가 무엇을 하는지 비교하고 싶을 때.
- ✓스캐너를 켜기 전에 실제 세션 몇 개에서 프롬프트를 미리 보고 싶을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/experiments/skills/scanning-experiments-with-replay-vision/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 온보딩 실험의 녹화를 보고 각 변형에서 무엇이 다른지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
실험의 노출 사용자에 연결된 스캐너를 만들고, 각 변형을 고르게 샘플링하며, 실험이 끝나면 멈춥니다. 스캐너는 프롬프트를 먼저 확인할 수 있도록 비활성 상태로 만들어집니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Scanning experiments with Replay Vision
The job: "I'm running an experiment. Watch the recordings and tell me what's actually happening in each variant."
A Replay Vision scanner is a standing LLM probe over session recordings (see [[creating-replay-vision-scanners]] for the general mechanics). The experiment scanner type is built for this job, so use it rather than scoping another type to an experiment:
- The population is the experiment's exposed people, derived server-side from the experiment instead of a hand-built filter.
- Each session's variant comes from the exposure data, never from the model. The model is told what the experiment changes, but not the session's variant, so it describes what the recording shows.
- Variants are sampled evenly, so a 90/10 rollout still gives the small variant enough observations to compare.
- Scanning stops when the experiment ends, and pauses while it is paused.
- Results split by variant with no join:
vision-scanners-variants-listand the observationsvariantfilter.
This skill covers what is experiment-specific; the generic create and size mechanics stay in the parent skill.
The flow: resolve the experiment → write the config → size it → create disabled → preview the prompt on a few real sessions → let the user enable it → read the results per variant.
Step 1: Resolve the experiment
experiment-get returns everything needed: the linked feature_flag (its filters.multivariate.variants list is the source of truth for variant keys; parameters.feature_flag_variants can be stale), exposure_criteria, start_date, end_date, and status. If the user didn't identify the experiment, resolve it via [[finding-experiments]] rather than guessing.
Guards before doing anything else:
- Draft (no
start_date): there are no exposures and nothing to scan. The API refuses an experiment scanner for an experiment that hasn't launched. Say so and stop. - Ended: a new scanner sweeps only from creation onward, and it stops at the end date, so it scans nothing new. Cover the run with a backfill (see Limits).
- Running or exposure-frozen: proceed. A frozen experiment stops enrolling, but already-exposed users keep producing sessions, so scanning stays useful.
- Already half over: the scanner watches only the remaining run unless you backfill. Say so, so a per-variant readout isn't mistaken for full-run coverage.
Step 2: Write the config
The experiment lives in scanner_config, next to the prompt:
{
"prompt": "Focus on how the user moves through checkout after the payment step first appears: where they hesitate, retry, or leave.",
"experiment_id": 123,
"variants": null,
"balance_variants": true
}
experiment_id: the experiment from Step 1. It is fixed once the scanner exists; watching a different experiment means a new scanner.variants: the variant keys to watch, ornullfor every variant. Default tonull, one scanner for the whole experiment. A comparison needs every variant, and one scanner keeps one prompt version across them (see Limits on version skew). Narrow it only when the user asks to watch some variants.balance_variants(defaulttrue): one sampling rate per variant, so each gets roughly equal coverage for the same spend. Leave it on for comparisons.length(optional):short,medium(the default) orlong, as for a summarizer.
The API owns the exposure filter and its access control. It resolves the same exposed-person population the experiment's Recordings tab shows. The filter is person-scoped, so it covers people whose exposure fired server-side or in an earlier session. Don't build event or property filters for exposure; the API rejects an experiment_exposure set directly inside query, and it checks access to the experiment, so a scanner can only reach an experiment its editor can view.
Keep query for non-exposure filters only. Set filter_test_accounts to exposure_criteria.filterTestAccounts ?? true, the same rule every experiment surface uses. When the experiment omits the setting, use true. Keep an explicit false, because that is an intentional opt-out. A minimal query is enough:
{ "kind": "RecordingsQuery", "filter_test_accounts": true }
Add other recording filters (duration, console errors, a specific page) only when the user asks. No date_from/date_to: the scanner strips them on save, because its 5-minute swe
자주 묻는 질문
스캐너가 세션이 어떤 변형에 있는지 정하나요?
아니요. 변형은 노출 데이터에서 오며, 모델은 녹화에 보이는 것만 설명합니다.
변형을 왜 고르게 샘플링하나요?
작은 변형도 큰 변형과 비교할 만큼 충분한 세션을 얻도록 하기 위해서입니다.
이것은 크레딧을 쓰나요?
네. 스캐너를 켜기 전에 스킬이 실험의 사용자 수에 맞춰 크레딧 지출을 가늠합니다.
상세 정보
작성자의 원본 설명
Provisions a Replay Vision `experiment` scanner, which watches one experiment's exposed sessions, records each session's variant, samples the variants evenly, and stops when the experiment ends. Covers status guards, a prompt that stays comparable across variants, sizing credit spend against the experiment's own population, creating it disabled so its prompt can be previewed on real sessions, and reading the results per variant. TRIGGER when: user wants Replay Vision to watch an experiment, asks to scan or analyze an experiment's recordings with AI, asks \"what are users actually doing in the
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6882
- 라이선스
- —
- 업데이트
- 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을 출력하도록 돕습니다.