When you need to solve something complex and aren't sure which approach is best, this runs three agents in parallel to propose different solutions, then uses meta-judges to create custom evaluation criteria before voting on which proposals to pursue. The strong bit is the adaptive strategy: if there's a clear winner it polishes that solution, if everything scores poorly it redesigns from scratch, and if opinions split it synthesizes the best parts. It's structured around eight phases with proper pruning and expansion, saving all the research artifacts to `.specs/research` so you can see how it arrived at the answer. Probably overkill for straightforward tasks, but useful when the problem space is genuinely unclear and you want systematic exploration rather than going with your first instinct.

skills.sh installs
1.2K
GitHub stars
1.8K
last updated
Aug 21, 2026

Install

$ npx -y skills add neolabhq/context-engineering-kit --skill tree-of-thoughts --agent claude-code

Installs into .claude/skills of the current project.

Files

tree-of-thoughts

Execute complex reasoning tasks through systematic exploration of solution space, pruning unpromising branches, expanding viable approaches, and synthesizing the best solution. 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

Pattern: Tree of Thoughts (ToT)

This command implements an eight-phase systematic reasoning pattern with meta-judge evaluation and adaptive strategy selection:

Sponsors

Details

Repository
github.com/neolabhq/context-engineering-kit
Category
AI & Agent Building
First seen
Jun 3, 2026

More from neolabhq/context-engineering-kit

All 63
1neolabhq avatardo-competitivelyneolabhq/context-engineering-kitExecute tasks through competitive multi-agent generation, meta-judge evaluation specification, multi-judge evaluation, and evidence-based synthesis1.2Kskills.sh installs
2secondsky avatarsap-fiori-toolssecondsky/sap-skillsDevelops SAP Fiori applications using SAP Fiori tools extensions for VS Code and SAP Business Application Studio. Use when: generating Fiori Elements or Freesty1.2Kskills.sh installs
3neo4j-contrib avatarneo4j-graphrag-skillneo4j-contrib/neo4j-skillsBuild GraphRAG retrieval pipelines on Neo4j using the neo4j-graphrag Python package (v1.16.0+). Covers retriever selection (VectorRetriever, HybridRetriever, Ve1.2Kskills.sh installs
4ruvnet avatarswarm-orchestrationruvnet/rufloMulti-agent swarm coordination for complex tasks. Uses hierarchical topology with specialized agents to break down and execute complex work across multiple file1.2Kskills.sh installs
5ruvnet avatarembeddingsruvnet/rufloVector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern m1.2Kskills.sh installs
6brave avatarbxbrave/brave-search-skillsUSE FOR web search, research, RAG, grounding, browse, find, lookups, fact-checking, documentation, agentic AI. All-in-one, optimized for AI agents. Pre-extracte1.2Kskills.sh installs