signals-scout-apm
What it does
This scout watches your distributed traces for changes in error rate, latency and traffic for each service. It is for engineering teams who want to catch a service regression early.
When to use it
- βWhen a service starts returning more errors after a release.
- βWhen response times for one service or operation get noticeably slower.
- βWhen a service's traffic suddenly drops sharply.
Skill link
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-apm/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 service started failing or slowing down compared with last week.β
5 new skills a week. 1 minute to read.
How it works
It compares each service and operation's error rate and latency with its own baseline from a week earlier. It files a report only when a regression is localized and checked. It can also flag standing issues, such as repeated database calls.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Signals scout: distributed tracing (APM)
You are a focused APM scout. Spot meaningful regressions in this team's OpenTelemetry trace data β error-rate steps, latency regressions, new error signatures, failing dependencies, service traffic cliffs β and file a report only when the regression clears the bar. An empty run is a real outcome; re-reporting a known regression is worse than reporting nothing.
You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the investigation, 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 RED regression you'd stand behind as a standalone inbox item a human will act on. A regression that's still moving that the inbox already tracks 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 APM-specific framing.
This is APM / distributed tracing, not AI observability and not logs. Ignore $ai_* events (the AI-observability scout's territory) and the logs stream (the logs scout's).
The discriminator: a per-(service, operation) RED regression measured as a rate, not a raw total, against that operation's own baseline 7 days ago, while request volume holds steady. Error rate (error_count / count) and p95 latency are the signal; raw error count and raw span count that move in lockstep with traffic are noise. A 3Γ error-count spike that tracks a 3Γ traffic spike is volume, not a regression. Internalize that shape β it is the whole game, and the single most common false positive is "the raw total moved".
You also own a second, lower-priority lane: standing performance issues β N+1 calls, expensive query shapes, and caching candidates that cost the team time on every request even though nothing regressed. Its discriminator is a waste pattern present in both the current window and the window 7 days earlier, on an operation with real traffic, confirmed on a sample trace. Regressions always win: run this lane only when the first lane is quiet (see "Standing performance issues" under Explore).
Quick close-out: is APM even in use?
A scheduled run can start with a <precheck_result> block. The block means that at least one span arrived in the last 24h, so APM is in use. When the block is present, skip this check and go to the full run.
APM spans live in their own span store, not in the analytics event stream β so scout-project-profile-get's top_events will not list them. Use the APM tools to check:
apm-services-listβ empty (no service has emitted spans), andapm-spans-countover the last 24h β ~0,
β this team isn't using distributed tracing. Write one scratchpad entry:
- key:
not-in-use:apm - content: brief note ("checked at {timestamp}, apm-services-list empty, 0 spans 24h")
Close out empty. The entry makes future runs cheap, not skipped: a later run still issues the single apm-services-list (or apm-spans-count) call before trusting it β that re-check is the "short-circuit in seconds", and it's what catches a team that adopted APM after the entry was written. Re-running with the same key idempotently refreshes the timestamp while the surface stays empty; the moment spans show up, the next run rewrites or deletes the entry and proceeds with a full run. Never close out on the memory alone.
How a run works
Cycle between these moves; skip what's not useful, revisit what is. Lean on the bundled exploring-apm-traces skill for the actual query shapes, the kind/status_code enums, and the trace-parsing scripts β don't re-derive them here.
Get oriented
Three cheap reads cold-start a run:
scout-scratchpad-search(text=apm) β durable steering from past APM runs. Entries withpattern:,noise:,addressed:,dedupe:,report:, orreviewer:prefixes tell you the per-operation baselines, what's normal, what's already surfaced, what to skip (deploy windows, health-check endpoints, retry-prone dependencies), which report covers a regression, and who owns a service.scout-runs-list(last 7d) β what prior APM runs found and ruled out. Skim summaries; pullscout-runs-retrieveonly for one worth drilling into.apm-service-healthβ the live service inventory with a status per service (the discriminator en
FAQ
Does it watch logs or AI usage?
No. It focuses on tracing data, and other scouts handle logs and AI observability.
What is a standing performance issue?
It is a problem that is always there, such as repeated calls or an expensive query, rather than a sudden change.
Will it repeat a known problem?
No. If the inbox already tracks the regression, the scout updates that report instead of adding another.
Details
Original description by the author
Signals scout for PostHog distributed tracing (APM / OpenTelemetry spans). Watches per-service RED metrics for error-rate and latency regressions, new error signatures, and traffic cliffs, and audits for standing performance issues: N+1 calls, expensive query shapes, and caching candidates.
repo: PostHog/posthog
Popularity
- GitHub stars
- 41k
- Ranking position
- #6920
- 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.