hypotheticals-counterfactuals

Use counterfactual ('what if') reasoning to explore alternative scenarios, test hypotheses, understand causal relations, and prepare for uncertainty. Guides counterfactual reasoning, scenario exploration, premortem analysis, and stress-testing decisions for possible futures. Suitable for exploring alternatives, testing assumptions with 'what if' questions, conducting premortems, or challenging prevailing assumptions.

Last repository push
GitHub Stars
206
Forks
28
Issues / PRs
3

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "hypotheticals-counterfactuals" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4ce5633ee903804782c6e59d191c38a70ebc3873adfca94e1d378fd6022a2ed3. Verify the upstream source and version against https://github.com/lyndonkl/claude before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use counterfactual ('what if') reasoning to explore alternative scenarios, test hypotheses, understand causal relations, and prepare for uncertainty. Guides counterfactual reasoning, scenario exploration, premortem analysis, and stress-testing decisions for possible futures. Suitable for exploring alternatives, testing assumptions with 'what if' questions, conducting premortems, or challenging prevailing assumptions.

0 Downloads

Introduction source: third_party · lyndonkl · 0.0.1 Reference

SkillPi interpretation

Tasks
Applies "what if" thinking to explore alternative scenarios, test assumptions, understand causal relationships, and prepare for uncertainty. Guides through counterfactual reasoning, scenario exploration, pre-mortem analysis, and stress testing decisions against alternative futures. Use when exploring alternative scenarios, testing assumptions through "what if" questions, understanding causal relationships, conducting pre-mortem analysis, stress testing decisions, or when user mentions counterfactuals, hypothetical scenarios, thought experiments, alternative futures, what-if analysis, or needs to challenge assumptions.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: hypotheticals-counterfactuals
description: Applies "what if" thinking to explore alternative scenarios, test assumptions, understand causal relationships, and prepare for uncertainty. Guides through counterfactual reasoning, scenario exploration, pre-mortem analysis, and stress testing decisions against alternative futures. Use when exploring alternative scenarios, testing assumptions through "what if" questions, understanding causal relationships, conducting pre-mortem analysis, stress testing decisions, or when user mentions counterfactuals, hypothetical scenarios, thought experiments, alternative futures, what-if analysis, or needs to challenge assumptions.

Hypotheticals and Counterfactuals

Table of Contents

Workflow

Copy this checklist and track your progress:

Hypotheticals & Counterfactuals Progress:
- [ ] Step 1: Define the focal question
- [ ] Step 2: Generate counterfactuals or scenarios
- [ ] Step 3: Develop each scenario
- [ ] Step 4: Identify implications and insights
- [ ] Step 5: Extract actions or decisions
- [ ] Step 6: Monitor and update

Step 1: Define the focal question

What are you exploring? Past decision (counterfactual)? Future possibility (hypothetical)? Assumption to test? See resources/template.md.

Step 2: Generate counterfactuals or scenarios

Counterfactual: Change one key factor, ask "what would have happened?" Hypothetical: Imagine future scenarios (2-4 plausible alternatives). See resources/template.md and resources/methodology.md.

Step 3: Develop each scenario

Describe what's different, trace implications, identify key assumptions. Make it vivid and concrete. See resources/template.md and resources/methodology.md.

Step 4: Identify implications and insights

What does each scenario teach? What assumptions are tested? What risks revealed? See resources/methodology.md.

Step 5: Extract actions or decisions

What should we do differently based on these scenarios? Hedge against downside? Prepare for upside? See resources/template.md.

Step 6: Monitor and update

Track which scenario is unfolding. Update plans as reality diverges from expectations. See resources/methodology.md.

Validate using resources/evaluators/rubric_hypotheticals_counterfactuals.json. Minimum standard: Average score ≥ 3.5.

Common Patterns

