signals-scout-anomaly-detection
ما الذي تفعله
يفحص هذا الكشّاف لوحات المتابعة والتحليلات الأكثر مشاهدة لدى فريقك بحثاً عن شذوذات حديثة، مثل ارتفاع أو انخفاض حاد أو كسر في الاتجاه. وهو مناسب للفرق التي تريد معرفة التغيير المفاجئ قبل أن يلاحظه أحد بالصدفة.
متى تستخدمها
- ✓عندما يرتفع رقم في لوحة متابعة أو ينخفض بحدة وتريد أن تعرف فوراً.
- ✓عندما يصبح مخطط مسطحاً دون سبب، وقد يعني ذلك أن حدثاً توقف عن التسجيل.
- ✓عندما ينكسر الاتجاه مقارنة بالأيام نفسها من الأسابيع الماضية.
رابط المهارة
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-anomaly-detection/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أخبرني إذا تغيرت أي أرقام لوحات المتابعة الرئيسية بحدة في اليوم الماضي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقارن الكشّاف آخر نقطة بيانات مكتملة مع التاريخ الخاص بكل مخطط، مع تعديل للأنماط الأسبوعية، فلا تُحسب التقلبات الأسبوعية الطبيعية. وبالنسبة للتحليلات المحفوظة، يستخدم كاشفات الشذوذ المدمجة في 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
التعليقات
- …
المزيد من المهارات من هذا المستودع
depot-ci
41kيساعد وكيلك على إعداد سير عمل Depot CI وتشغيله، وهو بديل لـ GitHub Actions، بما في ذلك نقل سير العمل الحالي وقراءة سجلات التشغيل.
depot-container-builds
41kيساعد وكيلك على بناء صور Docker على بُنّاة Depot البعيدين، بما في ذلك الصور متعددة المنصات والدفع إلى السجلات وإصلاح أخطاء البناء.
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 للسكربتات.