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.
安装
npx skills add PostHog/ai-plugin --skill modeling-warehouse-foundationsnpx skills add PostHog/ai-plugin --skill modeling-warehouse-foundations -a claude-code -gnpx skills add PostHog/ai-plugin --skill modeling-warehouse-foundations -a codex -ggemini skills install https://github.com/PostHog/ai-plugin.git --path skills/modeling-warehouse-foundationsgh skill install PostHog/ai-plugin modeling-warehouse-foundationsgit clone --depth 1 https://github.com/PostHog/ai-plugin /tmp/PostHog__ai-plugin
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/PostHog__ai-plugin/skills/modeling-warehouse-foundations ~/.claude/skills/modeling-warehouse-foundations # Claude Code
cp -R /tmp/PostHog__ai-plugin/skills/modeling-warehouse-foundations ~/.agents/skills/modeling-warehouse-foundations # Codex, Cursor, Gemini CLI, Copilot, OpenCode