signals-scout-anomaly-detection
Fungsinya
Scout ini memeriksa dasbor dan insight yang paling sering dilihat tim Anda untuk anomali terbaru, seperti lonjakan, penurunan, atau patahan tren yang mendadak. Ditujukan untuk tim yang ingin mendengar tentang perubahan mendadak sebelum ada yang menyadarinya secara kebetulan.
Kapan dipakai
- βSaat angka dasbor melonjak atau turun tajam dan Anda ingin tahu saat itu juga.
- βSaat grafik mendatar secara tidak terduga, yang bisa berarti sebuah event berhenti dicatat.
- βSaat tren patah dibandingkan dengan hari yang sama dalam minggu-minggu sebelumnya.
Link skill
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-anomaly-detection/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBeri tahu saya jika ada angka dasbor utama saya yang berubah tajam dalam sehari terakhir.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Scout membandingkan titik data lengkap terbaru dengan riwayat terbaru setiap grafik, yang disesuaikan dengan pola mingguan, sehingga naik turun mingguan yang normal tidak dihitung. Untuk insight yang disimpan, scout menggunakan detektor anomali bawaan PostHog.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Mengapa menyesuaikan dengan pola mingguan?
Banyak metrik lebih ramai pada hari-hari tertentu dalam seminggu, sehingga membandingkan dengan hari yang sama menghindari alarm palsu.
Apakah scout memeriksa setiap grafik dalam proyek?
Tidak. Scout berfokus pada dasbor dan insight yang paling sering dilihat.
Bagaimana dengan grafik yang angkanya sangat kecil?
Grafik dengan jumlah kecil dapat tampak tidak biasa karena kebetulan, sehingga scout berhati-hati dengan grafik seperti itu.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 41k
- Peringkat
- #6919
- Lisensi
- β
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
depot-ci
41kMembantu agent Anda menyiapkan dan menjalankan alur kerja Depot CI, alternatif GitHub Actions, termasuk memigrasikan alur kerja yang ada dan membaca log eksekusi.
depot-container-builds
41kMembantu agent Anda membangun image Docker di builder jarak jauh Depot, termasuk image multi-platform, pengiriman ke registry, dan perbaikan kegagalan build.
depot-github-runners
41kMembantu agent Anda memindahkan job GitHub Actions ke runner yang dikelola Depot, memilih ukuran dan label runner, serta memecahkan masalah pengaturan runner.
editing-agents-md
41kMembantu agent Anda memutuskan apakah sebuah aturan layak masuk ke berkas AGENTS.md atau CLAUDE.md, dan menulisnya agar tetap dipatuhi tanpa membuat berkas membengkak.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.