adding-warehouse-person-properties
하는 일
이 스킬은 동기화된 웨어하우스 테이블의 열을 PostHog의 사람이나 그룹 속성에 매핑합니다. 고객 정보를 웨어하우스에 보관하고, 그것을 PostHog에서 타겟팅과 인사이트에 쓰고 싶은 팀을 위한 것입니다.
사용하는 경우
- ✓청구 테이블에서 요금제 등급이나 매출을 사람들에게 추가하고 싶을 때.
- ✓웨어하우스에 있는 데이터로 기능 플래그나 코호트를 타겟팅하고 싶을 때.
- ✓웨어하우스 값이 사람에게 나타나지 않아서 원인을 찾아야 할 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/customer_analytics/skills/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Stripe 테이블의 요금제 등급 열을 PostHog의 각 사람에게 추가해서, 기능 플래그로 타겟팅할 수 있게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
원본 테이블, 일치시킬 ID 열, 복사할 열을 고릅니다. 그러면 PostHog가 그 열을 일반 사람 또는 그룹 속성으로 기록하며, 다른 속성과 똑같이 작동합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Adding warehouse person and group properties
A warehouse property mapping reads a synced warehouse table and writes chosen columns onto people or groups.
Each row is matched to a person by a distinct ID column, or to a group by a group key column. The mapped
columns are then written as ordinary person properties ($set) or group properties ($groupidentify).
The result is not a separate kind of property. After the first sync the values behave like any other person or group property, so they work in feature flags, cohorts, insights, surveys, and replay filters. See references/where-they-can-be-used.md for the full surface list and the caveats that matter per surface.
In the UI this lives at Data > Warehouse properties, with a Persons tab and a Groups tab.
When to use this skill
- "Add plan tier from my Stripe table to my people"
- "I want to run a feature flag only for customers with ARR over 50k"
- "Sync my Postgres
accountstable onto organizations" - "Why isn't my warehouse property showing up on people?"
- "Backfill the warehouse property I just added"
Use a different skill when:
- The warehouse source does not exist yet. Connect it first with
setting-up-a-data-warehouse-source. - The user wants a Customer analytics account property. That target reads a materialized view, not a
synced table, and uses
saved_query+source_columninstead of the column map below. - The user only wants to query warehouse data. Join it in HogQL instead of writing properties onto people.
Prerequisites
Check these before you start. Each one produces a confusing failure later if it is missing.
| Requirement | Why | How it fails |
|---|---|---|
The warehouse-person-properties feature is enabled for the project |
Gates the whole feature | Definition create rejects a person or group target; sync and backfill return 400 |
| A synced warehouse table | Only tables imported by a data warehouse source carry the schema a source binds to | Views, saved queries, and materialized views cannot be used for person or group targets |
A column holding a real person distinct_id, or a real group key |
Rows are matched on this column | Runs complete with a high skipped_missing_person count and no properties change |
| The caller has warehouse source editor access | Mapping a table drives its billable source | Create is rejected even when the caller holds account:write |
For group targets: the groups paid feature, an existing group type, and group:read / group:write |
Group properties are keyed per group type | The Groups tab is hidden; group tools reject the call |
Tools
| Tool | Purpose |
|---|---|
external-data-schemas-list |
Find the table and its schema id. The schema id is what a source binds to |
query (HogQL) |
Inspect columns and sample the key column before you map anything |
custom-property-definitions-create |
Create the mapping's definition with target_type of person or group |
custom-property-sources-create |
Bind the definition to the warehouse table and column map |
custom-property-sources-list / -retrieve |
See sync status, schedule, and the latest run |
자주 묻는 질문
웨어하우스 소스를 먼저 연결해야 하나요?
네. 소스가 이미 있고 동기화 중이어야 합니다. 연결은 별도의 설정 단계입니다.
이 속성은 어디에서 쓸 수 있나요?
사람 및 그룹 속성이 작동하는 곳이라면 어디서든 씁니다. 예를 들어 기능 플래그, 코호트, 인사이트, 설문, 워크플로가 있습니다.
값은 자동으로 업데이트되나요?
원본 테이블이 동기화되는 일정에 따라 업데이트됩니다.
상세 정보
작성자의 원본 설명
Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties already work: feature flag targeting, cohorts, insight filters and breakdowns, surveys, session replay filters, workflows, and the person profile. Use when the user wants to "add a person property from my warehouse", "enrich people with Stripe/Postgres/Salesforce data", "put ARR or plan tier on my persons", "target a feature flag by a warehouse column", "sync warehouse columns onto groups or organizations", or wants to inspect, backfill,
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6844
- 라이선스
- —
- 업데이트
- 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생의학 분야의 과학 논문을 에이전트가 검색하도록 돕습니다. 특정 의학 정보가 필요한 연구에 유용합니다.