Pattern 1: Pre-Mortem (Prospective Hindsight)

  • Format: Imagine it's future date, project failed. List reasons why.
  • Best for: Project planning, risk identification before launch
  • Process: (1) Set future date, (2) Assume failure, (3) List causes, (4) Prioritize top 3-5 risks, (5) Mitigate now
  • When: Before major launch, strategic decision, resource commitment
  • Output: Risk list with mitigations

Pattern 2: Counterfactual Causal Analysis

  • Format: "What would have happened if we had done X instead of Y?"
  • Best for: Learning from past decisions, understanding what mattered
  • Process: (1) Identify decision, (2) Imagine alternative, (3) Trace different outcome, (4) Identify causal factor
  • When: Post-mortem, retrospective, learning from success/failure
  • Output: Causal insight (X caused Y because...)

Pattern 3: Three Scenarios (Optimistic, Baseline, Pessimistic)

  • Format: Describe best case, expected case, worst case futures
  • Best for: Strategic planning, forecasting, resource allocation
  • Process: (1) Define time horizon, (2) Describe three futures, (3) Assign probabilities, (4) Plan for each
  • When: Annual planning, market uncertainty, investment decisions
  • Output: Three detailed scenarios with implications

Pattern 4: 2×2 Scenario Matrix

  • Format: Two key uncertainties create four quadrants (scenarios)
  • Best for: Exploring interaction of two critical unknowns
  • Process: (1) Identify two key uncertainties, (2) Define extremes, (3) Develop four scenarios, (4) Name each world
  • When: Strategic planning with multiple drivers of uncertainty
  • Output: Four distinct future worlds with narratives

Pattern 5: Assumption Reversal

  • Format: "What if our key assumption is backwards?"
  • Best for: Challenging mental models, unlocking innovation
  • Process: (1) List key assumptions, (2) Reverse each, (3) Explore implications, (4) Identify if reversal plausible
  • When: Stuck in conventional thinking, need breakthrough
  • Output: New perspectives, potential pivots

Pattern 6: Stress Test (Extreme Scenarios)

  • Format: Push key variables to extremes, test if decision holds
  • Best for: Risk management, decision robustness testing
  • Process: (1) Identify decision, (2) List key variables, (3) Set to extremes, (4) Check if decision still valid
  • When: High-stakes decisions, need to ensure resilience
  • Output: Decision validation or hedges needed

Guardrails

Key requirements:

  1. Plausibility constraint: Scenarios must be possible, not just imaginable. "What if gravity reversed?" is not useful counterfactual. Stay within bounds of plausibility given current knowledge.

  2. Minimal rewrite principle (counterfactuals): Change as little as possible. "What if we had chosen Y instead of X?" not "What if we had chosen Y and market doubled and competitor failed?" Isolate causal factor.

  3. Avoid hindsight bias: Pre-mortem assumes failure, but don't just list things that went wrong in similar past failures. Generate new failure modes specific to this context.

  4. Specify mechanism: Don't just state outcome ("sales would be higher"), explain HOW ("sales would be higher because lower price → higher conversion → more customers despite lower margin").

  5. Assign probabilities (scenarios): Don't treat all scenarios as equally likely. Estimate rough probabilities (e.g., 60% baseline, 25% pessimistic, 15% optimistic). Avoids equal-weight fallacy.

  6. Time horizon clarity: Specify WHEN in future. "Product fails" is vague. "In 6 months, adoption <1000 users" is concrete. Enables tracking.

  7. Extract actions, not just stories: Scenarios are useless without implications. Always end with "so what should we do?" Prepare, hedge, pivot, or double-down.

  8. Update scenarios: Reality evolves. Quarterly review: which scenario is unfolding? Update probabilities and plans accordingly.

Common pitfalls:

  • ❌ Confusing counterfactual with fantasy: "What if we had $100M funding from start?" vs. realistic "What if we had raised $2M seed instead of $1M?"
  • ❌ Too many scenarios: 10 scenarios = analysis paralysis. Stick to 2-4 meaningful, distinct futures.
  • ❌ Scenarios too similar: Three scenarios that differ only in magnitude (10% growth, 15% growth, 20% growth). Need qualitatively different worlds.
  • ❌ No causal mechanism: "Sales would be 2× higher" without explaining why. Must specify how change leads to outcome.
  • ❌ Hindsight bias in pre-mortem: Just listing past failures. Need to imagine new, context-specific risks.
  • ❌ Ignoring low-probability, high-impact: "Black swan won't happen" until it does. Include tail risks.

