‹ 首页

causal-query-classifier

@clamp-sh · 收录于 1 周前

Pearl's three-rung causal hierarchy as a query classifier. Tags every analytics question as rung-1 (association, P(Y|X)), rung-2 (intervention, P(Y|do(X))), or rung-3 (counterfactual, P(Y_x|Y',X')) before answering. Refuses to escalate a rung-1 observational finding into a rung-2 ship/kill recommendation without naming an identification strategy (back-door, instrumental variable, DiD, RDD, synthetic control). Use this skill whenever interpreting an analytics question that asks why or what-if, to classify it on Pearl's causal hierarchy before answering. Pairs with analytics-diagnostic-method. Triggers when Clamp MCP returns a comparison or trend that the user is about to act on, so the agent labels the claim's rung explicitly instead of laundering correlation into causation. Works with any observational source; Clamp MCP is the canonical integration via traffic.compare, funnels.list, and cohorts.compare.

适合你,如果常需区分相关性与因果性,避免误把关联当因果。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add clamp-sh/analytics-skills/causal-query-classifier
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- clamp-sh/analytics-skills/causal-query-classifier
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify clamp-sh/analytics-skills/causal-query-classifier
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
6GitHub stars
~4.1K上下文体积 · 单文件
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。