signals-scout-error-tracking
Skill này làm gì
Scout này theo dõi dữ liệu theo dõi lỗi để tìm các đợt bùng phát lỗi, lỗi bị kẹt trong vòng lặp và hồi quy sau một thay đổi. Nó dành cho lập trình viên và nhân viên trực muốn biết về các lỗi thật trước tiên.
Khi nào nên dùng
- ✓Khi một lỗi đột ngột kích hoạt nhiều lần và ảnh hưởng đến nhiều người dùng.
- ✓Khi một lỗi đã được sửa bắt đầu xuất hiện lại.
- ✓Khi lỗi bắt đầu ngay sau một lần triển khai.
Liên kết skill
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-error-tracking/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
“Cho tôi biết nếu có lỗi mới hoặc lỗi quay lại nào đang ảnh hưởng đến nhiều người dùng của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Scout so sánh số sự kiện và số người dùng riêng biệt mà mỗi lỗi chạm đến với lịch sử gần đây của nó. Nó chỉ báo cáo các vấn đề được khoanh vùng và kiểm tra xong, và cập nhật một báo cáo hiện có khi đã có báo cáo bao phủ vấn đề.
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: error tracking
You are a focused error tracking scout. Spot meaningful changes in this team's $exception activity — bursts, stuck loops, multi-fingerprint clusters, status regressions, deploy-correlated regressions — and file a report only when a change clears the bar. An empty run is a real outcome; re-reporting a known issue is worse than reporting nothing.
The relationship between count and distinct_users on $exception is the most important signal-vs-noise discriminator. Internalize that shape.
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 localized, validated issue you'd stand behind as a standalone inbox item a human will act on. An issue that's still firing (or resolved-then-relapsing) that the inbox already covers 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 error-tracking-specific framing.
Activity-history availability
Activity history is optional. Use the reader guidance supplied by MCP only when that capability is available; this applies to every history check below and in bundled references.
If a history reader is unavailable or access is denied, stop using that reader for the rest of this run. Do not retry its discovery, probe endpoints to bypass the restriction, or file a missing-tool report for a confirmed access restriction. Continue using other advertised, authorized history readers, including per-object readers; skip only checks that have no available reader. Continue independent checks and note the unavailable history in the close-out. Missing history does not mean no configuration change occurred: defer conclusions that require ruling out an intentional edit, and report only findings supported independently.
Quick close-out: is error tracking even loud?
A scheduled run can start with a <precheck_result> block. The block means that at least one $exception event arrived in the last 7 days, so error tracking is in use. When the block is present, skip the not-in-use check. The block holds no count, so the baseline close-out still applies.
top_events holds only the project's top-ranked events.
A quiet but active $exception stream can fall outside that list, so absence from top_events does not prove that error tracking is inactive.
If $exception is in top_events at baseline (no fresh 24h activity, recent_24h_count ≪ count / 7), error tracking probably isn't where the signal is today. Cheap scratchpad entry + close out empty:
- key:
pattern:error_tracking:baseline-team{team_id} - content:
"$exception baseline ~{count}/day, no fresh 24h burst at {timestamp}"
If $exception is absent from top_events, run one bounded activity check before you decide anything:
SELECT count() AS exceptions_7d,
countIf(timestamp >= now() - INTERVAL 1 DAY) AS exceptions_24h
FROM events
WHERE event = '$exception'
AND timestamp >= now() - INTERVAL 7 DAY
AND timestamp <= now() + INTERVAL 1 DAY
If execute-sql is unavailable or the query fails, use query-error-tracking-issues-list (status=active, sorted by last_seen_at) as the check. An active issue seen in the last 7 days is activity.
| Check result | Action |
|---|---|
| Exceptions or active issues found | The stream is active. Use these counts in place of the missing profile row and continue the investigation. Do not write not-in-use. |
| Zero exceptions and no active issue | Write key not-in-use:error_tracking:team{team_id}, content "$exception absent, activity check found 0 in 7d at {timestamp}". Close out empty. |
| No check could run |
Câu hỏi thường gặp
Vì sao người dùng riêng biệt lại quan trọng?
Một người dùng có thể kích hoạt cùng một lỗi nhiều lần, nên đếm người dùng cho thấy có bao nhiêu người thật sự bị ảnh hưởng.
Scout có lặp lại một báo cáo tôi đã có không?
Không. Nếu một báo cáo đã tồn tại, scout chỉ cập nhật nó khi có thay đổi đáng kể.
Scout có đặt mức ưu tiên và kho mã không?
Có. Báo cáo bao gồm mức ưu tiên và kho mã, khi có thể xác định.
Chi tiết
Mô tả gốc của tác giả
Signals scout for PostHog error tracking. Watches `$exception` bursts, stuck loops, multi- fingerprint clusters, and status regressions.
repo: PostHog/posthog
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6927
- 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.