Quick Reference

Counterfactual vs. Hypothetical:

Type Direction Question Purpose Example
Counterfactual Backward (past) "What would have happened if...?" Understand causality, learn from past "What if we had launched in EU first?"
Hypothetical Forward (future) "What could happen if...?" Explore futures, prepare for uncertainty "What if competitor launches free tier?"

Scenario types:

Type # Scenarios Structure Best For
Three scenarios 3 Optimistic, Baseline, Pessimistic General forecasting, strategic planning
2×2 matrix 4 Two uncertainties create quadrants Exploring interaction of two drivers
Cone of uncertainty Continuous Range widens over time Long-term planning (5-10 years)
Pre-mortem 1 Imagine failure, list causes Risk identification before launch
Stress test 2-4 Extreme scenarios (best/worst) Decision robustness testing

Pre-mortem process (6 steps):

  1. Set future date: "It's 6 months from now..."
  2. Assume failure: "...the project has failed completely."
  3. Individual brainstorm: Each person writes 3-5 reasons (5 min, silent)
  4. Share and consolidate: Round-robin sharing, group similar items
  5. Vote on top risks: Dot voting or force-rank top 5 causes
  6. Mitigate now: For each top risk, assign owner and mitigation action

2×2 Scenario Matrix (example):

Uncertainties: (1) Market adoption rate, (2) Regulatory environment

Slow Adoption Fast Adoption
Strict Regulation "Constrained Growth" "Regulated Scale"
Loose Regulation "Patient Build" "Wild West Growth"

Assumption reversal questions:

  • "What if our biggest advantage is actually a liability?"
  • "What if the problem we're solving isn't the real problem?"
  • "What if our target customer is wrong?"
  • "What if cheaper/slower is better than premium/fast?"
  • "What if we're too early/too late, not right on time?"

Inputs required:

  • Focal decision or event: What are you analyzing?
  • Key uncertainties: What factors most shape outcomes?
  • Time horizon: How far into future/past?
  • Constraints: What must remain fixed vs. what can vary?
  • Stakeholders: Who should contribute scenarios?

Outputs produced:

  • counterfactual-analysis.md: Alternative history analysis with causal insights
  • pre-mortem-risks.md: List of potential failure modes and mitigations
  • scenarios.md: 2-4 future scenarios with narratives and implications
  • action-plan.md: Decisions and preparations based on scenario insights

