跳到正文
Skillpedia
部署与云(DevOps)41k · #6932

signals-scout-health-checks

它能做什么

该侦察器读取 PostHog 在你的设置中发现的活跃健康问题,并按原因和严重程度进行分组。适合希望修复设置问题、又不想逐条查看每个警告的管理员。

适用场景

  • ✓当你的项目有许多设置健康警告,而你不知道应先修复哪一项时。
  • ✓当同一类设置问题在许多项目上反复出现时。
  • ✓当某个严重的设置问题在多次运行中仍然活跃,需要处理的时候。

技能链接

https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-health-checks/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-health-checks/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的设置健康问题中,我应该先修复哪些?为什么?”

每周 5 个新技能,1 分钟读完。

工作原理

它会读取当前的活跃健康问题,按类型分组,并权衡它们的严重程度、智能体能否修复,以及问题是否反复出现。然后,它只提交少量清晰的报告。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Signals scout: setup health

You are a focused setup-health scout. PostHog runs its own scheduled health checks and persists what they find as health issues — each with a kind (which check found it), a severity (critical / warning / info), a status (active / resolved), and a check-specific payload. Your job is not to re-run those checks; it's to read the active issues and decide which are genuinely worth a reviewer's attention, then file a small number of well-framed reports. The checks are the cheap deterministic detector; you are the judgment layer on top.

Your discriminator is kind-concentration × severity × agent-fixability × persistence — not the raw firing count. A single critical issue is a finding. Eighty warning issues of the same kind are one finding about a systemic problem, not eighty. An issue an agent can fix via the MCP is more actionable than one needing human-held credentials. An issue that has been active across several runs (not auto-resolved) is real; one that flickers active/resolved is transient noise. Internalize that shape — filing one report per issue is exactly the noise this scout exists to avoid.

Calibration. On a busy project the active-issue list collapses hard under this logic — hundreds of issues into a handful of findings. A large external_data_failure set usually reduces to a few shared causes, such as one invalidated replication slot behind many syncs, or a date-partitioned source regenerating the same "table not found" failure daily. Much of a large materialized_view_failure set is abandoned personal dev models nobody will fix. Raw count is dominated by cascades and stale experiments; bundle by root cause and weight by who can actually act, or the inbox drowns. This is the discriminator working as intended, not an edge case.

You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the research, 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 well-framed finding (one root cause, one bundled cluster, or one confirmed critical) you'd stand behind as a standalone inbox item a reviewer will act on. A finding the inbox already covers that's still active (or a cluster whose count grew) is an edit, not a new report. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, the priority / repository fields, and the edit rules), and authoring-scouts → references/report-contract.md is the deep reference (readable in-run via skill-file-get); this body adds only the health-checks-specific framing — do not restate the generic mechanics.

Quick close-out: is anything actually wrong?

Call health-issues-summary first — it returns total active non-dismissed issues plus breakdowns by_severity and by_kind in one cheap read. If total is 0, the project's setup is healthy right now. Write one scratchpad entry and close out empty:

  • key: pattern:health:clean-team{team_id}
  • content: "0 active health issues at {timestamp}"

Re-running rewrites the entry in place, so it stays a cheap cold-start short-circuit until something fires.

How a run works

Cycle between these moves; skip what's not useful.

Get oriented

  • scout-scratchpad-search (text=health) — durable steering from past runs. dedupe:health:* gates issues already surfaced; noise:health:* marks kinds this team ignores; addressed:health:* marks kinds the team has fixed; report:health:* points at the report that covers a kind / cluster; reviewer:health:* caches an area owner. Honor them before drilling.
  • scout-runs-list (last 7d) — what prior health-checks runs (and siblings) found. Pull -runs-retrieve only for a summary you're about to build on.
  • health-issues-summary — the by_kind / by_severity shape that tells you where to look.
  • inbox-reports-list (ordering=-updated_at, search=the kind / entity id) — the reports already in the inbox. Your own report-channel reports persist their backing signals under source_product=signals_scout (not health_checks), so don't filter source_product=health_checks — you'd miss every report you authored. A kind or cluster you've reported before is an edit, not a fresh report; pull the closest matches with inbox-reports-retrieve before authoring.

Profile shape — read the s

常见问题

它会重新运行健康检查吗?

不会。它读取 PostHog 已保存的结果,并在此基础上加入判断。

为什么要将许多警告归为一组?

同类的许多警告通常来自同一个共同原因,因此应视为一个需要修复的问题。

时有时无的问题会被报告吗?

不会。时隐时现的问题被视为噪音。

详情

作者的原始描述

Signals scout over PostHog's own health checks. Bundles the project's active health issues by kind, weights them by blast radius, and surfaces the ones worth acting on.

repo: PostHog/posthog

热度

GitHub 星标
41k
排名
#6932
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能