: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.
Signals Skills
Two distinct skill families live in this directory:
- Official PostHog skills —
signals/,inbox-exploration/,prioritizing-my-inbox/,authoring-scouts/,exploring-scouts/,working-with-scouts/,managing-self-driving-spend/. First-party PostHog skills published viaproducts/posthog_ai/dist/skills/and loaded by users through the PostHog MCP. They teach a caller how to query, browse, and reason about signals data.prioritizing-my-inbox/ranks a personal top N of inbox reports from the caller's activity summary, the ranking model's lifts, and what waits on them.managing-self-driving-spend/breaks a project's Self-driving spend down by signal source, scout, and day, and recommends the controls that lower it. Three are meta skills about the scout fleet itself:authoring-scouts/teaches a user's agent how to write, edit, and adapt scouts (per-team via the skills store, or canonically in this directory),exploring-scouts/is its read-only counterpart — teaching a caller how to observe and make sense of what a project's scouts are doing and how they're performing (thescout-config-list/-runs-list/-runs-retrieve/-scratchpad-search/-project-profile-gettools, run anatomy, and health assessment) — andworking-with-scouts/is the job-level operating manual above both: how a user delegates watching jobs to the fleet, acts on what comes back, and steers and calibrates scouts over time (the delegate → receive → act → feed back → calibrate loop, the steering ladder from dismissal notes up to skill edits, and the fleet's own feedback loops), routing to the other skills for mechanics. They are not part of the automated agent path — humans (and human-driven agents) reach for them on demand. - Scout fleet —
signals-scout-*/. Canonical default skills the headless Signals agent reads at run time throughskill-get. These are also the first example of PostHog shipping templated skills into a user's PostHog Skills Store:lazy_seedmirrors them onto each agent-enabled team'sLLMSkillrows on the first coordinator tick, where users can then edit or override them per-team. They are not designed to be invoked by humans directly; the prompt and tool affordances assume they are running inside the harness.
Scout fleet convention (signals-scout-*)
A scout is a skill that holds a SignalScoutConfig. The harness globs signals-scout-* over the team's LLMSkill table to auto-register a config for a prefixed skill that has none, which is how the canonical fleet in this directory comes online. The canonical content on disk in this directory is mirrored to each agent-enabled team's LLMSkill rows by scout_harness/lazy_seed.py — see ../backend/scout_harness/AGENTS.md for the sync mechanics, and the sync_signals_scout_skills management command for the manual fan-out path.
Generalist + specialists
signals-scout-first-report/is the one-time onboarding investigation. Its roster entry and scout pickers are hidden from non-staff users; its template remains visible in the Skills store. It is never registered for scheduled patrols and emits at most one report per project. Its explicit close-out drives the onboarding empty state.signals-scout-general/— cross-product generalist. Looks for cross-product correlations and surfaces no specialist covers, rather than deep-diving a single product. On the report channel (its frontmatterallowed_toolslistsemit_report/edit_report): it authors fully-validated correlations 1:1 asSignalReports directly, rather than firing weakemit_signalfindings for the pipeline to cluster. The report-channel contract itself (when to author vs. edit, the field schema, status mapping, reviewer routing, dedupe) lives in the harness prompt (scout_harness/prompt.py), injected into every report-channel scout — so a ported scout carries only its domain-specific report framing inline in its body, not a bundled copy of the contract. The generalist keeps three progressively-disclosed references:references/conventions.md(scratchpad key prefixes + the four-states author/edit classifier + cross-project noise patterns),references/discovery.md(the bounded discovery pass that builds its coverage map), andreferences/new-traffic.md(the periodic check for an event-volume step and where it comes from, which no specialist owns). This is the entry point if you want to understand how a scout decides what to investigate end-to-end.signals-scout-ai-observability/— anomaly watcher for AI observability (cost / latency / error / token-share regressions).signals-scout-apm/— RED-metrics anomaly watcher for the distributed tracing (APM / OpenTelemetry spans) product. Scores each(service, operation)against its own seasonality-matched baseline (the same window 7 days ago, viaapm-spans-aggregate'scompare_to) for error-rate steps, p95 latency regressions, new error signatures, failing downstream dependencies, and service traffic cliffs. Its discriminator is a rate regression with a steady denominator — error rate / p95 stepping up while request volume holds is signal; counts moving in lockstep with traffic are baseline. Distinct fromsignals-scout-ai-observability, which watches$ai_*LLM traces, not OTel spans; raw log lines are the logs scout's territory. Also carries a second, lower-priority standing-performance lane that runs only when no P1/P2 regression is live, at most every 7 days behind anpattern:apm:last-perf-auditscratchpad date: N+1 calls (apm-spans-tree'scalls_per_parent_invocationon the heaviest root operations as a hint, gated on one statement shape repeating under one parent on a sample trace, because verb-named DB spans make an edge count every query), expensive query shapes, and caching candidates (apm-attribute-breakdownon the statement and full-URL keys). Its discriminator is a waste pattern present in both the current window and the window 7 days earlier, on an operation with real traffic; it files capped, evergreen-deduped P3 reports from bundledreferences/performance-issues.md.signals-scout-logs/— anomaly watcher for logs (rate / level / pattern shifts).signals-scout-error-tracking/— anomaly watcher for error tracking (issue spikes, regressions, suppression-rule churn).signals-scout-feature-flags/— state-vs-traffic watcher for feature flags. Audits the wiring between the flag UI and the code: evaluation cliffs on healthy flags, ghost flags (code calling deleted keys), response-distribution shifts with no matching flag edit, plus a flag-debt pass. Debt splits by who classifies it: thestale_feature_flagshealth check owns staleness and the scout is the only author of its reports — one re-verified, single-flag cleanup report per active issue, because each stale flag is an independently actionable code removal (the health-checks scout cedes the kind); dead checks the stale check cannot see, because the code still calls them, stay a bundled finding. Its discriminator is the flag's configured state against the$feature_flag_calledstream; experiment-linked flags are the experiments scout's territory. The payload fields its stale section names are produced byStaleFeatureFlagsCheckinproducts/feature_flags/backend/temporal/health_checks/stale_flags.py— rename one there and the scout's table drifts silently, because no test reads a scout's prose.signals-scout-data-pipelines/— delivery watcher for data pipelines: CDP destinations and transformations (hog functions), batch exports, and hog flows. Watches for platform interventions (the hog watcher degrading or auto-disabling an enabled function), delivery failure shares stepping above a pipeline's own baseline, batch export runs failing or stalling (a growing data gap), filter starvation, and active flows failing for the people they trigger on. Its discriminator is configured-to-deliver vs actually-delivering — drafts, paused exports, and deliberately disabled functions are operator choices, not signal; data warehouse / external-data syncs (data coming in) are the data-warehouse scout's territory.signals-scout-data-warehouse/— import-integrity watcher for the data warehouse: external data sources, their per-table sync schemas, webhook push channels, and materialized views. Watches for source connections in Error (cascading to every armed table under them), schemas Failed or stuck Running, schemas that read Completed but have fallen behind their own sync cadence (a silent, growing data gap), webhook push channels broken behind a green status, row-volume cliffs, and failed/abandoned materialized views. Its discriminator is configured-to-sync (should_sync: true) vs actually-syncing and promised-freshness vs actual-freshness — paused schemas, billing limits, and draft sources are operator choices, not signal. Also carries a second, lower-priority optimization lane that runs only when the integrity lane is quiet: reads the per-teamquery_logtable for recurring, multi-user query time and read-bytes concentrated on one warehouse table or query shape (materialization candidates, queries bypassing an existing matview, matviews with no readers), filing each as a capped, evergreen-deduped P3 suggestion. The mirror image of data-pipelines (which watches data leaving PostHog); activeexternal_data_failurehealth issues overlap the health-checks scout, so it dedupes against the inbox and owns the silent gaps the active-failure summary misses (staleness behind a green status, broken webhooks, row cliffs).signals-scout-revenue-analytics/— anomaly watcher for revenue (MRR / churn / segment shifts).signals-scout-session-replay/— capture-integrity + friction watcher for session replay. Watches recording volume against site traffic for capture cliffs (SDK breakage, config drift — recordings are not retroactive), and the friction stream ($rageclick, dead clicks, errors-after-click viasession_replay_features) for clusters concentrating on one URL or element above that surface's own baseline. Also the judgment layer over replay vision: scanner watch-gaps (failing scanners, exhausted quota) and cross-session aggregation of$recording_observedscanner output. Its discriminator is concentration-vs-diffusion — friction that piles up in one place is signal, friction that tracks traffic is baseline; exceptions per se are the error-tracking scout's territory.signals-scout-replay-vision/— agentic pull watcher over Replay Vision scanners (the standing LLM probes that write$recording_observedevents). Replay Vision is the newer evolution of session replay, so this scout andsignals-scout-session-replayintentionally coexist for now. Watches two promises: that enabled scanners are actually observing (throughput / success-rate cliffs, exhausted quota — a silent watch gap), and that what the scanners see in aggregate gets surfaced (a monitor'syes-rate or a scorer's mean stepping away from its own baseline, a classifier tag or recurring summarizer theme concentrating across many sessions). It is the complement to the per-session push path: scanners withemits_signals: truealready emit one signal per session (sourcereplay_vision, typescanner_finding) into the same inbox, so this scout never repeats them — it adds the cross-session shape the per-session probe can't see. Its discriminators are aggregate-shift-vs-per-session-baseline and configured-to-observe-vs-actually-observing; raw friction / capture is the session-replay scout's territory and exceptions are the error-tracking scout's.signals-scout-surveys/— anomaly watcher for surveys (response-rate drops, sentiment shifts, completion-funnel regressions).signals-scout-web-analytics/— acquisition + site-health watcher for web traffic. Reads thesessionstable for per-channel volume diverging from seasonality-aligned baselines (robust z against the median/MAD of four same-weekday aligned windows), attribution breakage (paid traffic reclassifying into Direct/Unknown when UTM tagging breaks), entry-path bounce steps and traffic cliffs, and 404 spikes (via the project's own not-found event, discovered by name). Its discriminator is segment-vs-aggregate divergence — one channel/path/referrer stepping away from its own baseline while totals hold is signal; the whole site moving together is baseline. On the report channel (emit_report/edit_report): files each dated, segment-named divergence as a 1:1 inbox report, editing the live report while the divergence persists. Whole-site metric anomalies on watched dashboards are the anomaly-detection scout's territory; page-performance is the web-vitals scout's.signals-scout-web-vitals/— Core Web Vitals watcher. Reads each page's p75 LCP / INP / CLS / FCP from$web_vitalsagainst the absolute Google thresholds (good / needs-improvement / poor) and against its own history: pages standing in the poor band (the absolute view the relative scouts miss), pages crossing a band boundary after a deploy (dated against a daily series, then narrowed to a sub-hour UTC boundary and correlated with the project's own hidden GIT deploy annotations and feature flag activity log — a flag or variant candidate has to be confirmed by splitting the metric on$feature/<key>before it is named as the cause), and sharp in-band regressions. Its discriminator is band-placement on a volume-stable percentile, with a page-scoped-vs-site-wide second axis (one page is code/content; all pages together is a population / CDN / third-party shift). Every finding carries a metric-specific cause hypothesis and a concrete remediation (bundledreferences/remediation.md), and a dated one also carries the change that landed inside its onset boundary (bundledreferences/onset-correlation.md). On the report channel (emit_report/edit_report): files each page+metric finding as a 1:1 inbox report, editing the live report while the page stays slow. Vitals-capture absence is the health-checks scout's territory, not this one's.signals-scout-experiments/— validity watcher for A/B experiments. Audits the measurement machinery rather than the results: sample ratio mismatch,$multiplecontamination, exposure stalls, mid-run flag mutations, plus lifecycle drift (zombies, ended-but-contaminating flags). Its discriminator is config-vs-data contradiction — the configured split / status / flag state against what the exposure stream actually shows.signals-scout-workflows/— suggestion producer for workflows, and the odd shape in the fleet: it does not only report, it files a concrete change through the workflows suggestions API for a person to approve or reject on the workflow itself. The one scout deliberately off the report channel: a report's actionability is model-set and unjudged, and an actionable one can dispatch an implementation run against the customer's repo and open a billable pull request — wrong work at a real cost for a change that is PostHog configuration, not code. The suggestion on the workflow page is the notification instead. Reads only the workflows whose owner turned on "Suggest improvements" (workflows-list?optimization_enabled=true) — no opt-in, no read — and proposes at most one change per workflow per run. Its discriminator is a step whose own delivery metrics say it underperforms where the change is the thing those metrics point at: open rate under target on enough tracked sends, with the counter-metrics (bounces, complaints) clean, since elevated bounces are a deliverability finding that rewriting copy makes worse. It is also the one canonical scout on neither channel: with noallowed_toolsthe harness renders the legacy signal persona, and the skill body overrides it in so many words (neveremit_signal). It needs thehog_flow_proposal:writegrant, ticked in the scout's write access settings; no other scout holds it. Delivery failures of workflows themselves aresignals-scout-data-pipelinesterritory, not this one's.signals-scout-observability-gaps/— the odd one out. Watches for structural gaps between events being captured and existing insight / dashboard / alert coverage, and emits P3 recommendations rather than P0–P2 anomalies.signals-scout-insight-alerts/— digest + triage layer over the team's own configured insight alerts (threshold / detector alerts on insights). Doesn't re-detect anomalies — the user already set the thresholds — it reads each alert's recent firing history (alerts-listto triage all alerts cheaply,alert-getto deep-read the firing checks of the few candidates) and surfaces the recent firings a human most likely missed. Its discriminator is missed-ness × materiality × persistence, weighting hardest toward firings the standard notification path stayed silent on (no subscribers, suppressed by the investigation agent, or an alert silently Errored and no longer evaluating); skips snoozed / disabled / flapping / already-notified-and-resolved. Complementsobservability-gaps(which recommends creating alerts) andanomaly-detection(which scores insights the team views, whether or not they're alerted) — this one owns the firings of alerts that already exist.signals-scout-csp-violations/— anomaly watcher for Content Security Policy violations ($csp_violationblocked-URL clusters, per-directive bursts, post-deploy page-scoped regressions, suspicious third-party domains).signals-scout-anomaly-detection/— anomaly watcher for the dashboards and insights a team actually views. Discovers high-traffic insights (view counts + dashboard access), curates a durable scratchpad watchlist, and balances re-checking known items (exploit) against discovering new ones (explore) across runs; scores the latest complete bucket by robust (MAD) deviation from each insight's own seasonality-matched baseline. On the report channel — it files each anomaly as a finished 1:1 inbox report viaemit_report/edit_report(itsallowed_tools) rather than a weak signal. Before its quick close-out on a project nobody views, it probes whether previously active product sources still send events, so a capture failure is not mistaken for disuse. Bundles its own references (anomaly-methods.md,watchlist-and-memory.md,report-contract.md,source-liveness.md).signals-scout-health-checks/— the judgment layer over PostHog's own health checks. Reads the project's active health issues (health-issues-summary/-list/-get) rather than re-running detection, and decides which are worth surfacing: bundles same-kind clusters into one finding, weights by real blast radius (cross-referenced against event volume / reach / SDK-version share), and prioritizes issues an agent can resolve via the MCP over credential-gated ones. Its discriminator is kind-concentration × severity × agent-fixability × persistence, not raw firing count. This includesingestion_warningissues — theingestion_warningcheck files one health issue per warning type (withwarning_type/category/severity/affected_countin the payload), so the scout owns that triage end-to-end, corroborating blast radius viaexecute-sqlagainstsystem.ingestion_warningsand pointing fixes at theresolving-ingestion-warningsskill.signals-scout-inbox-validation/— follow-up watcher for the inbox itself. Watches reports that recently transitioned toresolved(implementation PR merged), waits out a deployment soak window, then re-probes the entities the report's underlying signals named (pre-fix baselines captured at enqueue time) to check the fix actually held — plus a strictly-gated escalation check on recently dismissed reports. Its discriminator is resolution-vs-reality — the resolved status's promise against the post-deploy data stream. Emits only failed validations; confirmations are scratchpad memory. It never detects new problems — that's the rest of the fleet's territory.signals-scout-pr-follow-up/— follow-up watcher for recently merged pull requests, whatever source lists them (a pinnedrepositoriescheckout, the GitHub warehouse source viaengineering-analytics-sources/pull-requests, the connected GitHub App viaintegrations-github-repos-retrieve+ read-onlygh, or PRs the inbox links from resolved reports). Establishes that each PR is actually live first — GitHub deployments tables,ghdeployments and releases, hidden GIT deploy annotations, then a soak-window proxy — and only then asks three questions of the project's telemetry: did the PR do what it claimed (a fix's error stops, a tracking fix's event arrives), did it have the impact it expected (a perf PR's latency or vitals move, a feature's event or flag gets used), and did it cause a side effect (a new error whose frames sit in touched files, a rate step on the touched service or page, an alert, dead flag or capture wiring). Its discriminator is claim-vs-telemetry attribution to a named PR — movement nobody can pin to a change is the specialists' territory, and confirmations are memory-only, onepr:verdict per PR behind a per-repository cursor. Complementssignals-scout-inbox-validation, which re-measures a resolved report's claim from its signals: for a PR linked to a resolved report this scout cites that check's verdict and owns only the PR's other claims and its side-effect sweep.signals-scout-unused-features/— feature-usage audit: the clickable elements and pages people can reach and still barely use. Its discriminator is reach vs use: distinct clickers of an element over distinct viewers of the page it lives on, after templateddata-attrfamilies (row-<record name>) collapse to one item, so a tiny share on a well-visited page is signal and a low count on a quiet page is not. Gives each candidate the first matching cause from a fixed ladder (dead code, not trackable, behind a flag, too new, hard to find, rare by design, faded, else reachable and not used) and files one report per area. The inventory comes from the project's own telemetry, which cannot see a never-clicked element; a pinnedrepositoriescheckout adds the code inventory (never-used items, dead code, first-shipped dates, owners). Audits at most weekly behind a scratchpad date and reports deltas after the first audit. Bundlesreferences/queries.md. Flag debt is the feature-flags scout's territory, flow conversion is product-analytics', and launch effect is pr-follow-up's.signals-scout-product-analytics/— behavioral-regression watcher for the core product-analytics primitives (funnels, retention, lifecycle, stickiness, paths). Curates a watchlist of the team's saved funnel / retention / lifecycle insights (and at most one inferred activation flow where none is saved) and re-scores each flow's derived rate — step-to-step conversion %, cohort return %, lifecycle composition — against its own trailing, seasonality-matched baseline. Its discriminator is a rate regression with a steady denominator: a conversion/retention drop while entrants hold is a real product regression; a drop where entrants also collapsed is a capture/volume problem and belongs elsewhere. Fills the seam neither neighbor covers —anomaly-detectionscores raw time-series insights the team views (itsalert-simulatepath targets time-series, not funnels), andobservability-gapsonly recommends building a funnel; once a flow exists, this scout owns its behavioral health. Acquisition/attribution is the web-analytics scout's territory and experiment validity is the experiments scout's.signals-scout-skills-store/— skill-hygiene watcher for the team's PostHog skills store (LLMSkillrows), read entirely via the MCP skill tools (skill-list/skill-get/skill-file-get) so it works on any project with no repo access. Sweeps skills whoseupdated_at/versionadvanced past its cursor every run, plus a ~weekly gated deep pass over the store's most-used / highest-leverage tier (usage events when the project has them, else version churn and cross-references), checking a cached, ~weekly-refreshed checklist of statically-verifiable authoring rules: description quality, body size / progressive disclosure, single responsibility, bundled-file link hygiene, no committed secrets, near-duplicate skills. On the report channel (emit_report/edit_report): files one report per non-compliant skill with the copy-readyskill-updatefix inside, P3 (P2 when the skill is effectively broken for consumers or leaks a credential), editing the live report while the skill stays broken. Its discriminator is a statically-verifiable rule violation in a skill that is fresh or load-bearing — the unchanged long tail, subjective style nits, and canonical seeded scout rows (category: "scout") are noise. Treats skill bodies as untrusted data under test, never instructions.signals-scout-customer-analytics/— account-health watcher for the Customer analytics (Accounts) product, where eachsystem.accountsrow is a customer organization keyed to its analytics byexternal_id(the group key). Curates a watchlist of commercially-staked accounts (assigned CSM / AE / owner, or a CRM link) and scores each account's product engagement — weekly volume / WAU / key-feature usage — against its own trailing baseline, watching for churn-risk shapes (an engagement cliff, dormancy onset, single-threaded champion departure) and the positive inverse (an expansion signal worth an upsell). Its discriminator is a per-account engagement regression while the fleet holds, weighted by commercial ownership: one staked account sliding is signal, the whole fleet moving together is a capture/aggregate problem for another scout. The linchpin is the account→group join — it verifies thatexternal_idactually matches a live group key before trusting any per-account number (a seeded/CRM-sourced roster that doesn't join is a config gap, not a finding). Fills the seam neither commercial neighbor covers —product-analyticsscores aggregate user-grain flows andrevenue-analyticswatches the lagging revenue/MRR signal; neither scores an individual account's engagement trajectory. Acquisition is the web-analytics scout's territory.signals-scout-customer-analytics-billing-and-usage/— per-account product-mix watcher: one product's usage or forecasted MRR moving sharply in either direction against that account+product's own same-weekday trailing 4-week baseline while the account total holds — the masked shift account-level monitoring misses ("flags down 40%, total flat — replay growth is masking it"). Reads per-account per-product usage and MRR from the billing warehouse sources it discovers at Orient, weights severity by % change × the product's share of the account's MRR (an unexplained bill-inflating spike ranks with drops — surprise invoices churn accounts too), and sweeps account notes, channel summaries, and synced comms for a planned-change explanation before filing. Its discriminator is per-product divergence under a flat account total on a commercially staked account. Fills the seam its two commercial neighbors leave open —customer-analyticsscores the account's aggregate engagement (a flat total looks healthy to it) andrevenue-analyticswatches aggregate revenue and upstream sync health; fleet-wide product moves areproduct-analytics/health-checksterritory. On the report channel (emit_report/edit_report): one report per account+product shift, edited while the shift persists. Withheld fleet-wide via thesignals-scoutflag'sdefault_team_config.withheld_skillsand released only on team 2 (itsteam_configsoverride) — the billing views and thepostgres.posthog_userreviewer mapping it depends on exist only there.signals-scout-mcp-tool-calls/— tool-quality watcher for PostHog MCP usage. Reads$mcp_tool_calltelemetry for tools that need improvement: high, broad-reach failure rates, per-session retry/hammering that betrays a confusing schema, slow or context-bloating responses, and undiagnosable failures (an instrumentation gap). Its discriminator is rate/struggle weighted by volume and reach, concentrated in a consistent shape — not raw counts. Coverage-aware: it first probes which enrichment fields the project captures (they split by regime — PostHog's own hono server vs external SDK servers) and picks lenses to match, resting detection only on always-present fields (error flag, duration, tool name, session). On the report channel (emit_report/edit_report): files one report per problem category ($mcp_tool_category, the owning product team) listing that category's problem tools each with a fix hypothesis, editing the live category report while the category still has problem tools; falls back to one report per tool where category coverage is absent (external-SDK regime); bundlesreferences/queries.md, a HogQL cookbook validated against real telemetry. The one scout on the structured-output channel:scout-structured-output-schemain its frontmatter shipsreferences/structured-output.schema.json, so every run records a per-category roll-up and per-tool session-share rows as$scout_structured_outputevents — a chartable series for numbers that exist nowhere else (struggle share, problem-tool counts, the regime, and what the scout decided per category), withreferences/metrics-dashboard.mdas the consumption recipe.signals-scout-tasks/— delivery + demand watcher for the Tasks product (the agent work items a project runs), read from thesystem.tasks/system.task_runssystem tables. Two lenses in one body: delivery health every run (runs failing, clustered by repository and byerror_messageprefix) and a ~weekly gated demand pass over human-authored tasks (recurring asks that point at a product gap). Its discriminator is failure concentration × spread — a cluster's failure rate over meaningful volume, with runs ÷ distinct tasks separating a systemic defect in a shared path (ratio ≈ 1 across many tasks) from a retry storm (ratio ≫ 1 over one or two stuck tasks), which is the single biggest false positive on this surface. Two exclusions are load-bearing: it always dropsorigin_product = 'signals_scout'(the fleet's own run containers, which theinternalflag does not filter and which can outnumber every real origin), and the demand lens reads human origins only, so the inbox's own throughput can never register as user demand. On the report channel (emit_report/edit_report): one report per cluster (a repository or a failure class), with the demand lens held to a higher bar — its default outcome is compounding scratchpad memory, and it files only once a theme crosses into something actionable. Bundlesreferences/queries.md, a cookbook validated against real task data (it also tells the scout to probestagebefore resting a lens on it). Task text is treated as untrusted prompt material, never instructions.signals-scout-conversations/— support-delivery health watcher for the Conversations (support inbox) product. Reads the$conversation_*ticket-lifecycle events for operational regressions: SLA breach-rate steps on team replies (sla_active/sla_breached), first-response latency blowouts (ticket-created → first team reply), backlog inflow-vs-resolution imbalance, and channel / assignment / priority concentration. Its discriminator is a rate against a volume-stable denominator, per operational dimension, stepping away from its own trailing baseline while ticket volume holds — a breach share / response latency / inflow-minus-resolution delta moving on steady volume is signal, a raw count that tracks inbound volume is baseline — always gated by a minimum-volume guard. On the report channel (emit_report/edit_report): files each dated, dimension-named regression as a 1:1 inbox report, editing the live report while the regression persists. It is the operational complement to the per-ticket emission path: the emission pipeline (source_product="conversations") already reads each ticket thread and fires a per-ticket product-feedback signal (bugs / feature requests / usability), so this scout never re-surfaces individual ticket content — it owns the aggregate throughput / SLA / backlog / routing shape the one-ticket-at-a-time emitter can't see, and (reading analytics events) it works whether or not that emission source is enabled.
How the coordinator decides what runs
There is no sampling. Each scout has its own SignalScoutConfig row (one per (team, skill_name)) carrying a run_interval_minutes schedule (default 1440 = every 24 hours) and a last_run_at stamp. Every tick the coordinator:
- Bounds candidates to the teams enrolled via the
signals-scoutfeature flag's JSON payload allowlist (guaranteed_team_idsminusskip_team_ids,_participating_teams→_enrolled_team_ids). Editing the payload in the flag UI enrolls or drains a team next tick — no manual seed. - Auto-registers a config for any
signals-scout-*skill missing one (scout_harness/config_registry.register_missing_configs) — on an enrolled team, authoring a skill is enough to get a scout. For custom scouts,scout-createvalidates and creates the skill and config in one call;scout-config-createremains the lower-level way to register a config for an existing skill. - Dispatches every enabled scout whose schedule is due (
last_run_at is None, ornow - last_run_at >= run_interval_minutes), most-overdue first, capped atMAX_RUNS_PER_TICKper tick. Each due scout becomes oneRunSignalsScoutWorkflowchild run;last_run_atis advanced for everything dispatched.
Pausing a scout is enabled=False on its config; slowing it is a larger run_interval_minutes. Both are tunable via the scout-config-update MCP tool, and settable for a new custom scout via the nested config object on scout-create. See scout_coordinator._collect_planned_runs for the exact due-check.
Authoring a new scout
Creating a new signals-scout-foo/SKILL.md directory and merging it is enough.
The next coordinator tick (or an explicit sync_signals_scout_skills --all-enabled run) will:
- discover it via
lazy_seed.discover_canonical_skills(), - create matching
LLMSkillrows on each agent-enabled team, - auto-register an enabled
SignalScoutConfigon the default every-24-hours schedule for it so the next due tick dispatches it.
No coordinator-side code change is needed. Use signals-scout-general as the template if your scout is broad; pick a specialist as the template if it is domain-tight.
What lives inside a scout SKILL.md
Each scout's body is an instruction set the run reads at run time with skill-get — the harness pins the version and never inlines the body into the system prompt. References (siblings of SKILL.md) are progressively disclosed the same way, via skill-file-get. Keep the body lean — every line is a recurring token cost on every run — and push detail into references that are only read when needed. Do not hard-wrap scout SKILL.md prose at a column width — use semantic line breaks (sentence per line); the body is a prompt, not display text, and column wrapping only adds diff noise.
Frontmatter also carries the optional scout-tags list — the config tags register_missing_configs stamps on the SignalScoutConfig it creates for the scout, normalized and capped like a tag typed into the config API.
It is how a canonical scout claims a product surface: AI observability's self-driving tab lists the scouts tagged ai-observability, so that tab needs no hardcoded skill name and a scout can change surfaces by editing its frontmatter.
Tags are seeded at creation only — a person who removes one keeps it removed — so adding the key to a scout teams already run leaves their existing configs untagged until someone tags them through the config API.
They sit outside the canonical content hash, since they belong to the config rather than the skill row.
Frontmatter also carries the required-in-practice scout-display-name — the label the scout ships under, seeded onto SignalScoutConfig.display_name and shown wherever a person identifies the scout.
Every canonical scout states one, because the fallback sentence-cases the slug and gets acronyms wrong: signals-scout-apm reads as "Apm" and signals-scout-mcp-tool-calls as "Mcp tool calls".
Give a new scout a label rather than adding a capitalization fix downstream.
Unlike tags, it is reconciled onto rows seeded earlier, but only where the column is still blank, so a scout a team renamed keeps the name they gave it.
It sits outside the canonical content hash for the same reason tags do.
Frontmatter also carries the optional scout-structured-output-schema — a path to a bundled JSON Schema file describing one record the scout writes through scout-record-output, seeded onto SignalScoutConfig.structured_output_schema.
The schema's presence is what switches the structured-output channel on, so a measurement scout records its series from its first run instead of waiting for someone to paste a schema into the config API.
It is a path rather than inline YAML because a JSON Schema is a document, and it must name a file in the skill bundle (references/ or scripts/) so the schema is read once, under the same caps as every other bundled file, and rides the canonical content hash.
The harness validates it at discovery with the same validate_structured_output_schema the config API uses, so a broken schema fails the sync once instead of failing every run.
Like the display name, it is reconciled onto rows seeded earlier but only where the column is still null, so a team that edited its schema owns it from then on.
Because null is what the reconcile reads as "never seeded", the config API refuses to clear a shipped schema to null on a canonical scout and points at the two switches that do stick: the dry-run setting (emit) withholds the channel, and disabling the scout stops the runs.
The reconcile runs on the coordinator's per-tick path for explicitly enrolled teams; a wildcard-enrolled team picks the schema up when its configs are next created or synced, the same as the display name.
That cuts both ways: the config column is what the record endpoint enforces, and nothing overwrites it, so editing a shipped schema updates each team's copy of the file but leaves every already-seeded config on the schema it was given.
Changing a schema teams already run needs a migration, not a frontmatter edit.
signals-scout-mcp-tool-calls is the one that ships with it.
Frontmatter also carries the optional scout-role value, which is specialist unless a scout says otherwise.
A scout that watches the self-driving system rather than a product surface declares scout-role: operational, and the harness stops treating its quiet as waste: the config seeds enabled and exempt from the inactivity sweep, skips the launch allowlist and the per-team enabled-scout cap, and cannot be deleted through the config API.
Unlike tags, the role is reconciled onto rows seeded earlier on every coordinator tick, because a silenced operational scout is the failure the role exists to prevent — though a pause a person made is still left standing, and withheld_skills still gates the scout.
Use it only for a scout whose subject is the fleet itself: signals-scout-inbox-validation, which re-measures whether merged fixes held, is the one that ships with it.
Frontmatter also carries the optional scout-status / scout-deprecation pair, which is how a canonical scout is retired.
scout-status: deprecated plus a scout-deprecation block (reason, optional superseded_by, optional sunset_at) is the whole announcement: the sync copies it into every project's skill row metadata, the roster renders a "Retiring on {date}" chip from it, no new project is seeded the scout, and on the first reconcile past the sunset each project's config moves to a retired pause.
The two keys must agree, and a block with no reason fails the parse, because the reason is what every surface shows a person.
A sunset_at left out means the next reconcile retires the scout, so a marker is never half-applied.
A project that edited its copy is untouched by all of it and keeps running the scout as its own.
Retiring a scout is therefore a frontmatter PR, and withheld_skills on the signals-scout flag goes back to meaning "unreleased" only.
The generalist (signals-scout-general) is report-only — it authors SignalReports directly and does not emit_signal. The report-channel contract (when to author a fresh report vs. edit an existing one, the field schema, the safety × actionability status mapping, reviewer routing via scout-members-list, and the non-idempotency + pipeline-rewrite caveats) lives in the harness prompt (scout_harness/prompt.py), which forks on the scout's channel and injects it into every report-channel scout — so it is not duplicated as a per-scout reference. The generalist keeps three bundled references:
references/conventions.md— the four-states author/edit classifier, scratchpad key-prefix vocabulary, and cross-project noise patterns.references/discovery.md— the concrete moves of the bounded discovery pass behind its coverage map.references/new-traffic.md— the periodic new-traffic check: a by-source volume step against older weeks, the shapes that separate growth from foreign traffic (a forked client, a copied token, a bot, a runaway loop), and the pinned pre-surge baseline that keeps a slow surge visible.
Most canonical scouts author reports on the report channel.
signals-scout-workflows writes workflow suggestions and deliberately uses neither signal nor report output; preserve its frontmatter and permissions when editing fleet guidance.
A report-channel scout is report-only: its frontmatter allowed_tools lists emit_report / edit_report, and it carries only its domain-specific report framing inline in its body (what's report-shaped for its surface, its reviewer:<domain> / report:<domain> scratchpad keys, a tailored title example).
The channel contract comes from the prompt, so a report-channel scout bundles no report.md.
signals-scout-anomaly-detection keeps a slimmed references/report-contract.md for its scout-specific notebook write-up + embedded-chart recipe (it defers the generic contract to the prompt).
The legacy signal channel (weak emit_signal findings for the pipeline to cluster) still exists in the harness for custom scouts that never opted in via allowed_tools, but it is deprecated.
The user-facing skills (authoring-scouts, exploring-scouts) no longer teach it; new scouts that author reports list the report tools.
The specialists each carry their own domain discriminator + investigation patterns.
Most are a single self-contained SKILL.md; a few bundle surface-specific references read on demand — signals-scout-anomaly-detection (anomaly-methods.md, watchlist-and-memory.md, report-contract.md, source-liveness.md), signals-scout-ai-observability (lenses.md), signals-scout-apm (performance-issues.md), signals-scout-surveys (response-querying.md), signals-scout-web-vitals (remediation.md, onset-correlation.md), signals-scout-mcp-tool-calls (queries.md, metrics-dashboard.md, structured-output.schema.json), signals-scout-tasks (queries.md), signals-scout-pr-follow-up (sources.md, deploy-ladder.md, probes.md), signals-scout-product-analytics (funnel-maturity.md), and signals-scout-unused-features (queries.md); ls signals-scout-*/references/ is the current list. Treat the generalist as the reference shape. Note that a scout can only read its own bundled files at runtime (each team's LLMSkill row carries just that skill's files) — which is why a scout that needs the dedupe/memory conventions in depth bundles its own copy rather than pointing at the generalist's. The report-channel contract is the exception to that copy-it-locally rule: it rides in the harness prompt, not a file, so report scouts share one definition without each bundling a copy.
When editing skills in this directory
- Official skills (
signals/,inbox-exploration/,prioritizing-my-inbox/). Disk in this directory is the source of truth. Changes get published toproducts/posthog_ai/dist/skills/for distribution as part of the official PostHog skill set; they are not auto-synced onto teams'LLMSkillrows. - Scout skills (
signals-scout-*/). Disk in this directory is the source of truth, andlazy_seedmirrors changes onto each agent-enabled team'sLLMSkillrows on the next coordinator tick (or immediately viapython manage.py sync_signals_scout_skills --all-enabled). Teams that have manually edited a row are treated as "diverged" and left alone — the sync logs them so you can decide whether to nudge those teams to reset. - A skill in this directory names nothing that exists in only one project. Every skill here ships to every project, so a metric, dashboard, event, or id from PostHog's own project is wrong for almost every reader. Text about an optional product says how to tell whether the project uses it, and never assumes that it does.
- If you change the scout fleet shape (add a new specialist, rename, or change the SKILL.md schema), update this file.
Reference
- Harness layout and run lifecycle —
../backend/scout_harness/AGENTS.md - Coordinator + per-scout due-check rules —
../backend/temporal/agentic/scout_coordinator.py - Canonical sync mechanics + manual command —
../backend/management/AGENTS.md(Canonical skill sync section)