causal-query-classifier
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 oh-my-skill add clamp-sh/analytics-skills/causal-query-classifiercurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- clamp-sh/analytics-skills/causal-query-classifiernpx oh-my-skill verify clamp-sh/analytics-skills/causal-query-classifier