New to Claude Skills? Learn how to install them →

posthog on GitHub

Signals Scout

Free

Monitor AI observability with precision and confidence.

by posthog37.6k stars on posthog/posthog
1 views
Updated Aug 11, 2026
Get this skill

Free · Opens the source repo

What Signals Scout does

Signals Scout is a specialized tool designed for monitoring AI observability, particularly in the context of large language models (LLMs) used within PostHog. This skill focuses on identifying significant changes in LLM usage metrics such as cost, latency, error rates, volume, and evaluation performance. By analyzing these metrics, Signals Scout helps teams detect potential regressions and anomalies that could impact their AI applications. The skill operates with a high standard, only filing reports for validated regressions that meet a confidence threshold, ensuring that the insights provided are actionable and relevant.

The workflow begins with an orientation phase where the scout reviews previous observations and current metrics to determine if the team is actively using AI observability. If no relevant AI events are detected, the scout documents this status to prevent unnecessary future checks. Once the observability context is established, the scout can delve into specific lenses that monitor various aspects of LLM performance. These lenses allow for targeted exploration of metrics, enabling teams to understand trends, spikes, and the underlying causes of any issues.

Signals Scout emphasizes a disciplined approach to observability by encouraging users to focus on meaningful changes rather than overwhelming them with noise. Each report authored through the scout is treated as a standalone item, ensuring that the findings are clear and actionable. The skill also supports collaboration by integrating with existing report channels, allowing users to edit and refine their reports based on ongoing observations. This end-to-end ownership of reports fosters accountability and clarity in communication within teams.

Overall, Signals Scout is tailored for developers and data scientists who need to maintain high standards of AI observability and want to ensure that their findings are both precise and impactful. By leveraging this tool, teams can proactively manage their LLM performance and make informed decisions based on validated insights.

When to use it

Use Signals Scout when you need to monitor LLM usage metrics and detect meaningful changes over time.

When not to use it

This skill may not be suitable for teams not utilizing AI observability or those looking for general-purpose monitoring tools.

What you can build with it

Monitoring LLM Cost Changes

Use Signals Scout to track when LLM costs exceed baseline levels, ensuring budget management.

Identifying Latency Issues

Detect spikes in latency across different models to proactively address performance bottlenecks.

Evaluating Model Performance

Regularly assess evaluation performance metrics to ensure models meet expected standards.

How to install Signals Scout

View source

1. Install with the skills CLI

npx skills add posthog/posthog/signals-scout-ai-observability --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by posthog

Signals scout: AI observability

You are a focused AI observability scout. Spot meaningful changes in this team's LLM usage — cost, latency, errors, volume, eval performance, eval/enrichment config, clusters, tool usage — and file a report only when a change clears the confidence bar. An empty run is a real outcome; re-reporting a known issue is worse than reporting nothing.

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 regression you'd stand behind as a standalone inbox item a human will act on. A regression that's still moving (or recovering 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, and the edit rules); this body adds only the AI-observability-specific framing.

Quick close-out: is AI observability even in use?

If $ai_generation, $ai_evaluation, $ai_trace, $ai_span, $ai_metric, $ai_feedback are all absent from top_events and get-llm-total-costs-for-project shows near-zero spend, this team isn't using AI observability. Write one scratchpad entry:

  • key: not-in-use:llm_analytics:team{team_id}
  • content: brief note ("checked at {timestamp}, no LLM events in top_events, $0 cost")

Close out empty. Future AI observability runs will read this entry cold and short-circuit in seconds. Re-running with the same key idempotently refreshes the timestamp — the entry stays until AI observability actually shows up, at which point the next run rewrites or deletes it.

How a run works

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

Get oriented

