Skip to content
Data
Skill

/signals-scout-error-tracking

Signals scout for PostHog error tracking. Watches `$exception` bursts, stuck loops, multi- fingerprint clusters, and status regressions.

From plugin
posthog
41k172 skills11 agents2 commands3 MCP

Claude Code

$ npx -y skills add posthog/posthog --skill signals-scout-error-tracking --agent claude-code

SKILL.md

signals-scout-error-tracking.SKILL.md
name: signals-scout-error-tracking
scout-display-name: Error tracking
description: >
  Signals scout for PostHog error tracking. Watches `$exception` bursts, stuck loops, multi-
  fingerprint clusters, and status regressions.
compatibility: >
  PostHog Signals agent (Claude sandbox). Read-only analytics + signal_scout_internal:write
  (scratchpad) + signal_scout_report:write (report channel), plus the error-tracking tools in
  the MCP tools section (query-error-tracking-issues-list / -issue, execute-sql over the
  events table, advanced-activity-logs-list).
allowed_tools:
  - emit_report
  - edit_report
metadata:
  owner_team: signals
  scope: error_tracking
scout-precheck-query: |
  SELECT 1 AS has_exceptions
  FROM events
  WHERE event = '$exception'
    AND timestamp > {now} - INTERVAL 7 DAY
  LIMIT 1

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 | Activity is unknown. Do not write or refresh `not-in-use`. State the unavailable check in the close-out summary, and continue with any other available reader. |

A `not-in-use:error_tracking:*` entry from an earlier run does not stop this run. Run the activity check again before you close out on it. If the check finds activity, remove the entry with `scout-scratchpad-forget` and continue.

How a run works

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

Get oriented

Four cheap reads cold-start a run:

  • `scout-scratchpad-search` (`text=error` or `text=exception`) — durable team steering from past error-tracking runs. Entries with `pattern:`, `noise:`
Read more
@posthog
Ships withposthog

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

41k172 skills11 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
40.7k
Star history of posthog/posthog on GitHub, a chart by star-history.com

Other skills on posthog.

mcp-servers

mcp-servers

Install, configure, authenticate, and troubleshoot MCP (Model Context Protocol) servers for this agent. Use when the user asks to…

@posthog@posthogInstall Skill
dynamic-workflows

dynamic-workflows

Designs and runs task-specific JavaScript harnesses with the `workflow` tool. Use for broad, long-running, highly structured, or…

@posthog@posthogInstall Skill
subagent-orchestration

subagent-orchestration

How and when to delegate work to subagents via the `subagent` tool (Explore, Plan, General). Use when a task involves codebase…

@posthog@posthogInstall Skill
checking-member-access

checking-member-access

Explains what a member or a role can do in a PostHog project, using the access control MCP tools. Use when the user asks what…

@posthog@posthogInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

@posthog@posthogInstall Skill
analyzing-expensive-users

analyzing-expensive-us…

Analyze the most expensive users in AI observability and explain why they cost so much. Use when the user asks about top…

@posthog@posthogInstall Skill

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem07d69k
@mem0ai@mem0aiInstall Skill
qmd

qmd

Search local markdown knowledge bases, notes, docs, and wikis with QMD. Use when users ask to find notes, retrieve documents,…

qmd4w31k
@tobi@tobiInstall Skill

Questions about signals-scout-error-tracking.

Which coding agents can use signals-scout-error-tracking?
signals-scout-error-tracking installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.