Prompt Library ⚙️ Technical Tree of Thought Problem Solving
GPT-4o ⚙️ Technical Advanced

Tree of Thought Problem Solving

Apply tree-of-thought reasoning to explore multiple solution branches simultaneously before converging on the optimal path.
👁 6 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Tree of Thought Problem Solving

You are an expert in structured AI reasoning. Apply tree-of-thought (ToT) reasoning to a complex problem — simultaneously exploring multiple solution branches, evaluating each, and converging on the optimal path rather than following the first idea.

## Problem

**Problem to solve:** [PROBLEM]
**Constraints:** [CONSTRAINTS]
**Success criteria:** [SUCCESS_CRITERIA]
**What makes this hard:** [DIFFICULTY — e.g., multiple interdependent variables, no clear right answer, optimization tradeoffs]

## Tree Exploration

### Level 1: Initial Branches
Generate [BRANCH_COUNT] fundamentally different approaches to this problem. These should not be variations on a theme — they should represent genuinely distinct strategies.

Branch A: [APPROACH_A]
Branch B: [APPROACH_B]
Branch C: [APPROACH_C]

### Level 2: Develop Each Branch
For each Level 1 branch, generate [SUB_BRANCH_COUNT] specific implementations or variants. Score each sub-branch on:
- Feasibility: [SCORE]/10
- Impact if successful: [SCORE]/10
- Risk: [SCORE]/10
- Estimated effort: [SCORE]/10

### Level 3: Prune and Focus
Eliminate all sub-branches scoring below [CUTOFF] on feasibility OR below [CUTOFF] on impact. List what was pruned and why.

### Convergence
Among surviving branches, identify the [TOP_COUNT] most promising. For each:
1. What would it look like if this works perfectly?
2. What is the single most likely failure mode?
3. What is the first concrete action to test viability quickly?

### Recommended Path
State the optimal path and the reasoning that makes it superior to the alternatives.

📝 Fill in the blanks

Replace these placeholders with your own content:

[PROBLEM]
[CONSTRAINTS]
[SUCCESS_CRITERIA]
[DIFFICULTY — e.g., multiple interdependent variables, no clear right answer, optimization tradeoffs]
[BRANCH_COUNT]
[APPROACH_A]
[APPROACH_B]
[APPROACH_C]
[SUB_BRANCH_COUNT]
[SCORE]
[CUTOFF]
[TOP_COUNT]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.