Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Language Agent Tree Search - Monte Carlo planning - 92.7% on HumanEval
.claude/skills/miosa-osa-lats/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -26% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -39% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -34% | 0% |
| case-21 | ✗→✓ | ▲ Improved | -59% | 0% |
| case-07 | ✓→✓ | = Same ✓ | 6% | 0% |
Monte Carlo Tree Search combined with LLM reasoning. Achieved 92.7% pass@1 on HumanEval (SOTA).
Use for:
while not solved and budget > 0:
1. SELECT: Pick best node using UCT formula
2. EXPAND: Generate N candidate actions
3. SIMULATE: Execute actions, get environment feedback
4. REFLECT: Self-evaluate trajectory quality
5. BACKPROPAGATE: Update scores up the treeUCT(node) = exploitation + C * sqrt(ln(N) / n)
= avg_score + exploration_bonus
Where:
- C = exploration constant (typically 1.41)
- N = parent visit count
- n = node visit countGenerate top-5 candidate actions in parallel using the Task tool.
"Given this trajectory and outcome:
Trajectory: [actions taken]
Result: [success/failure + details]
Rate this approach 1-10 and explain:
1. What worked well?
2. What went wrong?
3. How could it be improved?"pythondef backpropagate(node, score): while node: node.visits += 1 node.total_score += score node = node.parent
LATS is activated by @master-orchestrator when:
LATS is compute-intensive (5-10x more LLM calls). Reserve for:
Based on ICML 2024 research - arXiv:2310.04406
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 40,615 | 13,727 | -66% | 1 | 1 | 0% | 8,279 | 3,214 | -61% | 0 | 0 | — |
case-02 | fail→fail | 43,640 | 33,102 | -24% | 1 | 1 | 0% | 8,276 | 6,700 | -19% | 0 | 0 | — |
case-03 | fail→fail | 18,427 | 22,406 | +22% | 1 | 1 | 0% | 3,391 | 5,221 | +54% | 0 | 0 | — |
case-04 | fail→pass | 48,749 | 18,411 | -62% | 1 | 1 | 0% | 5,316 | 3,951 | -26% | 0 | 0 | — |
case-05 | fail→fail | 37,859 | 14,061 | -63% | 1 | 1 | 0% | 1,566 | 2,866 | +83% | 0 | 0 | — |
case-06 | fail→fail | 14,459 | 11,485 | -21% | 1 | 1 | 0% | 2,338 | 2,519 | +8% | 0 | 0 | — |
case-07 | pass→pass | 11,734 | 7,891 | -33% | 1 | 1 | 0% | 1,776 | 1,875 | +6% | 0 | 0 | — |
case-08 | fail→pass | 20,275 | 7,946 | -61% | 1 | 1 | 0% | 2,838 | 1,727 | -39% | 0 | 0 | — |
case-09 | fail→fail | 19,136 | 19,927 | +4% | 1 | 1 | 0% | 3,217 | 3,408 | +6% | 0 | 0 | — |
case-10 | pass→pass | 8,865 | 8,859 | -0% | 1 | 1 | 0% | 1,747 | 2,192 | +25% | 0 | 0 | — |
case-11 | fail→fail | 14,576 | 10,113 | -31% | 1 | 1 | 0% | 2,472 | 2,251 | -9% | 0 | 0 | — |
case-12 | pass→pass | 12,962 | 6,601 | -49% | 1 | 1 | 0% | 2,061 | 1,672 | -19% | 0 | 0 | — |
case-13 | pass→pass | 14,809 | 1,853 | -87% | 1 | 1 | 0% | 2,661 | 840 | -68% | 0 | 0 | — |
case-14 | fail→pass | 17,175 | 8,040 | -53% | 1 | 1 | 0% | 3,166 | 2,105 | -34% | 0 | 0 | — |
case-15 | pass→pass | 12,414 | 2,974 | -76% | 1 | 1 | 0% | 1,600 | 1,026 | -36% | 0 | 0 | — |
case-16 | pass→pass | 12,828 | 7,879 | -39% | 1 | 1 | 0% | 1,954 | 1,782 | -9% | 0 | 0 | — |
case-17 | pass→pass | 18,015 | 22,960 | +27% | 1 | 1 | 0% | 2,841 | 4,155 | +46% | 0 | 0 | — |
case-18 | pass→pass | 5,539 | 2,428 | -56% | 1 | 1 | 0% | 920 | 908 | -1% | 0 | 0 | — |
case-19 | pass→pass | 14,628 | 10,194 | -30% | 1 | 1 | 0% | 2,688 | 2,237 | -17% | 0 | 0 | — |
case-20 | pass→pass | 4,728 | 2,467 | -48% | 1 | 1 | 0% | 853 | 919 | +8% | 0 | 0 | — |
case-21 | fail→pass | 11,937 | 2,096 | -82% | 1 | 1 | 0% | 1,951 | 806 | -59% | 0 | 0 | — |
case-22 | fail→fail | 20,751 | 27,369 | +32% | 1 | 1 | 0% | 3,272 | 5,032 | +54% | 0 | 0 | — |
case-23 | pass→pass | 10,573 | 3,140 | -70% | 1 | 1 | 0% | 1,845 | 1,007 | -45% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 22 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +17 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.