Token导航 LogoToken导航TokenDH.com
研究检索权限需确认clawhub未标认证来源可访问clear审计通过

counterfactual-thinking反事实思维

Agent Skill

counterfactual-thinking 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,915

周安装

340

GitHub Stars

公开资料未说明

下载量

2,774
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:counterfactual-thinking(反事实思维)
来源仓库:https://github.com/wanikua/counterfactual-thinking
安装命令:
openclaw skills install counterfactual-thinking
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install counterfactual-thinking

简介

counterfactual-thinking应用反事实思维探索假设性替代历史场景。

  • 帮助用户分析过去决策并理解因果关系,提升决策质量。
  • 适合战略规划、风险分析和经验总结等场景。counterfactual-thinking 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 需要用户提供具体的决策背景和关键变量信息。
  • 建议结合真实数据进行分析以提高结论可靠性。

SKILL.md

name
counterfactual-thinking
description
Apply counterfactual thinking to explore "what if" alternative histories and understand causation. Use when the user needs to analyze past decisions, understand what truly caused an outcome, learn from mistakes without hindsight bias, or evaluate whether different choices would have led to better results.

Counterfactual Thinking

Counterfactual thinking asks "What if things had been different?" It constructs alternative histories — scenarios where a key variable changed — to understand causation, learn from the past, and make better decisions going forward. Used by historians (what if D-Day had failed?), safety engineers (accident root cause analysis), strategists (what if we'd entered the market earlier?), and psychologists (regret and learning). It separates what was necessary from what was contingent, revealing where interventions would have mattered most.


Analyze the current topic or situation under discussion using counterfactual thinking. Explore alternative histories to illuminate causation and extract lessons. Apply this framework to whatever the user is currently working on or asking about.


Step 1: Establish the Factual History

Before exploring alternatives, nail down what actually happened:

  • What was the sequence of events? Create a clear timeline.
  • What were the key decision points — moments where things could have gone differently?
  • What was the outcome — and is it clearly positive, negative, or mixed?
  • Who were the key actors and what were their motivations?
  • What were the conditions and constraints at the time?
  • What information was available vs. unavailable to decision-makers at each point?

Step 2: Identify Pivotal Moments

  • Which moments were genuinely pivotal — where a different choice would have led to a significantly different outcome?
  • Distinguish between:

- Necessary conditions: Without this, the outcome could not have occurred. - Sufficient conditions: This alone was enough to cause the outcome. - Contributing factors: These increased the probability but weren't strictly necessary. - Background conditions: These were present but didn't actively cause the outcome (like oxygen in a fire analysis).

  • Rank the pivotal moments by impact — which change would have altered the outcome most?

Step 3: Construct Counterfactual Scenarios

For the top 3-5 pivotal moments, construct detailed alternative histories:

Counterfactual 1: "What if [X had been different]?"

  • The change: What specifically is different? (Keep it minimal — change one thing at a time.)
  • Plausibility check: Could this alternative have reasonably occurred? Reject impossible counterfactuals.
  • Trace the cascade:

- Immediately after the change: what happens differently? - Short-term consequences (days/weeks) - Medium-term consequences (months) - Long-term consequences (years)

  • Second-order effects: How do other actors respond to this different path?
  • Best estimate of alternative outcome: Better, worse, or just different?
  • Confidence level: How confident are you in this counterfactual trajectory? (Nearer pivots are more predictable; further ones are speculative.)

*Repeat for Counterfactuals 2-5.*

Step 4: Upward vs. Downward Counterfactuals

Upward Counterfactuals ("It could have been better")

  • What changes would have led to a better outcome?
  • What was the best realistic alternative path?
  • What opportunities were missed?
  • What should have been done differently, given what was knowable at the time? (Avoid hindsight bias — only use information that was available.)

Downward Counterfactuals ("It could have been worse")

  • What changes would have led to a worse outcome?
  • How close did we come to disaster?
  • What lucky breaks occurred that we might not appreciate?
  • What safeguards or good decisions prevented worse outcomes?

This dual exercise prevents both complacency ("things went fine") and excessive regret ("we should have done everything differently").

Step 5: Causation Analysis

The counterfactuals reveal what actually caused the outcome:

  • Robust causes: Factors that appear in every counterfactual where the outcome changes. These are the true drivers.
  • Fragile causes: Factors that only mattered because of specific other conditions.
  • Overdetermined outcome: Was this outcome likely regardless of any single change? (Multiple sufficient causes.)
  • Underdetermined outcome: Was this outcome highly contingent on specific, unlikely events? (Luck played a big role.)
  • Necessary vs. sufficient: Which factors were necessary (without them, outcome changes) vs. merely contributing?

Step 6: The Hindsight Bias Correction

A critical check — separate what we know now from what was knowable then:

  • Were the decision-makers acting reasonably given available information?
  • What information did they lack that makes the outcome obvious in retrospect?
  • Would a reasonable, well-informed person at the time have made a different choice?
  • Are we judging the decision by its outcome rather than by its quality at the time of making?
  • Distinguish:

- Bad decision, bad outcome → Learning opportunity (process was flawed) - Good decision, bad outcome → Bad luck (process was sound; don't overreact) - Bad decision, good outcome → Good luck (dangerous to repeat) - Good decision, good outcome → Skill (but verify it wasn't also luck)

Step 7: Extract Actionable Lessons

  • What general principles do the counterfactuals reveal about what drives outcomes in this type of situation?
  • What early warning signs should have been heeded (and should be watched for in the future)?
  • What decision-making processes should change?
  • What contingency plans should be in place for similar situations?
  • What was the most important single thing that could have been done differently?
  • Crucially: What should we do differently next time, without the benefit of hindsight?

Counterfactual thinking is not about regret or wishful thinking — it's a rigorous tool for understanding causation. By asking "what would have happened if..." we discover what actually mattered, what was luck, and what lessons transfer to the future. History happened once; counterfactuals let us run the simulation again.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.84%
按下载量换算2,159

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills