adding-warehouse-person-properties
Was er macht
Dieser Skill ordnet Spalten aus einer synchronisierten Warehouse-Tabelle Personen- oder Gruppeneigenschaften in PostHog zu. Er richtet sich an Teams, die Kundendaten im Warehouse pflegen und sie für Zielgruppen und Insights in PostHog nutzen wollen.
Wann du ihn nutzt
- ✓Wenn du eine Tarifstufe oder einen Umsatz aus deinen Abrechnungstabellen zu deinen Personen hinzufügen willst.
- ✓Wenn du ein Feature-Flag oder eine Kohorte mit Daten aus deinem Warehouse gezielt ausrichten willst.
- ✓Wenn Warehouse-Werte bei Personen nicht erscheinen und du die Ursache finden musst.
Link zum Skill
https://github.com/PostHog/posthog/blob/master/products/customer_analytics/skills/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
“Füge die Spalte Tarifstufe aus meiner Stripe-Tabelle jeder Person in PostHog hinzu, damit ich sie mit Feature-Flags gezielt ansprechen kann.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Du wählst die Quelltabelle, die passende ID-Spalte und die Spalten, die kopiert werden sollen. PostHog schreibt diese Spalten dann als normale Personen- oder Gruppeneigenschaften, die wie jede andere Eigenschaft funktionieren.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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 |
Häufige Fragen
Muss vorher eine Warehouse-Quelle verbunden sein?
Ja. Die Quelle muss bereits existieren und synchronisiert werden. Das Verbinden ist ein separater Schritt.
Wo kann ich diese Eigenschaften nutzen?
Überall, wo Personen- und Gruppeneigenschaften funktionieren, etwa bei Feature-Flags, Kohorten, Insights, Umfragen und Workflows.
Aktualisieren sich die Werte automatisch?
Sie aktualisieren sich nach dem Zeitplan, nach dem die Quelltabelle synchronisiert wird.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 41k
- Platz im Ranking
- #6844
- 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.