Agent skill

What If Oracle

by LeonChaoX in LeonChaoX/qinyan-academic-skills

Run structured What-If scenario analysis with multi-branch possibility exploration.

MITAuto-check passedTesting & QA

Install What If Oracle

skills CLI
$ npx skills add LeonChaoX/qinyan-academic-skills --skill what-if-oracle -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeonChaoX/qinyan-academic-skills what-if-oracle --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeonChaoX/qinyan-academic-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'skills/04-研究方法与科学思维/what-if-oracle' .claude/skills/what-if-oracle && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
what-if-oracle
GitHub stars
944
Used in
1 other repo
Token cost
~2.2k tokens
SKILL.md length
766 words
Files
2 (incl. references)
Skills in repo
31
Repo updated
First seen
Licence
MIT

At a glance

Run structured What-If scenario analysis with multi-branch possibility exploration.

  • Works in 4 steps: Frame the Question → Map the Possibility Space → Analyze Each Branch → …
  • The user asks speculative questions like what if...
  • SKILL.md covers Core Principle: 0·IF·1, How to Run the Oracle, Golden Ratio Weighting and Modes, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

What If Oracle is an agent skill from LeonChaoX/qinyan-academic-skills. Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like "what if...", "what would happen if...", "what are the possibilities", "explore scenarios", "scenario analysis", "possibility space", "what could go wrong", "best case / worst case", "risk analysis", "contingency planning", "strategic options", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an…

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/scenario-templates.md`).

It sits in Testing & QA, covering Load testing. The repository describes itself as: A curated, multilingual library of 182 installable AI agent skills for end-to-end academic research—spanning literature discovery, scientific writing, grant development… The licence is MIT.

When your agent uses it

  • The user asks speculative questions like what if...
  • What would happen if...
  • What are the possibilities
  • Explore scenarios

Example prompts

  • “what if...”
  • “what would happen if...”
  • “what are the possibilities”
  • “/what-if-oracle”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Frame the Question
  2. Map the Possibility Space
  3. Analyze Each Branch
  4. Synthesis

What it can do on your machine

Read from SKILL.md and the folder at commit df5a498. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • doi.org
    • ahkstrategies.net
    • themindbook.app

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

What If Oracle loads about 2.2k tokens when it runs, and up to ~3.2k if it reads all its reference files. Until then it costs about 149 tokens; SKILL.md has 766 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~149
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LeonChaoX/qinyan-academic-skills at commit df5a498, republished under its MIT licence (© LeonChaoX). 766 words, ~2,189 tokens.

Download SKILL.mdSave it as .claude/skills/what-if-oracle/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
what-if-oracle
description
Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like "what if...", "what would happen if...", "what are the possibilities", "explore scenarios", "scenario analysis", "possibility space", "what could go wrong", "best case / worst case", "risk analysis", "contingency planning", "strategic options", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.
allowed-tools
Read, Write
license
MIT license
metadata.skill-author
AHK Strategies (ashrafkahoush-ux)

What-If Oracle — Possibility Space Explorer

A structured system for exploring uncertain futures through rigorous multi-branch scenario analysis. Instead of one prediction, the Oracle maps the full possibility space — branching timelines where each path has its own logic, probability, and consequences.

Based on the What-If Statement paradigm: the idea that speculative questions ("What if X?") are not idle daydreaming but a fundamental computing operation — the mind's way of simulating futures before committing resources to one.

Published research: The What-If Statement (DOI: 10.5281/zenodo.18736841) | IDNA Consolidation v2 (DOI: 10.5281/zenodo.18807387)

Core Principle: 0·IF·1

Every scenario analysis has three elements:

  • 0 — The unexpressed state (what hasn't happened yet, the potential)
  • 1 — The expressed state (what IS, the current reality)
  • IF — The conditional bond (the decision, event, or change that transforms 0 into 1)

The quality of the analysis depends on the precision of the IF. A vague "what if things go wrong?" produces vague results. A precise "what if our primary supplier raises prices 30% in Q3?" produces actionable intelligence.

How to Run the Oracle

Phase 1 — Frame the Question

Take the user's What-If question and sharpen it:

Decompose into components:

  • The Variable: What specific thing changes? (one variable per analysis)
  • The Magnitude: By how much? (quantify if possible)
  • The Timeframe: Over what period?
  • The Context: What's the current state before the change?

If the question is vague, sharpen it:

  • "What if AI takes over?" → "What if 40% of current knowledge-work tasks are automated by AI within 3 years in [specific industry]?"
  • "What if we fail?" → "What if monthly revenue stays below $5K for 6 consecutive months starting now?"

Present the sharpened question to the user for confirmation before proceeding.

Phase 2 — Map the Possibility Space

Generate 4-6 scenario branches using this framework:

BranchDefinitionPurpose
Ω Best CaseEverything goes right. Key assumptions all validate. Lucky breaks occur.Define the ceiling — what's the maximum upside?
α Likely CaseMost probable path given current evidence. No major surprises.Anchor expectations in reality
Δ Worst CaseKey assumptions fail. Two things go wrong simultaneously.Define the floor — what's the maximum downside?
Ψ Wild CardAn unexpected variable enters that nobody is tracking. Black swan territory.Stress-test for the unimaginable
Φ ContrarianThe opposite of the consensus view turns out to be true.Challenge groupthink and reveal hidden assumptions
∞ Second OrderThe first-order effects trigger cascading consequences nobody predicted.Map the ripple effects
Phase 3 — Analyze Each Branch

For each scenario branch, provide:

╔══════════════════════════════════════════════╗
║  BRANCH: [Ω/α/Δ/Ψ/Φ/∞] — [Branch Name]    ║
╠══════════════════════════════════════════════╣
║  Probability: [X%]                           ║
║  Timeframe: [When this could materialize]    ║
║  Confidence: [HIGH/MEDIUM/LOW]               ║
╠══════════════════════════════════════════════╣
║  NARRATIVE:                                  ║
║  [2-3 sentences describing how this          ║
║   scenario unfolds step by step]             ║
║                                              ║
║  KEY ASSUMPTIONS:                            ║
║  • [What must be true for this to happen]    ║
║  • [And this]                                ║
║                                              ║
║  TRIGGER CONDITIONS:                         ║
║  • [Early signal that this branch is         ║
║    becoming reality]                         ║
║  • [Second signal]                           ║
║                                              ║
║  CONSEQUENCES:                               ║
║  → Immediate: [What happens first]           ║
║  → 30 days: [What follows]                   ║
║  → 6 months: [Where it leads]               ║
║                                              ║
║  REQUIRED RESPONSE:                          ║
║  [What action to take if this branch         ║
║   activates — specific, actionable]          ║
║                                              ║
║  WHAT MOST PEOPLE MISS:                      ║
║  [The non-obvious insight about this         ║
║   scenario that conventional analysis        ║
║   would overlook]                            ║
╚══════════════════════════════════════════════╝
Phase 4 — Synthesis

After analyzing all branches, provide:

Probability Distribution:

Ω Best Case ····· [██████░░░░] 15%
α Likely Case ··· [████████░░] 45%
Δ Worst Case ···· [██████░░░░] 20%
Ψ Wild Card ····· [███░░░░░░░]  8%
Φ Contrarian ···· [████░░░░░░]  7%
∞ Second Order ·· [███░░░░░░░]  5%

Robust Actions: What actions are beneficial across MULTIPLE branches? These are the no-regret moves — do them regardless of which future materializes.

Hedge Actions: What preparations protect against the worst branches without sacrificing upside?

Decision Triggers: What specific, observable signals should cause you to update which branch is most likely? Define the tripwires.

The 1% Insight: What is the one thing about this situation that almost everyone analyzing it would miss? The non-obvious pattern, the hidden assumption, the overlooked variable.

Show full SKILL.md (271 more words)Show less

Golden Ratio Weighting

When evidence exists, weight primary scenarios using the golden ratio:

  • Primary future (most likely): 61.8% of attention/resources
  • Alternative future: 38.2% of attention/resources

This prevents both overcommitment to a single path and dilution across too many contingencies. Nature uses this ratio for branching (trees, rivers, blood vessels). Strategic planning can too.

Modes

Quick Oracle (2-3 minutes)

3 branches only: Best, Likely, Worst. Short narratives. For fast decisions.

Deep Oracle (5-10 minutes)

All 6 branches. Full analysis with consequences, triggers, and synthesis. For high-stakes decisions.

Scenario Chain

Take the output of one Oracle analysis and feed it into another. "If Branch Δ happens, what are the possibilities WITHIN that branch?" Recursive depth for complex strategic planning.

Reverse Oracle

Start from a desired outcome and work backward: "What conditions must be true for X to happen? What's the most likely path TO that outcome?" Useful for goal-setting and strategy design.

Competitive Oracle

Analyze the same What-If from multiple stakeholder perspectives: "If we launch this product, what does the possibility space look like from OUR perspective vs. THEIR perspective vs. THE MARKET's perspective?"

What This Is NOT

  • Not a prediction — it's a possibility map. The Oracle doesn't claim to know the future; it helps you prepare for multiple futures.
  • Not a crystal ball — probabilities are estimates based on available evidence, not certainties.
  • Not a substitute for action — the best scenario analysis in the world is worthless without subsequent decision and execution.

Built By

AHK Strategies — AI Horizon Knowledge Full platform: themindbook.app Research: The What-If Statement (DOI: 10.5281/zenodo.18736841)

"The future is not empty. It contains completed states that exert pull on the present."

© LeonChaoX, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/04-研究方法与科学思维/what-if-oracle of LeonChaoX/qinyan-academic-skills.

  • SKILL.md
  • references/scenario-templates.md

Open the folder on GitHubat commit df5a498

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in LeonChaoX/qinyan-academic-skills, which our catalogue first saw on October 9, 2026.

Compare with similar skills

What If Oracle next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

What If Oracle compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
What If Oracle this skillLeonChaoX/qinyan-academic-skills9441 repos~2.2kAutomated safety check: PassMIT
Get Available ResourcesK-Dense-AI/scientific-agent-skills48k1 repos~2.9kAutomated safety check: PassMIT
Cpa Identificationfranklee16/academic-research-skills2231 repos~614Automated safety check: PassNone
Ecta Robustnessfranklee16/academic-research-skills2231 repos~1.4kAutomated safety check: PassNone
Jcr Topic Selectionfranklee16/academic-research-skills2231 repos~1kAutomated safety check: PassNone
Misq Topic Selectionfranklee16/academic-research-skills2231 repos~1kAutomated safety check: PassNone

Similar skills

  • Get Available Resources

    K-Dense-AI/scientific-agent-skills

    Detects host inventory and effective CPU, memory, disk, scheduler, container, and accelerator limits when a user asks for resource-aware planning or before a clearly resource-sensitive local workload.

    48k GitHub starsUsed in 1 repo~2.9k tokens
    Testing & QAAuto-check passed
  • Cpa Identification

    franklee16/academic-research-skills

    A skill your agent uses when the research design is the bottleneck for a 《中国行政管理》 manuscript — choosing and stress-testing a quantitative, qualitative, or normative design and matching it to the…

    223 GitHub starsUsed in 1 repo~614 tokens
    Testing & QAAuto-check passed
  • Ecta Robustness

    franklee16/academic-research-skills

    A skill your agent uses when an Econometrica manuscript needs finite-sample evidence and edge-case scrutiny — Monte Carlo design, finite-sample performance, regularity-condition stress tests, and…

    223 GitHub starsUsed in 1 repo~1.4k tokens
    Testing & QAAuto-check passed
  • Jcr Topic Selection

    franklee16/academic-research-skills

    A skill your agent uses when shaping or stress-testing a research question for the Journal of Consumer Research (JCR) — confirming it is a genuine consumer-behavior question with a conceptual…

    223 GitHub starsUsed in 1 repo~1k tokens
    Testing & QAAuto-check passed
  • Misq Topic Selection

    franklee16/academic-research-skills

    A skill your agent uses when shaping or stress-testing a research question for MIS Quarterly — confirming it is a genuine information-systems question, naming which of the four IS traditions…

    223 GitHub starsUsed in 1 repo~1k tokens
    Testing & QAAuto-check passed
  • Msom Topic Selection

    franklee16/academic-research-skills

    A skill your agent uses when shaping or stress-testing a research question for Manufacturing & Service Operations Management (M&SOM) — confirming an operations decision is central, choosing the…

    223 GitHub starsUsed in 1 repo~845 tokens
    Testing & QAAuto-check passed

More from LeonChaoX/qinyan-academic-skills

All 31 skills in this repo
  • Paper Slide Deck

    LeonChaoX/qinyan-academic-skills

    Generate professional slide deck images from academic papers and content.

    944 GitHub starsUsed in 2 repos~4.6k tokens
    Auto-check passed
  • Parallel Web

    LeonChaoX/qinyan-academic-skills

    Search the web, extract URL content, and run deep research using the Parallel Chat API and Extract API.

    944 GitHub starsUsed in 1 repo~2.9k tokens
    Auto-check: notes
  • Research Proposal

    LeonChaoX/qinyan-academic-skills

    Generate academic research proposals for PhD applications. An agent skill from LeonChaoX/qinyan-academic-skills.

    944 GitHub starsUsed in 2 repos~4.8k tokens
    Auto-check passed
  • Medical Imaging Review

    LeonChaoX/qinyan-academic-skills

    Write comprehensive literature reviews for medical imaging AI research.

    944 GitHub starsUsed in 3 repos~1.1k tokens
    Auto-check: notes
  • Depmap

    LeonChaoX/qinyan-academic-skills

    Query the Cancer Dependency Map (DepMap) for cancer cell line gene dependency scores (CRISPR Chronos), drug sensitivity data, and gene effect profiles.

    944 GitHub starsUsed in 2 repos~2.8k tokens
    Auto-check passed
  • Phylogenetics

    LeonChaoX/qinyan-academic-skills

    Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML).

    944 GitHub starsUsed in 2 repos~3.5k tokens
    Auto-check passed

Questions about What If Oracle

What does What If Oracle do?

Run structured What-If scenario analysis with multi-branch possibility exploration. What If Oracle is an agent skill from LeonChaoX/qinyan-academic-skills. Run structured What-If scenario analysis with multi-branch possibility exploration.

When should I use What If Oracle?

What If Oracle fits situations like: the user asks speculative questions like what if..; what would happen if..; what are the possibilities; explore scenarios.

How do I install What If Oracle in Claude Code?

Run `npx skills add LeonChaoX/qinyan-academic-skills --skill what-if-oracle -a claude-code`. Or copy the skill folder (skills/04-研究方法与科学思维/what-if-oracle in LeonChaoX/qinyan-academic-skills) into .claude/skills/what-if-oracle in your project. Claude Code loads it when a task matches its description.

How do I install What If Oracle in Codex?

Run `npx skills add LeonChaoX/qinyan-academic-skills --skill what-if-oracle -a codex`. Or copy the skill folder (skills/04-研究方法与科学思维/what-if-oracle in LeonChaoX/qinyan-academic-skills) into .agents/skills/what-if-oracle in your project. Codex loads it when a task matches its description.

Can I use What If Oracle in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeonChaoX/qinyan-academic-skills --skill what-if-oracle -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/what-if-oracle, .gemini/skills/what-if-oracle, .github/skills/what-if-oracle and .opencode/skills/what-if-oracle in your project.

What does What If Oracle need to run?

SKILL.md names no scripts, command-line tools or credentials: What If Oracle is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write.

Does What If Oracle access the network?

SKILL.md names 3 domains. As links in the text: doi.org, ahkstrategies.net and themindbook.app. This is read from the text; nothing was executed.

Is What If Oracle safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does What If Oracle use?

What If Oracle is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does What If Oracle use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1k tokens, read only when the agent opens those files.

What are the alternatives to What If Oracle?

Skills that share tags, products or a category with What If Oracle: Get Available Resources (K-Dense-AI/scientific-agent-skills, 48k stars), Cpa Identification (franklee16/academic-research-skills, 223 stars), Ecta Robustness (franklee16/academic-research-skills, 223 stars) and Jcr Topic Selection (franklee16/academic-research-skills, 223 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains What If Oracle?

LeonChaoX (a GitHub user) maintains it in LeonChaoX/qinyan-academic-skills, which has 944 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeonChaoX/qinyan-academic-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.