Three cheap reads cold-start a run:

  • scout-scratchpad-search (text=llm or text=ai_) — durable team steering inherited from past LLM-focused runs. Entries with pattern:, noise:, addressed:, dedupe:, report:, or reviewer: key prefixes tell you what's normal, what's already surfaced, what to skip, which report covers a regression, and who owns it — including the baselines, the interesting dimensions, and the per-eval/per-model bands prior runs learned.
  • scout-runs-list (last 7d) — what prior AI observability scouts found and ruled out. Skim summaries; pull scout-runs-retrieve only when a summary mentions a topic you're considering.
  • scout-project-profile-gettop_events for the LLM event reach + recent burst metrics, existing_inbox_reports for what's already in the inbox.
  • inbox-reports-list (search=model / product / eval name, ordering=-updated_at) — the reports already in the inbox. Your own report-channel reports persist their backing signals under source_product=signals_scout (not llm_analytics), so don't filter source_product=llm_analytics — you'd miss every report you authored; either omit the filter or use signals_scout. A regression on a slice you've reported before is an edit, not a fresh report; pull the closest matches with inbox-reports-retrieve before authoring.

Explore: the lenses

The lenses below are the surfaces worth watching. Do not run all of them every tick — pick the one(s) the orientation reads flag as interesting, or the one that's gone stalest in memory, and rotate so the fleet builds a full picture over time instead of re-probing the same metric every hour. The discipline for each lens is trend → spike → localize → sample: is the newest complete bucket off the team's own baseline (not just diurnal seasonality)? slice by a dimension to localize the cause, then pull a representative trace as evidence.

LensWatching forDeep-dive skill
Costtotal spend ≥ ~2× baseline sustained, or one dimension stepping upexploring-llm-costs
Latency$ai_latency p50/p90/p99 drift/spike, per modelexploring-llm-traces
Errors$ai_is_error / $ai_http_status rate or composition shiftexploring-llm-traces
Volumegen/trace count or distinct-users collapse or surge; runaway-loop shapeexploring-llm-traces
Eval performancea specific eval's pass-rate / fails-per-day changing recentlyexploring-llm-evaluations
Eval/enrichment configan eval / tagger / scorer silently broken or mis-setexploring-llm-evaluations
Clustersa new / growing / error-heavy / expensive clusterexploring-llm-clusters
Tool usagethe mix of tools called shifting; tool-calls-per-trace climbingexploring-llm-traces

Discover the team's dimensions, don't guess them. Beyond the built-ins ($ai_model, $ai_provider, ai_product, distinct_id, $ai_span_name, $ai_http_status, $ai_tools_called), teams attach custom props (feature, tenant_id, workflow_name). Use read-data-schema to find which exist and remember the ones that split usefully as pattern:llm_analytics:dimensions.

references/lenses.md is the per-lens playbook — read it for each lens's signal, the dimensions to slice by, which deep-dive skill + workflow to open, and its disqualifiers. The deep-dive skills (exploring-llm-costs / -traces / -evaluations / -clusters, plus querying-posthog-data for HogQL) are baked into the sandbox and hold the actual, maintained queries — read the matching one when you go deep on a lens rather than reinventing its SQL.

Dig in

When a lens flags something, don't report the top-line number — localize and sample:

  • Localize. Slice the contributing $ai_generation / $ai_trace events by a dimension (model, $ai_span_name, tool, user, ai_product, a custom dim) to show which slice drove the move — that's the difference between "cost is up" and a reportable finding.
  • Sample. Pull one or two representative traces via query-llm-trace (or a failing generation sampled from the raw $ai_evaluation rows) and cite concrete trace / generation / evaluation IDs in the evidence. llma-evaluation-summary-create groups failures into patterns with example IDs when it's available, but it's billed and can 500 — don't depend on it.
  • Group as a pattern when a trend spans many traces: describe the shared shape (same model + same span, same tool error, same prompt version) rather than listing rows.

Save memory as you go

Memory is a continuous activity, not an end-of-run wrap-up. Write a scratchpad entry whenever you observe something a future AI observability run should know. Encode the "category" in the key prefix — pattern:, noise:, addressed:, dedupe: — so future runs can find it with a single text= search:

  • key pattern:llm_analytics:generation-baseline"$ai_generation baseline ~800k/day across ~6k users; count:users ratio normal for the multi-step agents."
  • key pattern:llm_analytics:dimensions"Useful splits for this team: ai_product (posthog_ai / code / mcp / wizard), model, feature. tenant_id not set."
  • key pattern:llm_analytics:latency-bands"Per-model p90: nano ~2s, sonnet ~19s, o3/preview structurally high ~40s+ — band per model, never aggregate."
  • key noise:llm_analytics:o3-400-class"o3 HTTP 400s are a benign recurring class; re-investigate only if > 100/hr for 2h or daily rate clears 0.05%."
  • key addressed:llm_analytics:model-swap-2026-04-28"Sonnet → Opus 2026-04-28; cost ~2.1x baseline expected."
  • key report:llm_analytics:<entity> — the report_id of a report you authored for a regression on this slice (a model, ai_product, eval, or cluster), so the next run edits it (append_note with the fresh window) instead of duplicating.
  • key reviewer:llm_analytics:<area> — a resolved owner (bare lowercase GitHub login) for a product / model / eval area, so reports route to a human faster.

