signals-scout-error-tracking
What it does
This scout watches your error tracking data for bursts of errors, errors stuck in loops and regressions after a change. It is for developers and on-call staff who want to hear about real bugs first.
When to use it
- ✓When an error suddenly fires many times and affects many users.
- ✓When an error that was fixed starts coming back.
- ✓When errors begin right after a deploy.
Skill link
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-error-tracking/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Tell me if any new or returning errors are affecting many of my users.”
5 new skills a week. 1 minute to read.
How it works
It compares how many events and how many distinct users each error hits with its recent history. It reports only issues that are localized and checked, and it updates an existing report when one already covers the issue.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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 |
FAQ
Why do distinct users matter?
A single user can trigger the same error many times, so counting users shows how many people are really affected.
Will it repeat a report I already have?
No. If a report exists, the scout updates it only when something has changed materially.
Does it set priority and repository?
Yes. Reports include a priority and the repository, when they can be identified.
Details
Original description by the author
Signals scout for PostHog error tracking. Watches `$exception` bursts, stuck loops, multi- fingerprint clusters, and status regressions.
repo: PostHog/posthog
Popularity
- GitHub stars
- 41k
- Ranking position
- #6927
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
depot-ci
41kHelps your agent set up and run Depot CI workflows, a GitHub Actions alternative, including migrating existing workflows and reading run logs.
depot-container-builds
41kHelps your agent build Docker images on Depot's remote builders, including multi-platform images, pushing to registries, and fixing build failures.
depot-github-runners
41kHelps your agent move GitHub Actions jobs to Depot-managed runners, choosing runner sizes and labels, and troubleshooting runner setup issues.
editing-agents-md
41kHelps your agent decide whether a rule belongs in an AGENTS.md or CLAUDE.md file, and write it so it sticks without bloating the file.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.