signals-scout-data-warehouse
하는 일
이 스카우트는 데이터베이스, 청구, CRM 동기화 같은 외부 데이터 가져오기가 여전히 일정대로 도착하는지 확인합니다. 대시보드에서 웨어하우스 테이블에 의존하는 팀을 위한 것입니다.
사용하는 경우
- ✓데이터 가져오기가 실패하거나 멈춰서 대시보드 뒤의 테이블이 업데이트되지 않을 때.
- ✓동기화가 자주 실행되도록 설정되어 있는데 오랫동안 새로 고쳐지지 않았을 때.
- ✓쿼리가 같은 데이터에서 자주 실행되어 구체화된 뷰로 저장할 가치가 있을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-data-warehouse/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 모든 데이터 가져오기가 여전히 제시간에 동기화되고 있나요, 아니면 오래된 테이블이 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
각 활성 가져오기의 상태와 마지막 동기화 시간을 설정한 빈도와 비교합니다. 또한 자주 실행되는 쿼리를 보고, 더 빠른 결과를 위해 저장할 가치가 있는 것을 제안합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
오래된 가져오기란 무엇인가요?
테이블이 설정한 빈도 안에 새로 고쳐지지 않았다는 뜻이므로, 대시보드 뒤의 데이터가 오래되었습니다.
일부러 일시 중지한 가져오기도 보고하나요?
아니요. 일시 중지된 가져오기와 청구 한도는 문제가 아니라 선택으로 취급합니다.
구체화 후보란 무엇인가요?
같은 데이터에서 자주 실행되는 쿼리이며, 구체화된 뷰로 저장하면 더 빠를 수 있습니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 41k
- 순위
- #6926
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
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생의학 분야의 과학 논문을 에이전트가 검색하도록 돕습니다. 특정 의학 정보가 필요한 연구에 유용합니다.