scanning-experiments-with-replay-vision
यह क्या करती है
यह स्किल एक स्वचालित स्कैनर सेट करती है जो एक प्रयोग के सेशन रिकॉर्डिंग की समीक्षा करता है और वेरिएंट की तुलना करता है। यह उन टीमों के लिए है जो देखना चाहती हैं कि हर वेरिएंट में उपयोगकर्ता असल में क्या करते हैं।
कब इस्तेमाल करें
- ✓जब आप चल रहे प्रयोग की रिकॉर्डिंग की स्वचालित समीक्षा चाहें।
- ✓जब आप हर रिकॉर्डिंग देखे बिना यह तुलना करना चाहें कि हर वेरिएंट में उपयोगकर्ता क्या करते हैं।
- ✓जब आप स्कैनर चालू करने से पहले कुछ असली सेशन पर उसका प्रॉम्प्ट परखना चाहें।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/experiments/skills/scanning-experiments-with-replay-vision/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे ऑनबोर्डिंग प्रयोग की रिकॉर्डिंग देखिए और बताइए कि हर वेरिएंट में क्या अलग है।”
हर हफ़्ते 5 नई skills, 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
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
depot-ci
41kयह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।
depot-container-builds
41kयह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।
depot-github-runners
41kयह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।
editing-agents-md
41kयह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।