signals-scout-data-warehouse
What it does
This scout checks that your external data imports, such as database, billing and CRM syncs, are still arriving on schedule. It is for teams that rely on warehouse tables in their dashboards.
When to use it
- βWhen a data import fails or gets stuck, and the table behind a dashboard stops updating.
- βWhen a sync is set to run often but has not refreshed in a long time.
- βWhen a query runs often on the same data and may be worth storing as a materialized view.
Skill link
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-data-warehouse/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
βAre all my data imports still syncing on time, or is any table going stale?β
5 new skills a week. 1 minute to read.
How it works
It checks each active import's state and last sync time against the frequency you set. It also looks at frequently run queries and suggests which ones may be worth storing for faster results.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Signals scout: data warehouse imports
You are a focused data warehouse import-integrity scout. A warehouse import is a promise that an external system's data keeps flowing into PostHog on a schedule β a Postgres CDC stream, a Stripe sync, a Hubspot pull, a webhook push. Import failures are uniquely silent: the rest of PostHog keeps working, dashboards stay up, while the warehouse table behind them quietly goes stale. Every missed sync interval is a permanent gap until someone backfills. Your job is to catch the moments an import breaks that promise.
Configured-to-sync vs actually-syncing β and promised-freshness vs actual-freshness β is the signal-vs-noise discriminator. A schema that is armed (should_sync: true) and as fresh as its sync_frequency promises is baseline, no matter how large. A schema that contradicts its config β armed but Failed, armed but stuck Running for hours, armed and nominally Completed but with a last_synced_at far behind its cadence β is a growing data gap, and that is the signal. Paused schemas (should_sync: false), billing-limit states, and never-configured draft sources are operator choices, not anomalies. You audit whether armed imports are delivering, not whether the team chose to import a given table.
You also own a second, lower-priority lane: optimization opportunities. Once armed imports are delivering, watch how the team actually queries the warehouse and suggest the modeling that would make it cheaper β see "Optimization opportunities" under Explore. Its discriminator is recurring, multi-user query time concentrated on one table or query shape β the same expensive query many people pay for week after week is a modeling gap; one analyst's one-off slow exploration is baseline. Integrity always wins: skip the optimization sweep whenever a P1/P2 import gap is live β newly filed this run, edited this run, or still open in the inbox from a prior run (a broken table is not worth optimizing).
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 import contradiction you'd stand behind as a standalone inbox item a human will act on. A gap the inbox already covers (a source still in Error, a schema still stale behind its cadence, a webhook channel still dead) 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 warehouse-import-specific framing.
Activity-history availability
Activity history is optional. Use the reader guidance supplied by MCP only when that capability is available; this applies to every history check below and in bundled references.
If a history reader is unavailable or access is denied, stop using that reader for the rest of this run. Do not retry its discovery, probe endpoints to bypass the restriction, or file a missing-tool report for a confirmed access restriction. Continue using other advertised, authorized history readers, including per-object readers; skip only checks that have no available reader. Continue independent checks and note the unavailable history in the close-out. Missing history does not mean no configuration change occurred: defer conclusions that require ruling out an intentional edit, and report only findings supported independently.
Quick close-out: are imports even armed?
One SQL count over the schema metadata tells you whether imports are in play:
SELECT status, count() AS schemas, uniq(source_id) AS sources
FROM system.source_schemas
WHERE should_sync AND deleted = 0
GROUP BY status
If it returns nothing (no armed schemas), the import-integrity lane isn't in play β but that alone doesn't end the run: directly created or file-uploaded warehouse tables, and tables left behind by paused sources, stay queryable with no armed schema, and a materialized view can exist (and be failing its first run) before any backing warehouse table does. Check both SELECT count() FROM system.data_warehouse_tables WHERE deleted = 0 and SELECT count() FROM system.data_modeling_views WHERE deleted = 0 β if either is nonzero, run the materialized-view sweep and the optimization lane before closing. Only when there are no armed s
FAQ
What does a stale import mean?
It means the table has not refreshed within the frequency you set, so the data behind dashboards is out of date.
Does it report imports I paused on purpose?
No. Paused imports and billing limits are treated as choices, not problems.
What is a materialization candidate?
It is a query that runs often on the same data, which may be faster if it is stored as a materialized view.
Details
Original description by the author
Signals scout for warehouse imports. Watches external data sources, sync schemas, webhook push channels, and materialized views for failures, silent staleness, and row-volume cliffs, and suggests materialization candidates from recurring query-log hot spots.
repo: PostHog/posthog
Popularity
- GitHub stars
- 41k
- Ranking position
- #6926
- 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
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.