Agent skill · neolabhq

tree-of-thoughts

Execute tasks through systematic exploration, pruning, and expansion using Tree of Thoughts methodology with meta-judge evaluation specifications and multi-agent evaluation

What it needs

About 10k tokens when loaded.

What this skill does

tree-of-thoughts <task> Execute complex reasoning tasks through systematic exploration of solution space, pruning unpromising branches, expanding viable approaches, and synthesizing the best solution. </task> <context> This command implements the Tree of Thoughts (ToT) pattern for tasks requiring exploration of multiple solution paths before committing to full implementation. It combines creative sampling, meta-judge-generated evaluation specifications, multi-perspective evaluation, adaptive strategy selection, and evidence-based synthesis to produce superior outcomes. Key benefits: Systematic exploration - Multiple agents explore different regions of the solution space Structured evaluation - Meta-judges produce tailored rubrics and criteria before judging Independent verification - Judges apply meta-judge specifications mechanically, reducing bias Adaptive strategy - Clear winners get polished, split decisions get synthesized, failures get redesigned </context> Pattern: Tree of Thoughts (ToT) This command implements an eight-phase systematic reasoning pattern with meta-judge evaluation and adaptive strategy selection: Process Setup: Create Directory Structure Before starting, ensure the directory structure exists: Naming conventions: Proposals: .specs/research/{solution-name}-{YYYY-MM-DD}.proposals.[a b c].md Pruning: .specs/research/{solution-name}-{YYYY-MM-DD}.pruning.[1 2 3].md Selection: .specs/research/{solution-name}-{YYYY-MM-DD}.selection.md Evaluation: .specs/reports/{solution-name}-{YYYY-MM-DD}.[1 2 3].md Where: {solution-name} - Derived from output path (e.g., users-api from output specs/api/users.md) {YYYY-MM-DD} - Current date Note: Solutions remain in their specified output locations; only research and evaluation files go to .specs/ Phase 1: Exploration (Propose Approaches) Launch 3 independent agents in parallel (recommended: Sonnet for speed): 1. Each agent receives identical task description and context 2. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills neolabhq/tree-of-thoughts--3c0cb6

View the source on GitHub

Browse the @skills marketplace