setting-up-warehouse-properties
하는 일
이 스킬은 전체 웨어하우스 테이블이나 뷰를 테이블이 이미 동기화되는 일정에 따라 PostHog의 사람이나 그룹에 매핑합니다. 지금 사용자 데이터를 PostHog로 보내는 스크립트를 실행하는 팀을 위한 것입니다.
사용하는 경우
- ✓사용자 특성을 PostHog로 보내는 매일 스크립트가 있고, PostHog가 대신 가져오기를 원할 때.
- ✓고객 속성이 담긴 넓은 테이블을 한 번에 사람 속성으로 매핑하고 싶을 때.
- ✓웨어하우스 속성 영역에 있고 전체 테이블 매핑을 설정하고 싶을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/customer_analytics/skills/setting-up-warehouse-properties/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“고객 속성 테이블을 사람 속성으로 매핑해서 PostHog의 매일 identify 스크립트를 대체해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 어떤 열이 속성이 되고 이름이 무엇인지 고른 뒤, 전체 매핑을 한 번의 요청으로 저장합니다. 그 후 PostHog는 동기화될 때마다 테이블에서 사람들을 업데이트합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Setting up warehouse properties
Warehouse properties write columns from a warehouse table or materialized view onto matching people or groups,
on the schedule that table already syncs on. They replace a cron that sends $set identify events.
The mapping is the whole job. Most tables worth mapping are wide, so the work is deciding which columns become
properties and what they are called — not making many API calls. One source carries the entire mapping:
custom-property-sources-create takes the complete column_property_map in a single request, so never loop
per column.
When to use this skill
- "Sync my
postgres.customer_attributescolumns to person properties" - "We send a daily identify job from our warehouse, can PostHog pull it instead?"
- "Map this table to people" / "reverse ETL into PostHog"
- The user is looking at Data → Warehouse properties and wants a whole table mapped
Use setting-up-a-data-warehouse-source instead when the table is not in the warehouse yet. This skill starts
once the data is syncing.
Tools
| Tool | Purpose |
|---|---|
external-data-schemas-list |
Find a synced table and its schema id (the external_data_schema binding); columns are omitted here |
external-data-schemas-retrieve |
Read one synced table's columns and types by schema id |
view-list |
Find a materialized view and its column schema (the saved_query binding) |
view-get |
Read one materialized view's columns and types by id |
custom-property-definitions-list |
See what warehouse properties already exist for the team |
custom-property-definitions-create |
Create the definition the source attaches to (target_type: person or group) |
custom-property-sources-create |
Bind the definition to the table, carrying the whole column_property_map |
custom-property-sources-backfill |
Populate historical rows after creating the mapping |
custom-property-sources-runs-list |
Check the run funnel after a sync or backfill |
custom-property-sources-sync |
Run the underlying table now |
Person and group targets need the warehouse-person-properties feature. A group target additionally needs the
group:write scope; without it, custom-property-sources-create refuses the group definition.
The flow
1. Find the table and its columns
For a synced table, external-data-schemas-list gives you the schema id (the external_data_schema binding), and
external-data-schemas-retrieve returns that schema's columns and types.
For a materialized view, view-list finds the view and its column schema, and view-get returns one view's columns
by id; a view binds by saved_query instead, and must already be materialized, since an unmaterialized view has no
data to read and the create call rejects it.
2. Pick the identifier column, and say why it matters
Ask which column holds the PostHog distinct ID (person targets) or the group key (group targets). This is
the single most common reason a mapping silently does nothing, so do not guess it from a name like id or
user_id without confirming.
Two properties of the sync are worth stating plainly before the user commits:
- It only updates people or groups that already exist in PostHog. Rows that match nobody are skipped, and
the run reports them as
skipped_missing_person. It does not create people. - Null values are skipped, not written. A column that is null for a row leaves that property as it was. If the user expects a null to clear a property, warehouse properties will not do it.
3. Propose the mapping before creating anything
Build the full column_property_map — {warehouse_column: property_name} — and show it to the user for
approval. Default to **the same name on both side
자주 묻는 질문
열마다 따로 설정해야 하나요?
아니요. 전체 열 매핑이 한 번의 요청으로 저장됩니다.
테이블이 이미 웨어하우스에 있어야 하나요?
네. 테이블이 이미 동기화 중이어야 합니다. 연결은 별도의 설정 단계입니다.
사람은 행과 어떻게 맞춰지나요?
각 행은 고유한 ID나 그룹 키 열로 사람이나 그룹과 맞아야 합니다.
상세 정보
작성자의 원본 설명
Populate person or group properties from a data warehouse table or materialized view, so warehouse columns become properties usable in feature flags, cohorts, and insights. Use when the user wants to "sync my Postgres columns to person properties", "map a warehouse table to people", "replace our daily identify cron", "update person properties from the warehouse", or asks for reverse ETL into PostHog. Covers picking the table and the identifier column, proposing a whole-table column mapping in one call, excluding identity and reserved properties, checking collisions with properties that already
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6845
- 라이선스
- —
- 업데이트
- 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생의학 분야의 과학 논문을 에이전트가 검색하도록 돕습니다. 특정 의학 정보가 필요한 연구에 유용합니다.