adding-warehouse-person-properties
Qué hace
Esta skill asigna columnas de una tabla del almacén sincronizada a propiedades de persona o de grupo en PostHog. Está pensada para equipos que guardan datos de clientes en un almacén y quieren usarlos para segmentar e analizar en PostHog.
Cuándo usarla
- ✓Cuando quieres añadir el nivel de plan o los ingresos de tus tablas de facturación a tus personas.
- ✓Cuando quieres dirigir un feature flag o una cohorte con datos que están en tu almacén.
- ✓Cuando los valores del almacén no aparecen en las personas y necesitas averiguar por qué.
Link de la skill
https://github.com/PostHog/posthog/blob/master/products/customer_analytics/skills/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Añade la columna de nivel de plan de mi tabla de Stripe a cada persona de PostHog para poder dirigirme a ellas con feature flags.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Eliges la tabla de origen, la columna de ID que coincide y las columnas que quieres copiar. Después PostHog escribe esas columnas como propiedades normales de persona o de grupo, que funcionan como cualquier otra propiedad.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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 |
Preguntas frecuentes
¿Necesito tener antes conectada una fuente del almacén?
Sí. La fuente debe existir ya y estar sincronizándose. Conectarla es un paso aparte.
¿Dónde puedo usar estas propiedades?
En cualquier lugar donde funcionen las propiedades de persona y de grupo, como feature flags, cohortes, insights, encuestas y flujos de trabajo.
¿Se actualizan los valores automáticamente?
Se actualizan según el calendario con el que se sincroniza la tabla de origen.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 41 mil
- Posición en el ranking
- #6844
- Licencia
- —
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
depot-ci
41 milAyuda a tu agente a configurar y ejecutar flujos de Depot CI, una alternativa a GitHub Actions, y a leer los registros de ejecución.
depot-container-builds
41 milAyuda a tu agente a crear imágenes de Docker en los constructores remotos de Depot, incluidas las multiplataforma, y a corregir fallos.
depot-github-runners
41 milAyuda a tu agente a pasar los trabajos de GitHub Actions a runners gestionados por Depot, elegir su tamaño y etiquetas y resolver problemas de configuración.
editing-agents-md
41 milAyuda a tu agente a decidir si una regla debe ir en un archivo AGENTS.md o CLAUDE.md, y a escribirla para que se cumpla sin sobrecargar el archivo.
Skills parecidas
discrawl
394 milPermite que tu agente busque y resuma un archivo local guardado de mensajes de Discord, revise qué tan actual es y lea mensajes directos.
clickhouse-io
280 milAyuda a tu agente a optimizar consultas y esquemas en ClickHouse con buenas prácticas para cargas analíticas de alto rendimiento. Úsalo si las consultas son muy lentas.
scientific-db-pubmed-database
280 milAyuda a tu agente a buscar artículos científicos del ámbito biomédico. Es útil para investigaciones que necesitan información médica específica.