posthog/skills/modeling-warehouse-foundations
Shared foundations for building reusable data models in PostHog, on either of two stacks: PostHog-native data-warehouse views / materialized views (HogQL, via the view-* MCP tools), or an external dbt project (sources.yml + staging/marts + schema tests) run against your own or PostHog's managed warehouse. Read before authoring any specific business model — covers the PostHog-vs-dbt decision, the view-create → view-materialize → sync_frequency workflow and the HogQL column-aliasing rule, the dbt
Agent skill · version 0.0.0-main.1795264312.gdd94c6e · from PostHog/skills
Install
npx yarkr-cli add skill:posthog/skills/modeling-warehouse-foundationsWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:posthog/skills/modeling-warehouse-foundations
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:posthog/skills/modeling-warehouse-foundationsOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:posthog/skills/modeling-warehouse-foundationsWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.