Install the "what-if-oracle" agent skill from https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/04-%E7%A0%94%E7%A9%B6%E6%96%B9%E6%B3%95%E4%B8%8E%E7%A7%91%E5%AD%A6%E6%80%9D%E7%BB%B4/what-if-oracle into .claude/skills/what-if-oracle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "what-if-oracle", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add LeonChaoX/qinyan-academic-skills --skill what-if-oracle -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "what-if-oracle" agent skill from https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/04-%E7%A0%94%E7%A9%B6%E6%96%B9%E6%B3%95%E4%B8%8E%E7%A7%91%E5%AD%A6%E6%80%9D%E7%BB%B4/what-if-oracle into .agents/skills/what-if-oracle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "what-if-oracle", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add LeonChaoX/qinyan-academic-skills --skill what-if-oracle -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "what-if-oracle" agent skill from https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/04-%E7%A0%94%E7%A9%B6%E6%96%B9%E6%B3%95%E4%B8%8E%E7%A7%91%E5%AD%A6%E6%80%9D%E7%BB%B4/what-if-oracle into .cursor/skills/what-if-oracle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "what-if-oracle", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add LeonChaoX/qinyan-academic-skills --skill what-if-oracle -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "what-if-oracle" agent skill from https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/04-%E7%A0%94%E7%A9%B6%E6%96%B9%E6%B3%95%E4%B8%8E%E7%A7%91%E5%AD%A6%E6%80%9D%E7%BB%B4/what-if-oracle into .gemini/skills/what-if-oracle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "what-if-oracle", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add LeonChaoX/qinyan-academic-skills --skill what-if-oracle -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "what-if-oracle" agent skill from https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/04-%E7%A0%94%E7%A9%B6%E6%96%B9%E6%B3%95%E4%B8%8E%E7%A7%91%E5%AD%A6%E6%80%9D%E7%BB%B4/what-if-oracle into .github/skills/what-if-oracle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "what-if-oracle", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add LeonChaoX/qinyan-academic-skills --skill what-if-oracle -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "what-if-oracle" agent skill from https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/04-%E7%A0%94%E7%A9%B6%E6%96%B9%E6%B3%95%E4%B8%8E%E7%A7%91%E5%AD%A6%E6%80%9D%E7%BB%B4/what-if-oracle into .opencode/skills/what-if-oracle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "what-if-oracle", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
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.
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.
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.
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:
Branch
Definition
Purpose
Ω Best Case
Everything goes right. Key assumptions all validate. Lucky breaks occur.
Define the ceiling — what's the maximum upside?
α Likely Case
Most probable path given current evidence. No major surprises.
Anchor expectations in reality
Δ Worst Case
Key assumptions fail. Two things go wrong simultaneously.
Define the floor — what's the maximum downside?
Ψ Wild Card
An unexpected variable enters that nobody is tracking. Black swan territory.
Stress-test for the unimaginable
Φ Contrarian
The opposite of the consensus view turns out to be true.
Challenge groupthink and reveal hidden assumptions
∞ Second Order
The 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.
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.
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
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
What If Oracle this skillLeonChaoX/qinyan-academic-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.
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…
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…
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…
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…
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…
Query the Cancer Dependency Map (DepMap) for cancer cell line gene dependency scores (CRISPR Chronos), drug sensitivity data, and gene effect profiles.
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.