Skip to content
Back to skills

Counterfactual Reasoning

ASecurity

Tactic for reasoning about what would happen if variables were different

  • 417 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 5, 2026
researchgo

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add yogsoth-ai/de-anthropocentric-research-engine --skill counterfactual-reasoning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Counterfactual Reasoning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Counterfactual Reasoning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yogsoth-ai-counterfactual-reasoning/badge)](https://www.skillsdirectory.com/skills/yogsoth-ai-counterfactual-reasoning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: counterfactual-reasoning
description: Tactic for reasoning about what would happen if variables were different
  — supports causal identification and intervention analysis.
execution: tactic
dependencies:
  sops:
  - causal-chain-query
  - confidence-scoring
  - contradiction-flagging
---

# 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) -->

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…