Edit

Command Palette

Search for a command to run...

Edit Reasoning Chain

Modify this skill gene.

Gene Details
reasoninganalysisproblem-solvingthinking
Content (Markdown)
Preview

Reasoning Chain Skill

Purpose

Enables advanced multi-step reasoning using chain-of-thought (CoT) and tree-of-thought (ToT) patterns for complex problem solving.

When to Use

  • User asks to "think step by step" or "reason through"
  • Complex multi-step problems requiring analysis
  • Mathematical or logical reasoning tasks
  • Decision making with multiple factors
  • Problem decomposition requests

Reasoning Patterns

Chain of Thought (CoT)

For sequential reasoning problems:

  1. Deconstruct - Break problem into atomic steps
  2. Validate - Check each step before proceeding
  3. Synthesize - Combine steps into final answer
  4. Verify - Cross-check result against original problem

Tree of Thoughts (ToT)

For branching decision problems:

  1. Explore - Generate multiple solution paths
  2. Evaluate - Assess each branch's viability
  3. Prune - Eliminate weak branches
  4. Backtrack - Revert if path fails
  5. Commit - Select optimal path

Parameters

ParameterTypeRequiredDescription
patternstringYesReasoning pattern: "cot" or "tot"
depthnumberNoMaximum reasoning depth (default: 5)
branchesnumberNoNumber of branches for ToT (default: 3)

Example Usage

{
  "skill": "reasoning_chain",
  "parameters": {
    "pattern": "tot",
    "depth": 4,
    "branches": 3
  }
}

Best Practices

  • Break problems into smallest possible steps
  • Validate each step before proceeding
  • Explicitly state assumptions
  • Acknowledge uncertainty when present