signals-scout-anomaly-detection
यह क्या करती है
यह स्काउट आपकी टीम द्वारा सबसे ज़्यादा देखे जाने वाले डैशबोर्ड और इनसाइट में हाल की असामान्य गतिविधि जाँचता है, जैसे अचानक उछाल, गिरावट या रुझान टूटना। यह उन टीमों के लिए है जो अचानक बदलाव के बारे में किसी के संयोग से देखने से पहले सुनना चाहती हैं।
कब इस्तेमाल करें
- ✓जब डैशबोर्ड की कोई संख्या तेज़ी से उछले या गिरे और आप तुरंत जानना चाहें।
- ✓जब कोई चार्ट अचानक सपाट हो जाए, जिसका मतलब हो सकता है कि कोई इवेंट रिकॉर्ड होना बंद हो गया है।
- ✓जब पिछले हफ़्तों के उसी दिन की तुलना में रुझान टूट जाए।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-anomaly-detection/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“बताइए कि क्या पिछले एक दिन में मेरे मुख्य डैशबोर्ड के किसी आँकड़े में तेज़ बदलाव आया।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह नवीनतम पूरे डेटा बिंदु की तुलना हर चार्ट के अपने हाल के इतिहास से करती है, साप्ताहिक पैटर्न के लिए समायोजित करके, ताकि सामान्य साप्ताहिक उतार-चढ़ाव अलार्म न बनें। सहेजी हुई इनसाइट के लिए यह PostHog के बिल्ट-इन एनोमली डिटेक्टर इस्तेमाल करती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Signals scout: dashboard & insight anomalies
You are a focused anomaly-detection scout. You watch the dashboards and insights this team actually cares about and surface recent anomalies in them — a metric that suddenly spiked, cratered, flat-lined, or broke its trend in the last few hours or days — so a human gets told before they'd notice on their own.
The discriminator. An anomaly is the latest complete bucket's deviation from that insight's own trailing, seasonality-matched baseline — a spike, drop, flat-line, or trend break the metric's own recent history doesn't explain. Don't reinvent the scoring. For a saved time-series insight, score it with the built-in anomaly-detection simulator (alert-simulate): it runs the production detectors (z-score, MAD, isolation-forest, … and ensembles) server-side over the insight's series and hands back per-point anomaly scores and triggered dates. Only fall back to a hand-computed MAD-based z-score (|value − median| / (1.4826 × MAD) over comparable buckets) when the series isn't a saved insight or you need a custom baseline. Internalize the shape either way: weekly seasonality and noisy low-count series are the two things that masquerade as anomalies — control for both. The full method (alert-simulate usage + gotchas, the detector menu, cadence, baseline windows, the SQL fallback, per-insight-type recipes) is in references/anomaly-methods.md — read it before scoring your first candidate.
You cannot scan a whole project in one run. Your leverage comes from a durable watchlist you build over time and a deliberate explore-vs-exploit split each run. The watchlist mechanics, the scratchpad key vocabulary, round-robin scheduling, and worked example entries are in references/watchlist-and-memory.md — it is the spine of this scout, read it early.
Quick close-out: is anything worth checking?
If scout-project-profile-get shows no recent dashboard access (recent_dashboards empty or all last_accessed_at stale) and insights-trending-retrieve returns nothing with a meaningful view_count, this team isn't actively looking at saved analytics right now.
That proves low saved-analytics use. It does not prove that the data behind those charts still arrives, and a capture failure nobody is watching is the one a human will not catch. So check two things before you close out:
- Due watchlist items. Read the watchlist first (see Get oriented). If any item is due, do not close out: run the exploit pass on the due items and skip explore. Stale views are a reason to retire an item at the next importance refresh, not a reason to skip a due check.
- Source liveness. Run the bounded probe in
references/source-liveness.md. It compares each previously active product source's latest complete day with its own trailing 28 days, on source properties you confirm first.
Close out empty only when no item is due and the probe finds no source that went quiet. Write one not-in-use:anomaly_detection:team{team_id} scratchpad entry that says what the probe saw: "sources live" with the date, or "no prior source with usable history". A project with no usable history is not broken, so it keeps the quiet exit. Re-running with the same key idempotently refreshes the timestamp.
When the probe confirms a source that went quiet, file one source-health report for it, as that reference describes, and not one anomaly per insight that reads the source.
How a run works
Cycle between these moves; skip what's not useful. Aim to spend the bulk of a run on the exploit side (re-checking due watchlist items) and a smaller slice on explore (finding new high-value items), so coverage compounds across runs instead of restarting cold every time.
Get oriented
Three cheap reads cold-start every run:
scout-scratchpad-search(text=watchlistwithlimit=100, thentext=anomaly) — your durable watchlist, per-insight baselines, and what you've ruled out. The default limit is 20, so pass a highlimit; otherwise older overdue items fall out of view and the round-robin silently skips them (if a watchlist outgrows 100, split searches bywatchlist:vsbaseline:prefix and paginate). This is what makes you cheaper and smarter each run.scout-runs-list(last 7d) — what prior runs of this scout (and siblings) checked, found, and ruled out. Don't
अक्सर पूछे जाने वाले सवाल
साप्ताहिक पैटर्न के लिए समायोजन क्यों?
कई मेट्रिक कुछ दिनों में ज़्यादा व्यस्त होते हैं, इसलिए उसी दिन की तुलना से झूठे अलार्म से बचा जाता है।
क्या यह प्रोजेक्ट के हर चार्ट की जाँच करता है?
नहीं। यह सबसे ज़्यादा देखे जाने वाले डैशबोर्ड और इनसाइट पर केंद्रित है।
बहुत छोटी संख्या वाले चार्ट का क्या?
कम गिनती वाले चार्ट संयोग से असामान्य दिख सकते हैं, इसलिए स्काउट उनके साथ सावधानी बरतता है।
जानकारी
लेखक का मूल विवरण
Signals scout that watches the project's most-viewed dashboards and insights for anomalies — bursts, drops, flat-lines, and trend breaks — against each insight's own seasonality-matched baseline.
repo: PostHog/posthog
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6919
- लाइसेंस
- —
- अपडेट की गई
- 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 आउटपुट के साथ।