Skip to content
Data
Skill

/what-if-oracle

Supports structured what-if scenario analysis for research planning, experimental contingencies, and scientific project decisions. Explores favorable, reference, adverse, wild-card, contrarian, and second-order scenarios with explicit assumptions, evidence, and decision

From plugin
scientific-agent-skills
56k177 skills

Claude Code

$ npx -y skills add K-Dense-AI/scientific-agent-skills --skill what-if-oracle --agent claude-code

SKILL.md

what-if-oracle.SKILL.md
name: what-if-oracle
description: Supports structured what-if scenario analysis for research planning, experimental contingencies, and scientific project decisions. Explores favorable, reference, adverse, wild-card, contrarian, and second-order scenarios with explicit assumptions, evidence, and decision triggers. Use to stress-test a research plan under uncertainty; scenario narratives do not estimate causal effects or calibrated forecast probabilities.
license: CC BY-NC-SA 4.0
metadata:
  version: "1.3"
  last-reviewed: "2026-10-01"
  skill-author: AHK Strategies (ashrafkahoush-ux)
  upstream: https://github.com/ashrafkahoush-ux/claude-consciousness-skills
  research-doi: 10.5281/zenodo.18736841, 10.5281/zenodo.18807387

What-If Oracle — Research Scenario Planning

Explore a bounded set of possible futures before committing research resources. The output is a scenario comparison, an evidence ledger, and a contingency plan. It does not cover the full possibility space or establish that a narrated mechanism will occur.

The six branch prompts and **0·IF·1** mnemonic come from the upstream What-If framework. Treat the mnemonic as a framing aid: a potential change (**0**), a stated condition (**IF**), and a resulting scenario (**1**). It is not a scientific law or a computational model.

The author's [What-If Paradigm](https://doi.org/10.5281/zenodo.18736841) and [Unified Theory of Digital Consciousness](https://doi.org/10.5281/zenodo.18807387) are catalogued by Zenodo as preprints. Their deposit and DOI establish provenance, not forecasting accuracy or empirical validation of this workflow.

When to use

Use for questions such as:

  • What if sample attrition is higher than planned?
  • What if a method fails to transfer to a new instrument, cohort, or site?
  • What if a key reagent, dataset, or measurement becomes unavailable?
  • Which research option remains feasible under competing hypotheses or resource constraints?

Keep the analysis attached to a scientific decision. This is not a general business, personal advice, or software architecture skill. If the question requires an intervention effect, a power calculation, or a numerical simulation, identify the required design/model and evidence; do not manufacture those results with scenario prose.

No package, API endpoint, credential, or network connection is required for the qualitative workflow. Verify current external facts when they matter, or label the analysis as based only on supplied material. For research-specific prompts and a worked example, see [references/scenario-templates.md](references/scenario-templates.md).

Phase 1 — Frame the question and evidence

Write one operational question containing:

  • **Decision and comparator:** what can be changed, and what happens under the current plan?
  • **Perturbation:** the main variable, magnitude, units, and any coupled changes. Do not assume other variables remain fixed when the mechanism links them.
  • **Horizon and system:** population, site, protocol, and time window to which the answer applies.
  • **Outcome and constraints:** measurable success/failure criteria, budget, capacity, and irreversible consequences.
  • **Baseline:** observations and their dates, separated from assumptions and desired targets.

For example: "If the usable-sample fraction is 60% rather than the planned 80%, can a batch of 100 samples deliver 80 usable samples this month, and which contingency should we prepare?" Both fractions may be planning assumptions until supported by data.

Use the user's supplied framing when sufficient. State reasonable working assumptions and proceed; ask for a missing fact only when it materially changes the analysis.

Maintain a short evidence ledger: claim, source or data version/date, relevant population/protocol, uncertainty, and status (**observed**, **model-derived**, or **assumed**). Record conflicting evidence. An LLM-generated rationale is not an additional observation or an independent expert assessment.

Phase 2 — Explore scenario branches

Select distinct scenarios suited to the question, usually four to six. A short screening can use favorable, reference, and adverse scenarios. The labels below are exploration lenses, not mutually exclusive outcomes or a probability distribution.

| Lens | What to examine | Scientific boundary | | --- | --- | --- | | **Ω Favorable (best case)** | Favorable conditions within justified bounds | Not a proven upper limit; specify whose outcome improves | | **α Reference case** | A stated baseline or central set of assumptions | Call it "likely" only if comparative evidence supports that ranking | | **Δ Adverse (worst case)** | Plausible failures, including dependent failures | Not a proven lower limit or the worst imaginable outcome | | **Ψ Wild card** | A concrete disruption outside the main assumptions | Do not claim to enumerate unknowable events or assign a rarity from the label | | **Φ Contrarian** | An alternative to a dominant hypothesis | Evaluate supporting and disconfirming evidence; disagreement alone is not support | | **∞ Second order** | Downstream effects, delays, feedback, or changed behavior | Can occur within any other scenario; mark untested mechanisms as hypotheses |

Retain important shared drivers and correlations across branches. Avoid implausible combinations created by independently toggling quantities that share a cause. Use descriptive scenario names in the final output so favorable/adverse labels do not substitute for evaluation.

Phase 3 — Analyze and challenge each branch

Use a compact record:

Scenario: [name and lens]
Condition and horizon: [operational definition]
Assumptions: [including dependencies and boundary conditions]
Evidence: [source/data version, supporting and conflicting observations]
Mechanism: [conditional narrative; identify untested causal links]
Consequences: [outcomes, units, range, and relevant time points]
Likelihood: [not estimated, or justified estimate with
Read more
@k-dense-ai
Ships withscientific-agent-skills

🔔 Claude Scientific Skills is now Scientific Agent Skills. Same skills, broader compatibility — now works with any AI agent that supports the open Agent Skills standard, not just Claude.

Stars on GitHub

Momentum

stars in total
55.6k
Star history of K-Dense-AI/scientific-agent-skills on GitHub, a chart by star-history.com

Other skills on scientific-agent-skills.

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem04d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog10d41k
@posthog@posthogInstall Skill
qmd

qmd

Search local markdown knowledge bases, notes, docs, and wikis with QMD. Use when users ask to find notes, retrieve documents,…

qmd3w31k
@tobi@tobiInstall Skill

Questions about what-if-oracle.

Which coding agents can use what-if-oracle?
what-if-oracle installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.