creating-replay-vision-scanners
यह क्या करती है
यह स्किल एक ऐसा स्कैनर बनाती है जो AI प्रॉम्प्ट के साथ भविष्य की सेशन रिकॉर्डिंग अपने-आप देखता है। यह उन टीमों के लिए है जो रिकॉर्डिंग पर लगातार जाँच चाहती हैं और उसका खर्च काबू में रखना चाहती हैं।
कब इस्तेमाल करें
- ✓जब आप हर नई रिकॉर्डिंग की AI जाँच चाहें जो किसी नियम से मेल खाती हो।
- ✓जब आप स्कैनर का प्रकार चुनना चाहें, जैसे मॉनिटर, क्लासिफ़ायर, स्कोरर या समरीज़र।
- ✓जब आप स्कैनर चालू करने से पहले उसके क्रेडिट उपयोग का अनुमान लगाना चाहें।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/replay_vision/skills/creating-replay-vision-scanners/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“ऐसा स्कैनर बनाइए जो उन रिकॉर्डिंग को चिह्नित करे जहाँ चेकआउट बटन जवाब नहीं देता, और पहले मुझे उसकी लागत बताइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपको स्कैनर का प्रकार और रिकॉर्डिंग फ़िल्टर चुनने में मदद करती है, फिर आपके बचे बजट के मुकाबले उसके क्रेडिट उपयोग का अनुमान लगाती है। स्कैनर एक शेड्यूल पर चलता है, इसलिए व्यापक स्कैनर बजट जल्दी खर्च कर सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Creating Replay Vision scanners
A scanner is a standing LLM probe over session recordings. Once created and enabled, it runs on a
Temporal schedule that sweeps every 5 minutes, applying its prompt to each new matching recording and
recording the result as an observation (a queryable $recording_observed event). Each observation spends
credits (1 credit = $0.01) from the org's budget for the current billing period, and an observation's
price depends on the scanner's model — so size spend in credits, and convert any observation count a user gives you into credits at that model's price.
That schedule is exactly why creation needs a gut-check: a scanner with a permissive query and full sampling starts spending automatically and can drain the whole period's budget within its first few sweeps. Creation itself does not check quota — that protection only kicks in at observation time, by which point the budget may already be gone.
First: is a scanner even the right thing?
A scanner is a standing watch over future recordings. If the user has specific sessions in front of them
and a question about those sessions, they don't want a scanner at all — they want vision-scanners-inline-scan,
which takes session_ids plus a prompt, saves nothing, and schedules nothing.
Use an inline scan when the sessions are already known: "what went wrong in these five recordings", "did any of yesterday's checkout sessions hit the coupon bug", anything you'd otherwise answer by creating a scanner and deleting it afterwards. It costs the same credits per session and reuses answers when the same question is asked twice, so re-asking is cheap.
Create a scanner only when the user wants recordings that haven't happened yet to be scanned automatically. If you find yourself planning to create a scanner, read its results once, and delete it, stop and run an inline scan instead — a throwaway scanner leaves a scheduled sweep running against every future recording that matches its query.
Core principle: size before you ship
Never create an enabled scanner blind. Estimate its monthly credit spend, check the remaining credit budget, and — when the projected spend is a meaningful fraction of what's left — show the user the numbers and get confirmation before creating. This is the heart of the skill; the rest is supporting detail.
The flow
Step 1: What should the scanner do?
If the question, type, or prompt is still vague, run [[designing-replay-vision-scanners]] first. It turns a wish into one visible question with a fixed answer shape, a proof rule, and permission to say inconclusive. Come back here once those are settled.
Pick a scanner_type and write its scanner_config. Every type needs a prompt; the rest is type-specific:
| Type | What it produces | scanner_config shape |
|---|---|---|
monitor |
Open-ended observation against a prompt (e.g. "flag rage clicks") | {"prompt": "..."}; optional "allow_inconclusive": true (off by default, so the model must answer yes or no) |
classifier |
Assigns tags from a fixed label set | {"prompt": "...", "tags": ["tag-a", "tag-b"]} — tags needs ≥1 entry; optional "multi_label": false (defaults to true), "allow_freeform_tags": true (off by default) |
scorer |
Numeric score on a rubric | {"prompt": "...", "scale": {"min": 1, "max": 5, "label": "frustration"}} — min < max; label optional |
summarizer |
Free-text summary | {"prompt": "..."}; optional "length": "short" | "medium" | "long" (default "medium"). Embeddings are always on |
scanner_type is locked after creation — to change it you delete and recreate, so confirm the type is
right up front, and get the scanner_config sh
अक्सर पूछे जाने वाले सवाल
क्या मेरे पास पहले से मौजूद सेशन के लिए स्कैनर सही टूल है?
नहीं। पहले से मौजूद सेशन के लिए एक बार का स्कैन बेहतर है, क्योंकि उसमें कुछ सहेजा या शेड्यूल नहीं होता।
स्कैनर कितनी बार चलता है?
बनने और चालू होने के बाद स्कैनर लगभग हर पाँच मिनट में नई रिकॉर्डिंग जाँचता है।
क्रेडिट क्या है?
एक क्रेडिट एक सेंट के बराबर है, और हर स्कैन की गई रिकॉर्डिंग अपने उपयोग किए गए मॉडल के आधार पर क्रेडिट खर्च करती है।
जानकारी
लेखक का मूल विवरण
Guides agents through creating and safely sizing a Replay Vision scanner: choosing the scanner type (monitor/classifier/scorer/summarizer), shaping the RecordingsQuery that selects sessions, and — crucially — estimating the credits it will spend and checking the org's remaining budget before creating, so a broad scanner doesn't exhaust the budget on its first scheduled sweep. TRIGGER when: user asks to create, set up, or configure a Replay Vision scanner, OR when you are about to call vision-scanners-create, OR when widening an existing scanner's query, sampling_rate, or sampling_mode (or movi
repo: PostHog/posthog
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6910
- लाइसेंस
- —
- अपडेट की गई
- 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 आउटपुट के साथ।