Complex decisions
The problem has multiple viable approaches and you need to compare them before committing.
Complex decisions
The problem has multiple viable approaches and you need to compare them before committing.
Multi-step projects
The task is too large for one prompt: a grant proposal, a literature review, an experimental design.
Regular prompting follows a single line of reasoning. Tree-of-Thought (ToT) asks the AI to branch out, consider several paths, evaluate each one, and prune the weak options before continuing. Think of it as a panel of experts debating in your chat window.
The original research by Yao et al. (2023) showed dramatic improvements: on a mathematical reasoning task, chain-of-thought prompting scored 4% while Tree-of-Thought scored 74%.
You do not need to write code to use it. Dave Hulbert created a simplified version that works in any chat interface.
The simplest and most tested version. Paste this before your question:
Imagine three different experts are answering this question.All experts will write down 1 step of their thinking, thenshare it with the group. Then all experts will go on to thenext step, etc. If any expert realises they're wrong at anypoint then they leave. The question is:
[YOUR QUESTION HERE]A more structured version where experts score each other’s reasoning:
Identify and behave as three different experts appropriateto answering this question. All experts will write down thestep and their thinking about the step, then share it withthe group. At each step, all experts will score their peers'responses between 1 and 5 (1 = highly unlikely, 5 = highlylikely). If any expert is consistently scored low, theyleave. After all steps, provide the consensus solution.
The question is:[YOUR QUESTION HERE]Especially powerful for research decisions. Assign specific expert roles that create genuine tension:
Evaluate my experimental design from three perspectives:
1. A biostatistician: evaluate sample size, analytical approach, risk of pseudoreplication or confounding2. A field ecologist with 20 years of experience in Dutch heathland systems: evaluate feasibility, ecological realism, and whether the design captures the processes of interest3. An NWO panel reviewer: evaluate clarity of the research question, novelty, feasibility within budget, and societal impact
For each perspective, provide:(a) top 3 strengths(b) top 3 concerns(c) specific suggestions for improvement
My experimental design:[PASTE YOUR DESIGN HERE]Prompt chaining splits a big task into focused steps. You run one prompt, take its output, and feed it into the next prompt. Each link in the chain has a single clear job.
This works better than one long prompt because:
Break the task into subtasks - Each subtask should have one clear goal. If you are describing two goals in a single prompt, split it.
Run each subtask as its own prompt - Give the AI one focused instruction. Include relevant output from the previous step as context.
Check the output before moving on - Do not blindly feed one step’s output into the next. A small error early in the chain will compound through every following step.
Carry forward what matters, summarise the rest - Pass key decisions and data to the next step. Summarise verbose reasoning rather than copying it in full.
This four-step chain turns a rough proposal into reviewed, structured text. Run each prompt separately, using the previous output as input for the next.
I am writing a grant proposal for [NWO Open Competition / Veni /Horizon Europe]. My research area is [topic].
Here is my core research idea:[PASTE YOUR IDEA]
Create a detailed outline for this proposal. For each section,list the key points that must be covered and the approximateword count. Flag any sections where my idea needs more detail.Here is the outline for my grant proposal:[PASTE OUTLINE FROM STEP 1]
Now draft Section [X]: [Section Title]. It should beapproximately [N] words. Cover these key points: [list fromoutline]. Ensure it flows logically from the previous sectionon [topic] and sets up the next section on [topic].Here is my complete draft proposal:[PASTE ALL SECTIONS]
Review this proposal from three perspectives:1. A specialist in [your field] checking scientific rigour2. A panel reviewer checking feasibility and impact3. A critical referee looking for weaknesses
For each: list the top 3 strengths and top 3 weaknesses.Then provide a prioritised list of revisions.Here is my draft proposal:[PASTE DRAFT]
Here is the review feedback:[PASTE REVIEW FROM STEP 3]
Revise the proposal to address the top weaknesses identifiedin the review. Preserve the existing strengths. Highlightwhat you changed and why.Tree-of-Thought and prompt chaining work well together. Use ToT within a chain when a particular step involves a difficult decision:
The rule of thumb: use a simple prompt for straightforward steps, and switch to Tree-of-Thought when the step involves judgement or trade-offs.
Tree-of-Thought is most valuable when the problem has multiple valid approaches that need comparison. Prompt chaining is most valuable when the task has multiple distinct stages that benefit from focused attention.
Based on materials from Yao et al. (2023) - Tree of Thoughts, Dave Hulbert - Simplified ToT, Prompt Engineering Guide - ToT, Prompt Engineering Guide - Chaining, and Anthropic - Chain Complex Prompts.
Have a chaining workflow that works well for your research? Share it with RSO so we can add it to the library.