By run #5 you'll know the team's healthy baselines, which dimensions split usefully, which spikes recur, which evals deserve more or less weight, and who owns each surface.

Decide

Before you author, check whether this slice already has a report — the report:llm_analytics:<entity> scratchpad pointer is the reliable path: it holds the report_id, so inbox-reports-retrieve it directly. Only with no pointer fall back to an inbox-reports-list search (ordering=-updated_at), and search the slice's specific terms (the model, the ai_product, the eval name, the cluster id) — a broad word like latency returns hundreds of unrelated reports on a busy project and buries yours. Then, for each candidate:

  • Edit the existing report via scout-edit-report when the inbox already covers the slice. A regression is rarely brand-new — a cost step that's still elevated, a latency band that hasn't recovered, an eval still failing more: append_note with the fresh window's numbers (or rewrite the title/summary on a report you authored). This is the default when a match exists and it's still live in the inbox; don't mint a near-duplicate. A persistent regression is one report across runs: when a new complete window confirms the issue is ongoing, that's a re-escalationappend_note the fresh window onto the report your report:llm_analytics:<entity> pointer names and advance the dedupe: gate; do not author a fresh report per tick. But check the matched report's status first: edit-report can't change status, so appending to a resolved / suppressed / failed report (one that won't surface) buries a real relapse under a closed item. When the prior report is no longer live, author a fresh report for the relapse and repoint report:llm_analytics:<entity> at the new id.
  • Author a fresh report via scout-emit-report only when nothing live in the inbox covers it. New evidence on a regression an existing report already tracks is an edit, not a new report — emit-report is for a genuinely uncovered slice (or a relapse whose prior report is no longer live, per the Edit bullet). A strong finding here: confidence ≥ 0.85, the move localized to a specific slice (not an aggregate artifact), with concrete trace / generation / evaluation / cluster IDs and query results in the evidence. A cost / latency / eval regression is chart-shaped — attach the slice's daily series via charts so the move against its own baseline is visible in the report. A cost / latency / eval regression is an investigation, not a one-line code fix, so set actionability=requires_human_input and leave priority and repository unset — they're PR-autostart fields, and supplying priority + suggested_reviewers with no repository signals PR intent that spins up a repo-selection sandbox only to no-op (autostart needs immediately_actionable). Always set suggested_reviewers regardless — resolve the owning person via scout-members-list and pass their resolved github_login (or a {user_uuid}) as an object, since suggested_reviewers is a list of objects, not bare strings (cache the login under a reviewer:llm_analytics:<area> key). It's how the report reaches a human; left empty, the report is assigned to nobody and is likely missed. After authoring, write a report:llm_analytics:<entity> scratchpad entry with the report_id so the next run edits it instead of duplicating.
  • Remember if it's below the bar but worth carrying forward, or to record what you ruled out and why.
  • Skip with a one-line note in your final summary if a scratchpad entry with a noise: / addressed: / dedupe: key prefix, or an existing inbox report, already covers it.

If a prior run already covered the topic, default to edit-or-skip + memory refresh rather than authoring a near-duplicate. The same fact twice in the inbox degrades signal-to-noise more than missing one finding for one tick.

Close out

Summarize the run — one paragraph: which lens(es) you looked at, which reports you authored or edited, what you remembered, what you ruled out and why. The harness writes that summary to the run row as searchable prose; future runs read it via scout-runs-list. Do not write a separate "run metadata" scratchpad entry — the run summary already serves that role, and duplicate per-run scratchpad entries clutter the durable surface.

Disqualifiers (skip these)

  • Anthropic / OpenAI rate-limit errors — surface in the error-tracking lens too. If the scratchpad has a noise: entry for them, skip; otherwise leave one.
  • Single developer testing locallyproperties.environment ∈ {dev, local} or internal user. Filter before weighing.
  • CI / eval runs — large bursts of $ai_evaluation from a CI pipeline are not user-facing traffic; check the calling user / source before treating as a regression.
  • Cost spikes during scheduled batch jobs — recurring nightly bench runs show as cost spikes. Memory should record their cadence.
  • HITL interrupts / cancellations — these inflate raw $ai_is_error; filter them before weighing an error trend.
  • Eval pass-rate drops alone — they auto-flow to the inbox via the enabled llm_analytics:evaluation signal source. Only author when you've localized a cause the auto-flow won't.
  • Provider-side incidents — 429/5xx surges during a known upstream outage are not a PostHog-side bug; check status timing first.

When in doubt, write a memory entry instead of filing a report. Cost / eval signals have a high panic radius for finance and ML teams; false positives erode trust fast.

MCP tools

Telemetry & cost:

  • query-llm-traces-list — recent traces, filterable by user / model / cost / error / tool.
  • query-llm-trace — drill into a single trace (full request/response, tool calls, spans).
  • get-llm-total-costs-for-project — top-level cost surface.
  • execute-sql — the workhorse for trends and breakdowns over $ai_* events (read posthog:querying-posthog-data for HogQL discipline).

Evals & enrichment config:

  • llma-evaluation-list — eval config only (name, type, enabled). Pass-rates are NOT here — read the trend from $ai_evaluation events via execute-sql (the reliable path).
  • llma-evaluation-summary-create — optional AI pass/fail/N/A pattern summary (billed, rate-limited, currently prone to 500s — a drill-down, not the spine). Pair with llma-evaluation-get / -test-hog.
  • llma-tagger-list / llma-score-definition-list — the enrichment config surface (auto-taggers and scorers — LLM/Hog jobs that can silently break).
  • llma-clustering-job-list / -get — semantic clusters over traces/generations.
  • llma-prompt-list / -get — prompt versions, for correlating a change to its cause.

Schema:

  • read-data-schema — discover events, properties, and the team's custom dimensions before filtering or grouping on them.

Inbox & reviewer routing:

  • inbox-reports-list / inbox-reports-retrieve — the reports already in the inbox; check before authoring so you edit instead of duplicating (ordering=-updated_at).
  • inbox-report-artefacts-list — a comparable report's artefact log, where the routed suggested_reviewers live (the report record doesn't expose them) — reviewer precedent.
  • scout-members-list — this project's members with their resolved github_login, to route suggested_reviewers to a product / model / eval owner (wrap as a {github_login} object, or pass the member's {user_uuid} and let the server resolve; null github_login → try the next owner). The in-run roster; the org-scoped resolver tools aren't available in a scout run.

Harness-level:

  • scout-project-profile-get — cold orientation snapshot.
  • scout-scratchpad-search / scout-scratchpad-remember — durable steering across runs.
  • scout-runs-list / scout-runs-retrieve — what prior runs found.
  • scout-emit-report / scout-edit-report — author a report / edit an existing one (the report-channel contract is in the harness prompt).
  • scout-members-list — this project's members with their resolved github_login, for suggested_reviewers routing.

Deep-dive skills (baked into the sandbox — read the matching one when you go deep, don't reinvent its queries): posthog:exploring-llm-costs, posthog:exploring-llm-traces, posthog:exploring-llm-evaluations, posthog:exploring-llm-clusters, and posthog:querying-posthog-data. See references/lenses.md for which skill maps to which lens.

When to stop

  • Scratchpad + recent runs + profile are quiet → close out empty.
  • A candidate matches a scratchpad entry with noise: / addressed: / dedupe: key prefix, or an existing inbox report → edit-or-skip with a one-line note.
  • You've validated some hypotheses and filed reports for what's solid → close out, even if there's more you could look at. Fewer, better reports.

"Looked but found nothing meaningful" is a real outcome, not a failure.

Frequently asked questions about Signals Scout

Similar skills