OpenParable
Skip to content
← Back to skills

Counterfactual Probing

Research
counterfactual-probing

Counterfactual Probing 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.

Campaign: Counterfactual reasoning to identify load-bearing factors. Core question: If key factors were different, would the conclusion still hold? Methods: Pearl SCM Three-Step, Lewis Possible Worlds, Tetlock & Belkin, PNS/PS.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/counterfactual-probing/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/counterfactual-probing, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Counterfactual Probing Campaign

Core question: If key factors were different, would the conclusion still hold?

Methodology Sources

  • Pearl (2000) — Structural Causal Models, Three-Step counterfactual procedure
  • Lewis (1973) — Possible Worlds semantics for counterfactuals
  • Tetlock & Belkin (1996) — Counterfactual thought experiments in world politics
  • Fearon (1991) — Counterfactuals and hypothesis testing in political science
  • Williamson (2007) — The Philosophy of Philosophy, thought experiment methodology

Strategy Routing

Artifact TypePrimary StrategyFallback Strategy
hypothesis, claimstructural-counterfactualnecessity-sufficiency
research-questionthought-experimentclosest-worlds
idea, approachfactor-removalclosest-worlds
experiment-designnecessity-sufficiencystructural-counterfactual
gapclosest-worldsfactor-removal

Budget Table

ParameterS (Quick)M (Standard)L (Deep)
Factors examined51020
Counterfactual scenarios3815
Necessity tests3612
Flip-point search depth248

Tactics

  • systematic-factor-ablation — Remove factors one at a time, observe conclusion stability
  • minimal-change-search — Find smallest change that flips the conclusion
  • causal-necessity-testing — Evaluate necessity and sufficiency of each causal claim

Context Management

Each subagent operates in isolated context. Factor enumeration precedes all counterfactual reasoning. Scenarios are constructed with minimal deviation from actuality. Fragility measurements aggregate across all tested factors.

Output

Produces CounterfactualMap containing: load-bearing factors ranked by necessity, fragility index per factor, flip-points identified, robustness assessment, and recommended sensitivity analyses.

Available Strategies

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

StrategyWhen to use
closest-worldsStrategy: Lewis Possible Worlds — find the minimal change to reality that would flip the conclusion, measuring how close the nearest world where the conclusion fails.
factor-removalStrategy: Systematic factor removal — remove factors one at a time and observe whether the conclusion remains stable, identifying which factors are load-bearing.
necessity-sufficiencyStrategy: Probability of Necessity and Sufficiency (PNS/PS) — systematically evaluate whether each factor is necessary, sufficient, both, or neither for the conclusion.
structural-counterfactualStrategy: Pearl Three-Step counterfactual — Abduction (fit model to evidence), Action (intervene on factor), Prediction (derive counterfactual outcome).
thought-experimentStrategy: Williamson-style precise thought experiments — construct carefully specified counterfactual scenarios to test whether conclusions depend on contingent features.

Available Tactics

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

TacticWhen to use
causal-necessity-testingTactic: Extract causal claims, evaluate probability of necessity (PN) and sufficiency (PS) for each, classify into necessity-sufficiency quadrants.
minimal-change-searchTactic: Generate candidate changes, detect flip-points where conclusion reverses, measure fragility as distance to nearest flip.
systematic-factor-ablationTactic: List all factors, remove one at a time, assess conclusion stability, rank factors by load-bearing importance.

Available SOPs

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

SOPWhen to use
context-checkpointAppend research process and results to the current Phase's context file. Each append MUST contain >=500 lines of markdown covering both process and results. Use this skill at plan-designated checkpoint points — typically after each strategy completes or at key decision nodes within a research Phase.
context-initCreate a new context file for a research Phase. Called once at Phase start to initialize the file that subsequent context-checkpoint calls will append to. Use this skill whenever a new research Phase begins and a fresh context file is needed.
stress-test-saturation-detectionDetermines whether validation has reached saturation — no new weaknesses or failure modes being discovered. Used by all 5 campaigns as termination signal.
verdict-synthesisSynthesizes findings from a completed campaign into typed verdict reports. Produces DebateVerdict, RedTeamReport, FailureAnticipationReport, CounterfactualMap, or AdversarialStressReport depending on campaign. Also supports cross-campaign StressTestSummary.