Version history

  1. 0.1 GitHub ↗
    Original release notes

    ## What's Changed * Improve writer skill navigation and structure by @lyndonkl in https://github.com/lyndonkl/claude/pull/1 * Consolidate stickiness content and reduce revision to 3 passes by @lyndonkl in https://github.com/lyndonkl/claude/pull/2 * Update README.md to reflect current writer skill structure by @lyndonkl in https://github.com/lyndonkl/claude/pull/3 * Add explicit instructions for AI agents to follow resource file workf… by @lyndonkl in https://github.com/lyndonkl/claude/pull/4 * Change analysis files from /tmp/ to project directory by @lyndonkl in https://github.com/lyndonkl/claude/pull/5 * Add five refined skills to production by @lyndonkl in https://github.com/lyndonkl/claude/pull/6 * Add causal-inference-root-cause skill and fix missing methodology files by @lyndonkl in https://github.com/lyndonkl/claude/pull/7 * Add workflow pattern to 6 completed skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/8 * Add chain-estimation and roleplay-debate skills with optimizations by @lyndonkl in https://github.com/lyndonkl/claude/pull/9 * Add 3 new skills and update writer skill workflow pattern by @lyndonkl in https://github.com/lyndonkl/claude/pull/10 * Add skills #12-13: constraint-based-creativity and data-schema-knowle… by @lyndonkl in https://github.com/lyndonkl/claude/pull/11 * Add skills #14-16: decision-matrix, decomposition-reconstruction, deliberation-debate-red-teaming by @lyndonkl in https://github.com/lyndonkl/claude/pull/12 * Add skills #17-19: design-of-experiments, dialectical-mapping-steelmanning, discovery-interviews-surveys by @lyndonkl in https://github.com/lyndonkl/claude/pull/13 * Add chef-assistant skill and update README by @lyndonkl in https://github.com/lyndonkl/claude/pull/14 * Fix README: Remove links to gitignored scratchpad files by @lyndonkl in https://github.com/lyndonkl/claude/pull/15 * Add skills #14-22: 9 new production-ready skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/16 * Add skills #20-24 and workflow pattern updates by @lyndonkl in https://github.com/lyndonkl/claude/pull/17 * Add skill #25: expected-value by @lyndonkl in https://github.com/lyndonkl/claude/pull/18 * Add skills #26-28: facilitation-patterns, financial-unit-economics, focus-timeboxing-8020 by @lyndonkl in https://github.com/lyndonkl/claude/pull/19 * Add skills #29-30: heuristics-and-checklists, hypotheticals-counterfactuals by @lyndonkl in https://github.com/lyndonkl/claude/pull/20 * Add skills #31-33: information-architecture, kill-criteria-exit-ramps, layered-reasoning by @lyndonkl in https://github.com/lyndonkl/claude/pull/21 * Add Claude Code plugin support by @lyndonkl in https://github.com/lyndonkl/claude/pull/22 * Fix plugin marketplace source path by @lyndonkl in https://github.com/lyndonkl/claude/pull/23 * Add skill #34: mapping-visualization-scaffolds by @lyndonkl in https://github.com/lyndonkl/claude/pull/24 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/25 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/26 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/27 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/28 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/29 * Add skill #59: skill-extraction by @lyndonkl in https://github.com/lyndonkl/claude/pull/30 * Add skill-creator: Transform documents into actionable skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/31 * Update skill count from 58 to 61 in README by @lyndonkl in https://github.com/lyndonkl/claude/pull/32 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/33 * Add d3-visualization skill: comprehensive D3.js implementation guide by @lyndonkl in https://github.com/lyndonkl/claude/pull/34 * Add comprehensive Superforecasting Toolkit with 4 skills and orchestr… by @lyndonkl in https://github.com/lyndonkl/claude/pull/35 * Add "Run in Smithery" badge by @gurdasnijor in https://github.com/lyndonkl/claude/pull/36 * Add Scientific Writing Toolkit with 6 skills and orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/37 * Improve skill invocation rules and update README by @lyndonkl in https://github.com/lyndonkl/claude/pull/38 * Add Geometric Deep Learning skill suite and orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/39 * Decompose writer skill into 4 focused skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/40 * Add GraphRAG skill suite with 5 skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/41 * Decompose cognitive-design skill into 3 focused skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/42 ## New Contributors * @lyndonkl made their first contribution in https://github.com/lyndonkl/claude/pull/1 * @gurdasnijor made their first contribution in https://github.com/lyndonkl/claude/pull/36 **Full Changelog**: https://github.com/lyndonkl/claude/commits/0.1

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供反事实推理、情景探索、事前剖析分析等多种实用方法论
  • 适用于战略决策、风险管理、项目规划等多个高频场景
  • 包含具体模式如Pre-Mortem、2×2 Scenario Matrix等可直接应用
Trigger Precision90/100

Highlights

  • 触发词精准完整,覆盖多种变体
  • 边界清晰,不易与其他Skill重叠
Structure and Standards85/100

Highlights

  • Phase/步骤清晰,有出口条件
  • 含端到端示例,frontmatter完整
  • 单文件≤500行,结构良好
Execution Reliability80/100

Highlights

  • 工具来源明确,参数正确
  • 覆盖主要异常,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.