counterfactual-reasoning

Analyze counterfactual scenarios to assess legal causation across tort, contract, criminal, and administrative contexts.

Updated May 28, 2026
One-click install
npx skills add https://github.com/MaryHu-YR/Legal-Skills-Chinese-w-MCP --skill counterfactual-reasoning-maryhu-yr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: counterfactual-reasoning
Source: https://github.com/MaryHu-YR/Legal-Skills-Chinese-w-MCP/tree/main/skills/counterfactual-reasoning
Command: npx skills add https://github.com/MaryHu-YR/Legal-Skills-Chinese-w-MCP --skill counterfactual-reasoning-maryhu-yr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps legal practitioners determine whether a given outcome would occur if a key fact, action, or condition were different, enabling precise causation analysis and responsibility allocation.

Core Features & Use Cases

  • Build counterfactual worlds by altering the target variable while holding background conditions constant.
  • Analyze But-for and multi-cause causation, including probability-based outcomes (opportunity loss) in civil and criminal settings.
  • Produce traceable, step-by-step reasoning aligned with legal standards for causation.

Quick Start

Input a factual scenario, specify the target variable to alter, and run counterfactual analysis to determine the effect on the legal outcome.

Frequently Asked Questions about counterfactual-reasoning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze legal causation using counterfactual scenarios in tort and contract cases?

Counterfactual causation analysis works by constructing a hypothetical world where a specific action or condition is altered, then comparing the outcome to the actual events to determine if the result would differ. This applies across tort, contract, criminal, and administrative legal contexts.

What is the best way to assess multi-cause contribution in legal cases?

Assessing multi-cause contribution requires applying counterfactual reasoning to quantify each factor's individual impact on the outcome. By testing how altering each variable changes the probability of the result, you can allocate responsibility in complex civil and criminal settings.

Can I use counterfactual reasoning for probability-based outcomes like opportunity loss?

Counterfactual reasoning supports probability-based outcomes such as opportunity loss by evaluating how altering specific facts changes the likelihood of an event. This allows legal practitioners to quantify causal contributions in uncertain civil and criminal scenarios.

How do I conduct a but-for causation analysis step by step?

But-for causation analysis requires inputting a factual scenario, specifying the target variable to alter, and running a counterfactual comparison. The process generates traceable, step-by-step reasoning aligned with established legal standards to show whether the outcome would occur without the action.

Does counterfactual legal reasoning apply to administrative and criminal law contexts?

Counterfactual legal reasoning applies directly to administrative and criminal law contexts by evaluating how altering key facts changes the legal outcome. It quantifies each factor's contribution in multi-cause settings while maintaining alignment with statutory legal standards for causation assessment.

When should I not use counterfactual analysis for legal causation?

Counterfactual analysis may be unsuitable for legal causation when independent concurrent causes would each independently trigger the exact same outcome, making the but-for test fail to isolate responsibility, or when statutory law explicitly overrides common law causal assessment methods.