auditing-warehouse-source-health
Что он делает
Этот скилл дает агенту полную проверку источников данных, которые питают хранилище данных PostHog. Он нужен тем, кому нужен ясный список поломок до того, как разбираться с каждой из них.
Когда использовать
- ✓Когда вы спрашиваете, почему импорт данных сбоит или устарел.
- ✓Когда данные в хранилище выглядят устаревшими, и вы не знаете, какой источник виноват.
- ✓Когда вы хотите регулярно проверять состояние всех источников данных.
Ссылка на скилл
https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/auditing-warehouse-source-health/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Почему данные в моем хранилище устарели? Проверь все источники и скажи, что сломано.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент запускает проверку состояния всего проекта: источников, таблиц синхронизации и каналов вебхуков. Затем он группирует проблемы и ставит самые срочные наверх, чтобы вы знали, куда смотреть дальше.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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
Частые вопросы
Этот скилл исправляет сломанные импорты?
Нет. Он находит проблемы и ранжирует их, а отдельный скилл разбирает любой конкретный сбой.
Он проверяет и материализованные представления?
Их проверяет другой скилл аудита, хотя эта проверка может показать их, если они появятся.
А что насчет назначений и трансформаций?
Они относятся к другим командам, поэтому агент указывает на них и передает дальше, а не разбирает сам.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 41k
- Место в рейтинге
- #6966
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
depot-ci
41kПомогает агенту настроить и запускать workflow в Depot CI, альтернативе GitHub Actions, включая перенос существующих workflow и чтение логов запусков.
depot-container-builds
41kПомогает агенту собирать Docker-образы на удалённых сборщиках Depot, включая мультиплатформенные образы, отправку в реестры и исправление ошибок сборки.
depot-github-runners
41kПомогает агенту переносить задачи GitHub Actions на раннеры Depot: выбирать размер и метки раннера и устранять проблемы настройки.
editing-agents-md
41kПомогает агенту решить, нужно ли правило в файле AGENTS.md или CLAUDE.md, и записать его так, чтобы оно работало, не раздувая файл.
Похожие скиллы
discrawl
394kПозволяет агенту искать и кратко пересказывать сохраненный локальный архив сообщений Discord, проверять его свежесть и читать личные сообщения.
clickhouse-io
280kПомогает агенту оптимизировать запросы и схемы в ClickHouse по лучшим практикам аналитики. Используйте, когда аналитические запросы слишком медленные.
scientific-db-pubmed-database
280kПомогает агенту искать научные статьи в биомедицине. Полезен для исследований, где нужна точная медицинская информация.