signals-scout-health-checks
Skill này làm gì
Scout này đọc các vấn đề sức khỏe đang hoạt động mà PostHog tìm thấy trong cài đặt của bạn, rồi nhóm chúng theo nguyên nhân và mức độ nghiêm trọng. Scout dành cho quản trị viên muốn sửa lỗi cài đặt mà không phải xem từng cảnh báo.
Khi nào nên dùng
- ✓Khi dự án của bạn có nhiều cảnh báo về sức khỏe cài đặt và bạn chưa biết nên sửa cái nào trước.
- ✓Khi cùng một loại vấn đề cài đặt xuất hiện lặp lại ở nhiều mục.
- ✓Khi một vấn đề cài đặt nghiêm trọng vẫn đang hoạt động qua nhiều lần chạy và cần được chú ý.
Liên kết skill
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-health-checks/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi nên sửa vấn đề sức khỏe cài đặt nào trước, và vì sao?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Scout đọc các vấn đề sức khỏe đang hoạt động, nhóm chúng theo loại, rồi cân nhắc mức độ nghiêm trọng, việc agent có thể tự sửa hay không, và việc chúng có quay lại thường xuyên hay không. Sau đó, scout tạo một số ít báo cáo rõ ràng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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-retrieveonly for a summary you're about to build on.health-issues-summary— theby_kind/by_severityshape 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 undersource_product=signals_scout(nothealth_checks), so don't filtersource_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 withinbox-reports-retrievebefore authoring.
Profile shape — read the s
Câu hỏi thường gặp
Scout có chạy lại các kiểm tra sức khỏe không?
Không. Scout đọc kết quả mà PostHog đã lưu và thêm phần đánh giá lên trên.
Vì sao nhiều cảnh báo được nhóm lại với nhau?
Nhiều cảnh báo cùng loại thường đến từ một nguyên nhân chung, nên chúng được tính là một vấn đề cần sửa.
Các vấn đề lúc xuất hiện lúc biến mất có được báo cáo không?
Không. Những vấn đề chớp tắt được coi là nhiễu.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6932
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
depot-ci
41kGiúp agent của bạn thiết lập và chạy quy trình Depot CI, một lựa chọn thay thế GitHub Actions, gồm chuyển các quy trình hiện có và đọc nhật ký chạy.
depot-container-builds
41kGiúp agent của bạn build image Docker trên các builder từ xa của Depot, gồm image đa nền tảng, đẩy lên registry và sửa lỗi build.
depot-github-runners
41kGiúp agent của bạn chuyển các job GitHub Actions sang runner do Depot quản lý, chọn kích thước và nhãn runner, và xử lý lỗi thiết lập runner.
editing-agents-md
41kGiúp agent của bạn quyết định một quy tắc nên nằm trong file AGENTS.md hay CLAUDE.md, và viết sao cho quy tắc được tuân thủ mà file không bị phình to.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.