auditing-warehouse-source-health
Was er macht
Dieser Skill gibt einem Agenten eine vollständige Prüfung aller Datenquellen, die das PostHog Data Warehouse speisen. Er richtet sich an Menschen, die eine klare Liste dessen wollen, was kaputt ist, bevor sie einem einzelnen Problem nachgehen.
Wann du ihn nutzt
- ✓Wenn du fragst, warum deine Datenimporte fehlschlagen oder veraltet sind.
- ✓Wenn deine Warehouse-Daten veraltet wirken und du nicht weißt, welche Quelle schuld ist.
- ✓Wenn du regelmäßig den Zustand all deiner Datenquellen prüfen willst.
Link zum Skill
https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/auditing-warehouse-source-health/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Warum sind meine Warehouse-Daten veraltet? Bitte prüf alle meine Datenquellen und sag mir, was kaputt ist.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent führt eine projektweite Prüfung der Quellen, Sync-Tabellen und Webhook-Kanäle durch. Dann gruppiert er die Probleme und stellt die dringendsten zuerst, damit du weißt, wo du als Nächstes suchen musst.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Auditing data warehouse source health
This skill produces a project-wide audit of the source and sync side of the data warehouse pipeline — source
connections, sync schemas, and webhook push channels. Use it when the user wants a summary of what's broken with
their imports, not a deep-dive on one sync. The deep-dive on individual failures is
diagnosing-failed-warehouse-syncs; this skill is the scan that tells them where to look first.
The same underlying endpoint (data-warehouse-data-health-issues-retrieve) also reports materialized-view,
batch-export-destination, and transformation issues. Materialized views are covered by
auditing-warehouse-view-health. Destinations (batch exports) and transformations are owned by other products — surface
them if they appear, but route them to the relevant team rather than diagnosing here.
When to use this skill
- "Why are my imports failing?" / "What's broken with my sources?"
- "Why is my warehouse data stale?"
- The user is new to a project and wants to know which sources they've inherited and whether they're healthy
- Weekly or monthly review of source/sync health
- Dashboards are stale and the user isn't sure which source is at fault
Available tools
| Tool | Purpose |
|---|---|
data-warehouse-data-health-issues-retrieve |
One-shot: all failed/degraded items across the whole pipeline |
external-data-sources-list |
All sources with status and latest error |
external-data-schemas-list |
All schemas with status, last_synced_at, latest_error |
external-data-sources-webhook-info-retrieve |
Check per-source webhook state (not covered by data-health-issues) |
The data-health-issues endpoint aggregates across the whole pipeline — it's the fastest path to a summary. Filter
its results to the source and external_data_sync types for this audit. Use the list endpoints when you need more
context than the summary provides (row counts, non-failing items, schema-level detail).
What counts as a source/sync "issue"
From the data-health endpoint, this audit cares about two of the five categories:
type |
Trigger | Typical urgency |
|---|---|---|
source |
ExternalDataSource.status = Error — whole source connection broken |
High |
external_data_sync |
schema in Failed or BillingLimitReached state (the data-health endpoint returns status: "failed" or status: "billing_limit" respectively) |
Medium–High |
Each entry includes id, name, type, status, error, failed_at, url, and source_type.
The other categories the endpoint returns are out of scope for this skill:
materialized_view→auditing-warehouse-view-healthdestination(batch export) → owned by the batch exports / data pipelines producttransformation(HogFunction) → owned by the CDP / ingestion side
Note the data-health endpoint only reports active failures. For source/sync health it doesn't flag:
- Schemas paused by the user (
should_sync = false) - Schemas that are slow or stale but technically
Completed - Webhook problems on
sync_type: "webhook"schemas. The bulk-sync safety net can succeed while the webhook push channel is silently broken (deregistered, disabled on the remote side, failing signature verification). These don't surface indata-health-issues— check per-source withwebhook-info-retrieve.
If the user asks about staleness or unused items, reach beyond this endpoint — see Step 4.
Workflow
Step 1 — One-shot pull
Call data-warehouse-data-health-issues-retrieve and keep the source and external_data_sync entries.
If there are no source/sync issues, tell the user their sources are healthy and stop. Don't invent problems.
Step 2 — Group and prioritize
- Sources in Error first. A source fa
Häufige Fragen
Repariert dieser Skill die kaputten Importe?
Nein. Er findet die Probleme und ordnet sie. Ein eigener Skill geht dann einzelnen Fehlern auf den Grund.
Prüft er auch materialisierte Views?
Die werden von einem anderen Audit-Skill abgedeckt, obwohl diese Prüfung sie anzeigen kann, falls sie auftauchen.
Was ist mit Zielen und Transformationen?
Die gehören anderen Teams. Der Agent weist darauf hin und leitet sie weiter, statt sie hier zu untersuchen.
Details
Originalbeschreibung des Autors
Audit the health of a PostHog project's data warehouse sources and syncs — find every broken or degraded source connection, sync schema, and webhook channel. Use when the user asks "why are my imports failing?", "what's broken with my sources?", "why is my warehouse data stale?", or wants a one-shot triage of source/sync health before deciding where to dig in. Produces a prioritized report grouped by severity, with recommended next steps. For materialized-view health use `auditing-warehouse-view-health`; for a single failing sync use `diagnosing-failed-warehouse-syncs`.
repo: PostHog/posthog
Beliebtheit
- GitHub-Sterne
- 41k
- Platz im Ranking
- #6966
- Lizenz
- —
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
depot-ci
41kBringt deinem Agenten bei, Depot-CI-Workflows einzurichten, bestehende Workflows zu migrieren und Laufprotokolle auszuwerten.
depot-container-builds
41kHilft deinem Agenten, Docker-Images auf Depot-Remote-Buildern zu bauen, mit Multi-Plattform-Images, Registry-Push und Fehlerbehebung.
depot-github-runners
41kLässt deinen Agenten GitHub-Actions-Jobs auf Depot-Runnern laufen, mit passender Runner-Größe und Labels, und hilft bei Einrichtungsfehlern.
editing-agents-md
41kHilft deinem Agenten zu entscheiden, ob eine Regel in AGENTS.md oder CLAUDE.md gehört, und sie so zu formulieren, dass sie hält.
Ähnliche Skills
discrawl
394kLässt deinen Agenten ein gespeichertes lokales Archiv von Discord-Nachrichten durchsuchen und zusammenfassen, dessen Aktualität prüfen und Direktnachrichten lesen.
clickhouse-io
280kHilft deinem Agenten, Abfragen und Schemas in ClickHouse zu optimieren. Nutzt Best Practices für schnelle Analyse-Workloads. Ideal, wenn Auswertungen zu langsam laufen.
scientific-db-pubmed-database
280kHilft deinem Agenten, wissenschaftliche Artikel im biomedizinischen Bereich zu suchen. Nützlich für Recherchen mit speziellen medizinischen Informationen.