adding-warehouse-perso…
Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties…
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.
$ npx -y skills add PostHog/ai-plugin --skill signals-scout-data-pipelines --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/signals-scout-data-pipelinesContext 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.
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. 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
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.
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
Cycle between these moves; skip what's not useful.
Three cheap reads cold-start a run:
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 AND deleted = 0 LIMIT 100
then `batch-export-get {id}` per export for
Official PostHog plugin for AI clients. Access PostHog products directly from your AI coding tool.
Repo: PostHog/ai-plugin
Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties…
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…
Analyze session replay patterns across experiment variants to understand user behavior differences. Use when the user wants to see how users interact with…
Split a completed PostHog task run into activity records — what the agent tried, whether it worked, what blocked it — and record each one through the…
Assesses what a page's heatmap is telling you and recommends concrete changes. Pulls click / rageclick / scroll-depth data for a URL, names the hot elements by…
Audit every endpoint in a PostHog project for staleness, failed materialisations, and unused materialised versions. Use when the user asks "what endpoints can…