Skip to content
neolabhq avatar

Thought Based Reasoning

Structured guide to Chain-of-Thought and related prompting techniques for multi-step reasoning tasks.

CCM score
48 of 100
skills.sh installs
1.5K
GitHub stars
1.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Zero-shot CoT, Few-shot CoT, Self-Consistency, Tree of Thoughts, Least-to-Most, ReAct, PAL, and Reflexion with a quick reference table
  • Includes prompt templates, Python implementation sketches, example walkthroughs, and a complexity and accuracy-gain comparison for each technique
  • Provides a decision matrix mapping task types such as arithmetic, commonsense, or tool-dependent problems to the most suitable technique
  • Designed for cases where simple prompting fails on math, symbolic manipulation, or multi-step logic problems

Install

$ npx -y skills add neolabhq/context-engineering-kit --skill thought-based-reasoning -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Thought-Based Reasoning Techniques for LLMs

Overview

Chain-of-Thought (CoT) prompting and its variants encourage LLMs to generate intermediate reasoning steps before arriving at a final answer, significantly improving performance on complex reasoning tasks. These techniques transform how models approach problems by making implicit reasoning explicit.

Quick Reference

TechniqueWhen to UseComplexityAccuracy Gain
Zero-shot CoTQuick reasoning, no examples availableLow+20-60%
Few-shot CoTHave good examples, consistent format neededMedium+30-70%
Self-ConsistencyHigh-stakes decisions, need confidenceMedium+10-20% over CoT
Tree of ThoughtsComplex problems requiring explorationHigh+50-70% on hard tasks
Least-to-MostMulti-step problems with subproblemsMedium+30-80%
ReActTasks requiring external informationMedium+15-35%
PALMathematical/computational problemsMedium+10-15%
ReflexionIterative improvement, learning from errorsHigh+10-20%

Core Techniques

1. Chain-of-Thought (CoT) Prompting

Details

Repository
github.com/neolabhq/context-engineering-kit
Categories
AI Agents & LLM Apps, Agent Workflow & Planning
First seen
Jun 3, 2026

More from neolabhq/context-engineering-kit

All 62

Similar to Thought Based Reasoning

More AI Agents & LLM Apps