用途:该技能通过原生 MCP 工具 posthog__<tool-name> 直接访问 PostHog 数据,用于回答具体的数据问题,涵盖事件目录、查询配方、仪表盘、漏斗与实验。
主要能力:可查询事件定义与属性(posthog__event-definitions-list、posthog__properties-list、posthog__entity-search);用自然语言生成 HogQL 查询(posthog__query-generate-hogql-from-question),适用于多属性拆分、按 organizationId 的账户级聚合、$initial_* 归因分析和事件间隔计算;读取已保存洞察(posthog__insights-get-all、posthog__insight-get、posthog__insight-query)、仪表盘(posthog__dashboards-get-all、posthog__dashboard-get)、实验与功能开关(posthog__experiment-get-all、posthog__experiment-results-get、posthog__feature-flag-get-all、posthog__feature-flag-get-definition)、错误(posthog__list-errors、posthog__error-details)和问卷(posthog__surveys-get-all、posthog__survey-stats)。
使用方式:参数放在 JSON 对象中。项目包括 app(主产品分析,默认)、landing、documentation,通过 posthog__switch-project projectId=[YOUR_APP_PROJECT_ID] 等切换。资料给出 CEO 早报、每周 CEO 看板与产品健康的查询配方示例。
适用场景:按漏斗阶段、用户旅程里程碑、组织维度、归因来源等做分析。
限制:资料中的项目 ID 为占位符,需替换为实际值;部分事件属性未提供;未说明计费、权限与平台支持信息。