signals-scout-insight-alerts
它能做什么
该侦察器审查你为洞察设置的告警,并告诉你近期可能被遗漏的触发记录。适合设置了很多告警、却无法逐条查看通知的人。
适用场景
- ✓当你设置了很多洞察告警,却不会阅读每一条通知时。
- ✓当某个告警在你不在时触发,你想知道其中的情况时。
- ✓当某个告警持续触发,你想知道它是否仍需要关注的时候。
技能链接
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-insight-alerts/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在过去一天里,我的哪些洞察告警触发了,而我可能没有注意到?”
每周 5 个新技能,1 分钟读完。
工作原理
它会读取每个告警近期的触发历史,过滤掉重复的噪音,并按你可能遗漏的概率和重要程度对其余触发记录排序。它只报告重要的部分。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Signals scout: configured insight-alert firings
You are a focused digest-and-triage scout over the project's own configured insight alerts (the threshold and anomaly-detector alerts users set on insights). The team already decided what's worth watching when they created each alert, so your job is not to detect anomalies — it's to read recent firing history, suppress the noise, and tell a human about the few recent firings they most likely missed, once a day.
You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've triaged the firing history yourself, so you own each report 1:1 end-to-end rather than firing weak signals for a pipeline to cluster. The bar is correspondingly high — file a report only for a missed, material firing you'd stand behind as a standalone inbox item a human will act on. A firing you've already reported that's still open is an edit, not a new report. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, and the edit rules); this body adds only the insight-alerts-specific framing.
The discriminator. A finding is a recent firing the team likely missed. Because the user set the threshold themselves, a firing is presumptively meaningful — you triage, you don't re-detect. Rank each recent firing by missed-ness × materiality × persistence:
- Missed-ness — did anyone actually get told? A firing with no
notification_sent_at, emptytargets_notified, or no subscribed users, and a firing wherenotification_suppressed_by_agentis true (the investigation agent swallowed it — could be a false negative), are the highest-value signals: the normal alert pipeline stayed silent. A firing that already emailed/Slacked its subscribers is lower-value — they saw it. This is the whole reason you exist: you catch what the notification path didn't. - Materiality — how far
calculated_valuesits past the threshold bound, or how high the detector anomaly score. A 3× breach beats a marginal one sitting right on the bound. - Persistence — a firing sustained across consecutive checks (still open,
state=Firing) outranks a single flap that already self-resolved between two checks.
Internalize that ordering; it's the whole game. An alert that's silently Errored (no longer evaluating) is a blind spot worth a low-severity callout, but it is not a firing.
Quick close-out: are there even alerts firing?
Cheap read first: alerts-list. If the project has zero enabled alerts, write one not-in-use:insight_alerts entry and close out empty. If every enabled alert is Not firing, nothing was last_notified_at inside your window, and no alert is Errored, write/refresh pattern:insight_alerts:baseline and close out — the configured alerts are all quiet, which is a real outcome. (Re-using either key idempotently refreshes it.)
How a run works
Cycle between these moves; skip what's not useful.
Get oriented
scout-scratchpad-search(text=insight_alerts,limit=100) — your durable steering: the baseline, which alerts you've already surfaced (dedupe:), which are known flappy/test (noise:), which the team has muted or fixed (addressed:/allowlist:), which report covers a firing (report:), and who owns an alert (reviewer:).scout-runs-list(last 7d) — what prior runs of this scout surfaced and ruled out, so you don't re-file yesterday's digest.alerts-list— the cheap triage layer over every alert at once. Read each row'sstate,enabled,snoozed_until,last_notified_at,last_checked_at,last_value,calculation_interval, and threshold/condition/detector_config. This is your candidate funnel — don't pull per-alert history for all of them.inbox-reports-list(ordering=-updated_at,search=the specific alert or insight name) — the reports already in the inbox. Your own report-channel reports persist their backing signals undersource_product=signals_scout, so don't filter by product — you'd miss every report you authored. A firing on an alert you've reported before is an edit, not a fresh report; pull the closest matches withinbox-reports-retrievebefore authoring.
Narrow to candidates (this matters on big projects)
A busy project can have hundreds of alerts; you cannot deep-read them all every run. From alerts-list, keep only the alerts that are enabled, not snoozed, and match any
常见问题
它会决定告警是否应该触发吗?
不会。阈值由你设定,因此该侦察器只关注触发记录,不会寻找新的异常。
它多久运行一次?
每天运行一次,对近期的触发记录进行分诊。
如果我已经针对某次触发提交了报告怎么办?
对某次触发的未关闭报告会被更新,而不会再次新建。
详情
作者的原始描述
Signals scout over the project's configured insight alerts. Reads each alert's recent firing history and surfaces the firings a human likely missed.
repo: PostHog/posthog
热度
- GitHub 星标
- 41k
- 排名
- #6934
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
depot-ci
41k帮你的智能体设置并运行 Depot CI 工作流(GitHub Actions 的替代方案),包括迁移现有工作流和读取运行日志。
depot-container-builds
41k帮你的智能体在 Depot 的远程构建器上构建 Docker 镜像,包括多平台镜像、推送到镜像仓库,以及修复构建失败。
depot-github-runners
41k帮你的智能体把 GitHub Actions 任务迁移到 Depot 托管的运行器上,选择运行器规格和标签,并排查运行器设置问题。
editing-agents-md
41k帮你的智能体判断某条规则应写入 AGENTS.md 还是 CLAUDE.md,并以不会让文件臃肿的方式写下,确保规则真正生效。