# Counterfactual Reasoning

> Counterfactual Reasoning is an Agent Skill for research published in the yogsoth-ai/de-anthropocentric-research-engine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Tactic for reasoning about what would happen if variables were different — supports causal identification and intervention analysis.

- Skill name: `counterfactual-reasoning`
- Category: [Research](https://www.openparable.com/skill/research/1)
- Source: https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/counterfactual-reasoning/SKILL.md
- Repository: yogsoth-ai/de-anthropocentric-research-engine (386 GitHub stars when collected)

## SKILL.md

# Counterfactual Reasoning

Reason about what would happen if a variable were different. "If X had not occurred, would Y still have happened?" This is the gold standard for causal identification.

## Available SOPs

- causal-chain-query — trace causal paths to identify dependencies
- contradiction-flagging — flag when counterfactual contradicts observed evidence
- confidence-scoring — assess confidence in counterfactual conclusions

## Guiding Principles

- **Minimal change.** Counterfactuals should change only the target variable, holding all else constant.
- **Mechanism required.** A counterfactual without a mechanism is speculation, not reasoning.
- **Multiple paths.** If Y can be caused by X through multiple paths, removing X may not remove Y.
- **Temporal ordering.** Causes precede effects. Counterfactuals that violate temporal order are invalid.

## Minimum Yield

<HARD-GATE>
≥1 counterfactual assessment with explicit mechanism and confidence score per invocation.
</HARD-GATE>

<!-- BEGIN available-tables (generated) -->

## Available SOPs

Optional, no fixed order; the final leaf is always a sop.

| SOP | When to use |
| --- | --- |
| causal-chain-query | SOP for tracing causal chains — follow edges from cause to effect through intermediate variables. |
| confidence-scoring | SOP for assigning calibrated confidence scores to causal claims based on evidence quality and quantity. |
| contradiction-flagging | SOP for flagging contradictions in the causal model — identify conflicting evidence or mechanism claims. |

<!-- END available-tables (generated) -->

---

Source: https://www.openparable.com/skill/research/counterfactual-reasoning (OpenParable). Cite the canonical URL above.
