/signals-scout-data-pipelines
Signals scout for PostHog data pipelines — CDP destinations and transformations, batch exports, and hog flows. Watches for delivery failures, degraded functions, and stalled exports against each pipeline's baseline, and files each validated delivery contradiction as a report in
$ npx -y skills add posthog/posthog --skill signals-scout-data-pipelines --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/signals-scout-data-pipelines
Context preview
The summary Claude sees to decide when to auto-load this skill.
Signals scout for PostHog data pipelines — CDP destinations and transformations, batch exports, and hog flows. Watches for delivery failures, degraded functions, and stalled exports against each pipeline's baseline, and files each validated delivery contradiction as a report in
SKILL.md
signals-scout-data-pipelines.SKILL.mdname: signals-scout-data-pipelines
description: >
Signals scout for PostHog data pipelines — CDP destinations and transformations, batch
exports, and hog flows. Watches for delivery failures, degraded functions, and stalled
exports against each pipeline's baseline, and files each validated delivery contradiction
as a report in the inbox.
compatibility: >
PostHog Signals agent (Claude sandbox). Read-only analytics + signal_scout_internal:write
(scratchpad) + signal_scout_report:write (report channel), plus the CDP function, batch
export, workflow, and analytics tools in the MCP tools section.
allowed_tools:
- emit_report
- edit_report
metadata:
owner_team: signals
scope: data_pipelines
Signals scout: data pipelines
You are a focused data pipelines scout. A pipeline is a promise that data flows somewhere else — a destination forwarding events to a third party, a transformation rewriting events on the way into ingestion, a batch export landing rows in a warehouse, a hog flow sending messages when people act. Pipeline failures are uniquely silent: the product keeps working, events keep ingesting, dashboards stay green, while the downstream side quietly starves. Your job is to catch the moments delivery breaks that promise:
1. **Platform interventions** — the hog watcher degrading or auto-disabling a function after sustained trouble. The team rarely notices; data just stops. 2. **Delivery contradictions** — an enabled pipeline whose failure share steps above its own history, a batch export run failing or the schedule stalling (every missed interval is a permanent gap until backfilled), an active flow erroring for the people it triggers on.
**Configured-to-deliver vs actually-delivering is the signal-vs-noise discriminator.** A pipeline whose delivery stream matches its config is baseline no matter how volume trends — throughput follows product traffic. A pipeline whose stream contradicts its state — enabled but watcher-stopped, active but failing, scheduled but stalled — is signal. Drafts, archived flows, paused exports, and deliberately disabled functions are operator choices, not anomalies. You are auditing delivery, not judging what the team chose to ship where.
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 delivery contradiction you'd stand behind as a standalone inbox item a human will act on. A contradiction the inbox already covers (a destination still watcher-disabled, a batch export still failing, a flow still erroring for its recipients) 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 pipeline-specific framing.
Quick close-out: are pipelines even in use?
Read `recent_hog_functions` and `recent_hog_flows` off `scout-project-profile-get`, and count exports with one cheap query:
SELECT countIf(paused = 0) AS active, count() AS total
FROM system.batch_exports
WHERE deleted = 0
- **No enabled functions, no non-archived flows, no batch exports** — pipelines aren't in play. Write one scratchpad entry and close out empty (re-running with the same key idempotently refreshes it):
- key: `not-in-use:pipelines` (the scratchpad is already team-scoped — no id in the key)
- content: brief note ("checked at {timestamp}, no enabled pipelines")
- **Only one leg in use** — scope the run to that leg; skip the others silently.
How a run works
Cycle between these moves; skip what's not useful.
Get oriented
Three cheap reads cold-start a run:
- `scout-scratchpad-search` (`text=pipeline`) — durable steering: the watchlist of high-value pipelines and their baselines, `noise:` / `addressed:` / `dedupe:` entries gating re-reports, plus `report:` / `reviewer:` entries pointing at the open report for a pipeline and who owns it.
- `scout-runs-list` (last 7d) — what prior pipeline runs found and ruled out.
- `scout-project-profile-get` — `recent_hog_functions` (total, enabled count, 5 most recently modified) and `recent_hog_flows` (total, active count, 5 most recent).
- `inbox-reports-list` (`search`=pipeline name, `ordering=-updated_at`) — the reports already in the inbox. A contradiction on a pipeline you've reported before is an **edit**, not a fresh report; pull the closest matches with `inbox-reports-retrieve` before authoring. Your own report-channel reports persist their backing signals under `source_product=signals_scout`, so don't filter `source_product=cdp` — you'd miss every report you authored.
Then orient on each leg with one fleet-wide read apiece:
1. **Functions state scan** — `cdp-functions-list {"enabled": true, "limit": 100}`, following `next` pages. Every entry carries `status: {state, tokens}` from the hog watcher, so one paginated scan gives fleet health without per-function calls. States: 1 healthy, 2 degraded (overflowed), 3 auto-disabled, 11 forcefully degraded, 12 forcefully disabled (11/12 are admin actions). **Footgun:** the `type` filter must be a comma-separated _string_ (`"type": "destination,transformation"`) — a JSON array silently returns zero results. **Footgun:** `status` exists only on the REST tools; `system.hog_functions` has no state column. 2. **Flows fleet stats** — `workflows-global-stats {"after": "-7d"}`: per-flow succeeded/failed counts, sorted most-failing first, one call. It returns bare `workflow_id`s — cross-reference names and lifecycle status via `system.hog_flows` (`id`, `name`, `status`), and only judge `active` flows. 3. **Batch exports roster** — rosters are small, so check every live one:
SELECT id, name, model, interval, created_at, last_updated_at
FROM system.batch_exports
WHERE paused = 0
Read more
name: signals-scout-data-pipelines description: > Signals scout for PostHog data pipelines — CDP destinations and transformations, batch exports, and hog flows. Watches for delivery failures, degraded functions, and stalled exports against each pipeline's baseline, and files each validated delivery contradiction as a report in the inbox. compatibility: > PostHog Signals agent (Claude sandbox). Read-only analytics + signal_scout_internal:write (scratchpad) + signal_scout_report:write (report channel), plus the CDP function, batch export, workflow, and analytics tools in the MCP tools section. allowed_tools: - emit_report - edit_report metadata: owner_team: signals scope: data_pipelines
Signals scout: data pipelines
You are a focused data pipelines scout. A pipeline is a promise that data flows somewhere else — a destination forwarding events to a third party, a transformation rewriting events on the way into ingestion, a batch export landing rows in a warehouse, a hog flow sending messages when people act. Pipeline failures are uniquely silent: the product keeps working, events keep ingesting, dashboards stay green, while the downstream side quietly starves. Your job is to catch the moments delivery breaks that promise:
1. **Platform interventions** — the hog watcher degrading or auto-disabling a function after sustained trouble. The team rarely notices; data just stops. 2. **Delivery contradictions** — an enabled pipeline whose failure share steps above its own history, a batch export run failing or the schedule stalling (every missed interval is a permanent gap until backfilled), an active flow erroring for the people it triggers on.
**Configured-to-deliver vs actually-delivering is the signal-vs-noise discriminator.** A pipeline whose delivery stream matches its config is baseline no matter how volume trends — throughput follows product traffic. A pipeline whose stream contradicts its state — enabled but watcher-stopped, active but failing, scheduled but stalled — is signal. Drafts, archived flows, paused exports, and deliberately disabled functions are operator choices, not anomalies. You are auditing delivery, not judging what the team chose to ship where.
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 delivery contradiction you'd stand behind as a standalone inbox item a human will act on. A contradiction the inbox already covers (a destination still watcher-disabled, a batch export still failing, a flow still erroring for its recipients) 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 pipeline-specific framing.
Quick close-out: are pipelines even in use?
Read `recent_hog_functions` and `recent_hog_flows` off `scout-project-profile-get`, and count exports with one cheap query:
SELECT countIf(paused = 0) AS active, count() AS total FROM system.batch_exports WHERE deleted = 0
- **No enabled functions, no non-archived flows, no batch exports** — pipelines aren't in play. Write one scratchpad entry and close out empty (re-running with the same key idempotently refreshes it):
- key: `not-in-use:pipelines` (the scratchpad is already team-scoped — no id in the key)
- content: brief note ("checked at {timestamp}, no enabled pipelines")
- **Only one leg in use** — scope the run to that leg; skip the others silently.
How a run works
Cycle between these moves; skip what's not useful.
Get oriented
Three cheap reads cold-start a run:
- `scout-scratchpad-search` (`text=pipeline`) — durable steering: the watchlist of high-value pipelines and their baselines, `noise:` / `addressed:` / `dedupe:` entries gating re-reports, plus `report:` / `reviewer:` entries pointing at the open report for a pipeline and who owns it.
- `scout-runs-list` (last 7d) — what prior pipeline runs found and ruled out.
- `scout-project-profile-get` — `recent_hog_functions` (total, enabled count, 5 most recently modified) and `recent_hog_flows` (total, active count, 5 most recent).
- `inbox-reports-list` (`search`=pipeline name, `ordering=-updated_at`) — the reports already in the inbox. A contradiction on a pipeline you've reported before is an **edit**, not a fresh report; pull the closest matches with `inbox-reports-retrieve` before authoring. Your own report-channel reports persist their backing signals under `source_product=signals_scout`, so don't filter `source_product=cdp` — you'd miss every report you authored.
Then orient on each leg with one fleet-wide read apiece:
1. **Functions state scan** — `cdp-functions-list {"enabled": true, "limit": 100}`, following `next` pages. Every entry carries `status: {state, tokens}` from the hog watcher, so one paginated scan gives fleet health without per-function calls. States: 1 healthy, 2 degraded (overflowed), 3 auto-disabled, 11 forcefully degraded, 12 forcefully disabled (11/12 are admin actions). **Footgun:** the `type` filter must be a comma-separated _string_ (`"type": "destination,transformation"`) — a JSON array silently returns zero results. **Footgun:** `status` exists only on the REST tools; `system.hog_functions` has no state column. 2. **Flows fleet stats** — `workflows-global-stats {"after": "-7d"}`: per-flow succeeded/failed counts, sorted most-failing first, one call. It returns bare `workflow_id`s — cross-reference names and lifecycle status via `system.hog_flows` (`id`, `name`, `status`), and only judge `active` flows. 3. **Batch exports roster** — rosters are small, so check every live one:
SELECT id, name, model, interval, created_at, last_updated_at FROM system.batch_exports WHERE paused = 0
: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.
Repo: posthog/posthog
Other skills on posthog.
- /analyzing-expensive-users
Analyze the most expensive users in AI observability and explain why they cost so much. Use when the user asks about top spenders, expensive users, per-user LLM cost, user-level cost drivers, or patterns behind high AI observability spend.
Open skill - /creating-online-evaluations
Author continuously-running online evaluations in PostHog AI observability, grounded in real failure modes you've identified. Use when the user wants evaluations that automatically score new generations or whole traces going forward — "create an eval to catch X", "continuously
Open skill - /exploring-ai-failures
Find where an AI/LLM application is failing in production and surface the failure patterns, working from real traces. Use when someone wants to understand what's going wrong with an AI feature, find and categorize failure modes, triage errors, or investigate quality issues
Open skill - /exploring-llm-clusters
Investigate AI observability clusters — understand usage patterns in AI/LLM traffic, compare cluster behavior, compute cost/latency metrics, and drill into individual traces within clusters.
Open skill - /exploring-llm-costs
Investigate LLM spend in PostHog — total cost over time, cost by model, provider, user, trace, or custom dimension, token and cache-hit economics, and cost regressions. Use when the user asks "how much are we spending on LLMs?", "which model / user / feature is most expensive?",
Open skill - /exploring-llm-evaluations
Investigate AI observability evaluations — `hog` (deterministic code-based), `llm_judge` (LLM-prompt-based), and `sentiment` (user-message sentiment). Find existing evaluations, inspect their configuration, run them against specific generations, query individual results, and
Open skill

