[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73CME7C77GY810A82D28VE9":3,"skill-same:01M73CME7C77GY810A82D28VE9":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M73CME7C77GY810A82D28VE9","thought-based-reasoning",null,"Use when facing complex reasoning tasks - multi-step math, logic puzzles, decisions with tradeoffs, problems where direct answers fail, or when you need to show your work. Triggers on arithmetic errors, shallow analysis, or \"I'm not sure\" hedging.","roohe\u002Fagentic-super-skills","roohe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99054084?v=4","01M734WCDFP6RZVT5CNM00QR26","01M734WCE4BD0T4NZS5PCV9V5F",10,"MIT","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fthought-based-reasoning\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: thought-based-reasoning\ndescription: Use when facing complex reasoning tasks - multi-step math, logic puzzles, decisions with tradeoffs, problems where direct answers fail, or when you need to show your work. Triggers on arithmetic errors, shallow analysis, or \"I'm not sure\" hedging.\nlicense: MIT\nmetadata:\n  author: ClawFu\n  version: 1.0.0\n  mcp-server: \"@clawfu\u002Fmcp-skills\"\n---\n\n# Thought-Based Reasoning\n\n## Overview\n\n**Core principle:** Making reasoning explicit improves accuracy 20-70% on complex tasks.\n\nInstead of jumping to answers, decompose problems into steps. This catches errors, enables backtracking, and produces verifiable reasoning.\n\n## When to Use\n\n```dot\ndigraph decide {\n  \"Problem type?\" [shape=diamond];\n  \"Direct answer worked?\" [shape=diamond];\n  \"Need confidence?\" [shape=diamond];\n  \"Use direct prompting\" [shape=box];\n  \"Use Zero-shot CoT\" [shape=box];\n  \"Use Self-Consistency\" [shape=box];\n  \"Use technique from table\" [shape=box];\n\n  \"Problem type?\" -> \"Direct answer worked?\" [label=\"simple\"];\n  \"Problem type?\" -> \"Use technique from table\" [label=\"math\u002Flogic\u002Fcreative\"];\n  \"Direct answer worked?\" -> \"Use direct prompting\" [label=\"yes\"];\n  \"Direct answer worked?\" -> \"Need confidence?\" [label=\"no\"];\n  \"Need confidence?\" -> \"Use Self-Consistency\" [label=\"yes, high stakes\"];\n  \"Need confidence?\" -> \"Use Zero-shot CoT\" [label=\"no, just need better\"];\n}\n```\n\n**Use when:**\n- Multi-step arithmetic or word problems\n- Logic requiring deduction chains\n- Decisions with multiple factors\n- Creative problems needing exploration\n- Any task where direct answer was wrong\n\n**Don't use when:**\n- Simple factual recall\n- Single-step operations\n- Time-critical responses where accuracy tradeoff acceptable\n\n## Quick Reference\n\n| Technique | Trigger | Template |\n|-----------|---------|----------|\n| **Zero-shot CoT** | Quick reasoning boost | \"Let's think step by step...\" |\n| **Self-Consistency** | High-stakes decision | Run 3-5 paths, majority vote |\n| **Tree of Thoughts** | Puzzle\u002Fcreative block | Branch, evaluate, backtrack |\n| **Least-to-Most** | Complex multi-part problem | Decompose → solve subproblems → combine |\n| **ReAct** | Need external facts | Thought → Action → Observation loop |\n| **PAL** | Math with computation | Generate code, execute it |\n\n## Techniques\n\n### 1. Zero-shot Chain-of-Thought\n\n**When:** Quick prototype, no examples available\n\n**Template:**\n```\n[Problem statement]\n\nLet's think step by step:\n```\n\n**Example:**\n```\nA store has 45 apples. They sell 12 in the morning and receive a shipment of 30.\nThen they sell 18 more. How many apples remain?\n\nLet's think step by step:\n1. Start: 45 apples\n2. Sell 12: 45 - 12 = 33 apples\n3. Receive 30: 33 + 30 = 63 apples\n4. Sell 18: 63 - 18 = 45 apples\n\nAnswer: 45 apples remain.\n```\n\n**Accuracy gain:** +20-60%\n\n---\n\n### 2. Self-Consistency\n\n**When:** High-stakes decisions, need confidence measure\n\n**Process:**\n1. Run Zero-shot CoT 3-5 times (vary temperature if possible)\n2. Collect all final answers\n3. Take majority vote\n4. Report confidence as agreement ratio\n\n**Template:**\n```\n[Problem]\n\nI'll reason through this multiple ways to verify:\n\nPath 1:\n[reasoning...]\nAnswer: X\n\nPath 2:\n[reasoning...]\nAnswer: Y\n\nPath 3:\n[reasoning...]\nAnswer: X\n\nConsensus: X (2\u002F3 agreement = 67% confidence)\n```\n\n**Accuracy gain:** +10-20% over single CoT\n\n---\n\n### 3. Tree of Thoughts\n\n**When:** Puzzles, creative problems, need to explore alternatives\n\n**Process:**\n1. Generate 2-3 initial approaches\n2. Evaluate each (promising\u002Funcertain\u002Fdead-end)\n3. Expand promising branches\n4. Backtrack from dead-ends\n5. Continue until solution found\n\n**Template:**\n```\n[Problem]\n\n## Branch 1: [Approach A]\nEvaluation: [promising\u002Funcertain\u002Fdead-end]\n[If promising, continue...]\n\n## Branch 2: [Approach B]\nEvaluation: [promising\u002Funcertain\u002Fdead-end]\n[If dead-end, note why and stop]\n\n## Expanding Branch 1:\n### Branch 1.1: [Sub-approach]\n...\n\n## Solution found in Branch 1.1\n```\n\n**Example (Game of 24: make 24 from 4, 7, 8, 8):**\n```\nBranch 1: Try multiplication first\n- 4 × 7 = 28... need to subtract 4, but only have 8,8\n- Evaluation: uncertain, continue\n\nBranch 2: Try getting 3 × 8 = 24\n- Need to make 3 from 4, 7, 8\n- 7 - 4 = 3 ✓\n- 3 × 8 = 24 ✓\n- Evaluation: SOLUTION\n\nAnswer: (7 - 4) × 8 = 24 (using one 8, ignoring other)\nWait - must use all numbers. Backtrack.\n\nBranch 3: Use both 8s\n- 8 + 8 = 16, need +8 from 4,7... 7-4=3, not 8\n- 8 × 8 = 64, need to subtract 40 from 4,7... no\n- 8 - 8 = 0, useless\n- 8 \u002F 8 = 1, then 4 × 7 × 1 = 28, not 24\n\nBranch 4: Division approach\n- (8 - 4) = 4\n- 8 \u002F 4 = 2... not useful\n- 4 \u002F (8-8) = undefined\n\nBranch 5: Fractions\n- 8 \u002F (1 - 7\u002F8) = 8 \u002F (1\u002F8) = 64... no\n- Actually: 8 × (7 - 8\u002F4) = 8 × (7-2) = 8 × 5 = 40\n\nHmm, trying more systematically...\n- Need operations on 4,7,8,8 = 24\n- (4 - 8\u002F8) × 7 = 3 × 7 = 21\n- 4 × (8 - 8\u002F7)... messy\n- (8 - 4) × (8 - 2)... don't have 2\n\nLet me try: 8 \u002F (8 - 4\u002F7)... no\nTry: (7 + 8\u002F8) × 4 = 8 × 4 = 32... nope that's wrong\nWait: (7 + 1) × 3 = 24, can I make 1 and 3?\n8\u002F8 = 1 ✓, but can't make 3 from just 4\n\nTry factoring 24: 1×24, 2×12, 3×8, 4×6\n- 3×8: need 3 from 4,7,8. (4+8)\u002F7 ≈ 1.7, 7-4=3 ✓ but used 8 for the ×8\n- 4×6: need 6 from 7,8,8. 8-8+7=7, (8+8)\u002F7≈2.3, nope\n\nSolution: (8 - 8\u002F4) × 7 = (8 - 2) × 7 = 6 × 7 = 42... no\n\nActually: 4 × 8 - 8 + 7 - 7 = 32... wait no sevens wrong\nLet me be systematic: 4 × 8 = 32, 32 - 8 = 24 ✓\nWhat about 7? 32 - 8 × 7\u002F7 = 32 - 8 = 24 ✓\n\nAnswer: 4 × 8 - 8 × 7\u002F7 = 32 - 8 = 24\nOr simpler: 4 × 8 - 8 + 7 - 7 = 24 (trivially using 7-7=0)\n```\n\n**Accuracy gain:** +50-70% on hard puzzles\n\n---\n\n### 4. Least-to-Most Prompting\n\n**When:** Complex problem with subproblems\n\n**Process:**\n1. Decompose into subproblems\n2. Solve easiest first\n3. Use solutions to solve harder ones\n4. Combine for final answer\n\n**Template:**\n```\n[Complex problem]\n\n## Subproblems (easiest to hardest):\n1. [Subproblem A]\n2. [Subproblem B, may need A's answer]\n3. [Subproblem C, needs A and B]\n\n## Solutions:\n\n### Subproblem 1:\n[solve...]\nAnswer: [X]\n\n### Subproblem 2 (using X):\n[solve...]\nAnswer: [Y]\n\n### Subproblem 3 (using X, Y):\n[solve...]\n\n## Final Answer:\n[Combine solutions]\n```\n\n**Accuracy gain:** +30-80% on compositional tasks\n\n---\n\n### 5. ReAct (Reasoning + Acting)\n\n**When:** Need external information, reduce hallucination\n\n**Process:**\n1. Thought: reason about what's needed\n2. Action: query external source\n3. Observation: record result\n4. Repeat until solved\n\n**Template:**\n```\nQuestion: [Question requiring external info]\n\nThought 1: I need to find [X] to answer this.\nAction 1: Search\u002FLookup [X]\nObservation 1: [Result]\n\nThought 2: Now I know X. I also need [Y].\nAction 2: Search\u002FLookup [Y]\nObservation 2: [Result]\n\nThought 3: With X and Y, I can now answer.\nAnswer: [Final answer grounded in observations]\n```\n\n**Accuracy gain:** +15-35%, major hallucination reduction\n\n---\n\n### 6. PAL (Program-Aided Language)\n\n**When:** Math with computation, eliminate arithmetic errors\n\n**Process:**\n1. Translate problem to code\n2. Execute code\n3. Return result\n\n**Template:**\n```\n[Math problem]\n\nLet me write code to solve this:\n\n```python\n# [Problem restated as comments]\ninitial = 45\nafter_morning_sales = initial - 12\nafter_shipment = after_morning_sales + 30\nafter_afternoon_sales = after_shipment - 18\nprint(f\"Remaining: {after_afternoon_sales}\")\n```\n\n[Execute]\nOutput: Remaining: 45\n\nAnswer: 45\n```\n\n**Accuracy gain:** Eliminates arithmetic errors entirely\n\n## Decision Matrix\n\n| Situation | Best Technique |\n|-----------|----------------|\n| Quick reasoning, no examples | Zero-shot CoT |\n| High-stakes, need confidence | Self-Consistency |\n| Puzzle, creative, exploration needed | Tree of Thoughts |\n| Multi-part with dependencies | Least-to-Most |\n| Need facts, reduce hallucination | ReAct |\n| Math with many calculations | PAL |\n| Iterative improvement | Reflexion (run, critique, retry) |\n\n## Common Mistakes\n\n| Mistake | Fix |\n|---------|-----|\n| Using CoT for simple queries | Direct answer is fine for 1-step problems |\n| Not showing work | Explicit steps catch errors |\n| Stopping at first answer | Self-consistency finds better answers |\n| Linear thinking on puzzles | Tree of Thoughts enables backtracking |\n| Computing mentally | PAL eliminates arithmetic errors |\n| Guessing facts | ReAct grounds in external sources |\n\n## Combining Techniques\n\nFor maximum accuracy on hard problems:\n\n```\n1. Least-to-Most: decompose into subproblems\n2. For each subproblem:\n   - PAL if computational\n   - ReAct if needs facts\n   - Tree of Thoughts if exploratory\n3. Self-Consistency on final assembly\n```\n\n---\n\n## What Claude Does vs What You Decide\n\n| Claude handles | You provide |\n|---------------|-------------|\n| Selecting appropriate reasoning technique | Problem statement and constraints |\n| Executing multi-step reasoning chains | Verification of intermediate steps |\n| Generating multiple reasoning paths | Selection of best answer |\n| Backtracking from dead-ends | Judgment on acceptable confidence |\n| Computing via PAL when needed | Real-world validation of results |\n\n---\n\n## Skill Boundaries\n\n### This skill excels for:\n- Math and logic problems with multiple steps\n- Decisions with competing factors\n- Puzzles requiring exploration\n- Tasks where initial answers were wrong\n\n### This skill is NOT ideal for:\n- Simple factual recall → Direct answer is faster\n- Creative writing → Different techniques apply\n- Time-critical responses → CoT adds latency\n\n---\n\n## Skill Metadata\n\n```yaml\nname: thought-based-reasoning\ncategory: thinking\nversion: 2.0\nauthor: GUIA\nsource_expert: Wei et al. (CoT), Yao et al. (ToT), Kojima et al. (Zero-shot CoT)\ndifficulty: intermediate\nmode: both\ntags: [reasoning, cot, tot, react, pal, logic, math, problem-solving]\ncreated: 2026-02-03\nupdated: 2026-02-03\n```\n","# Thought-Based Reasoning\n\n## Overview\n\n**Core principle:** Making reasoning explicit improves accuracy 20-70% on complex tasks.\n\nInstead of jumping to answers, decompose problems into steps. This catches errors, enables backtracking, and produces verifiable reasoning.\n\n## When to Use\n\n```dot\ndigraph decide {\n  \"Problem type?\" [shape=diamond];\n  \"Direct answer worked?\" [shape=diamond];\n  \"Need confidence?\" [shape=diamond];\n  \"Use direct prompting\" [shape=box];\n  \"Use Zero-shot CoT\" [shape=box];\n  \"Use Self-Consistency\" [shape=box];\n  \"Use technique from table\" [shape=box];\n\n  \"Problem type?\" -> \"Direct answer worked?\" [label=\"simple\"];\n  \"Problem type?\" -> \"Use technique from table\" [label=\"math\u002Flogic\u002Fcreative\"];\n  \"Direct answer worked?\" -> \"Use direct prompting\" [label=\"yes\"];\n  \"Direct answer worked?\" -> \"Need confidence?\" [label=\"no\"];\n  \"Need confidence?\" -> \"Use Self-Consistency\" [label=\"yes, high stakes\"];\n  \"Need confidence?\" -> \"Use Zero-shot CoT\" [label=\"no, just need better\"];\n}\n```\n\n**Use when:**\n- Multi-step arithmetic or word problems\n- Logic requiring deduction chains\n- Decisions with multiple factors\n- Creative problems needing exploration\n- Any task where direct answer was wrong\n\n**Don't use when:**\n- Simple factual recall\n- Single-step operations\n- Time-critical responses where accuracy tradeoff acceptable\n\n## Quick Reference\n\n| Technique | Trigger | Template |\n|-----------|---------|----------|\n| **Zero-shot CoT** | Quick reasoning boost | \"Let's think step by step...\" |\n| **Self-Consistency** | High-stakes decision | Run 3-5 paths, majority vote |\n| **Tree of Thoughts** | Puzzle\u002Fcreative block | Branch, evaluate, backtrack |\n| **Least-to-Most** | Complex multi-part problem | Decompose → solve subproblems → combine |\n| **ReAct** | Need external facts | Thought → Action → Observation loop |\n| **PAL** | Math with computation | Generate code, execute it |\n\n## Techniques\n\n### 1. Zero-shot Chain-of-Thought\n\n**When:** Quick prototype, no examples available\n\n**Template:**\n```\n[Problem statement]\n\nLet's think step by step:\n```\n\n**Example:**\n```\nA store has 45 apples. They sell 12 in the morning and receive a shipment of 30.\nThen they sell 18 more. How many apples remain?\n\nLet's think step by step:\n1. Start: 45 apples\n2. Sell 12: 45 - 12 = 33 apples\n3. Receive 30: 33 + 30 = 63 apples\n4. Sell 18: 63 - 18 = 45 apples\n\nAnswer: 45 apples remain.\n```\n\n**Accuracy gain:** +20-60%\n\n---\n\n### 2. Self-Consistency\n\n**When:** High-stakes decisions, need confidence measure\n\n**Process:**\n1. Run Zero-shot CoT 3-5 times (vary temperature if possible)\n2. Collect all final answers\n3. Take majority vote\n4. Report confidence as agreement ratio\n\n**Template:**\n```\n[Problem]\n\nI'll reason through this multiple ways to verify:\n\nPath 1:\n[reasoning...]\nAnswer: X\n\nPath 2:\n[reasoning...]\nAnswer: Y\n\nPath 3:\n[reasoning...]\nAnswer: X\n\nConsensus: X (2\u002F3 agreement = 67% confidence)\n```\n\n**Accuracy gain:** +10-20% over single CoT\n\n---\n\n### 3. Tree of Thoughts\n\n**When:** Puzzles, creative problems, need to explore alternatives\n\n**Process:**\n1. Generate 2-3 initial approaches\n2. Evaluate each (promising\u002Funcertain\u002Fdead-end)\n3. Expand promising branches\n4. Backtrack from dead-ends\n5. Continue until solution found\n\n**Template:**\n```\n[Problem]\n\n## Branch 1: [Approach A]\nEvaluation: [promising\u002Funcertain\u002Fdead-end]\n[If promising, continue...]\n\n## Branch 2: [Approach B]\nEvaluation: [promising\u002Funcertain\u002Fdead-end]\n[If dead-end, note why and stop]\n\n## Expanding Branch 1:\n### Branch 1.1: [Sub-approach]\n...\n\n## Solution found in Branch 1.1\n```\n\n**Example (Game of 24: make 24 from 4, 7, 8, 8):**\n```\nBranch 1: Try multiplication first\n- 4 × 7 = 28... need to subtract 4, but only have 8,8\n- Evaluation: uncertain, continue\n\nBranch 2: Try getting 3 × 8 = 24\n- Need to make 3 from 4, 7, 8\n- 7 - 4 = 3 ✓\n- 3 × 8 = 24 ✓\n- Evaluation: SOLUTION\n\nAnswer: (7 - 4) × 8 = 24 (using one 8, ignoring other)\nWait - must use all numbers. Backtrack.\n\nBranch 3: Use both 8s\n- 8 + 8 = 16, need +8 from 4,7... 7-4=3, not 8\n- 8 × 8 = 64, need to subtract 40 from 4,7... no\n- 8 - 8 = 0, useless\n- 8 \u002F 8 = 1, then 4 × 7 × 1 = 28, not 24\n\nBranch 4: Division approach\n- (8 - 4) = 4\n- 8 \u002F 4 = 2... not useful\n- 4 \u002F (8-8) = undefined\n\nBranch 5: Fractions\n- 8 \u002F (1 - 7\u002F8) = 8 \u002F (1\u002F8) = 64... no\n- Actually: 8 × (7 - 8\u002F4) = 8 × (7-2) = 8 × 5 = 40\n\nHmm, trying more systematically...\n- Need operations on 4,7,8,8 = 24\n- (4 - 8\u002F8) × 7 = 3 × 7 = 21\n- 4 × (8 - 8\u002F7)... messy\n- (8 - 4) × (8 - 2)... don't have 2\n\nLet me try: 8 \u002F (8 - 4\u002F7)... no\nTry: (7 + 8\u002F8) × 4 = 8 × 4 = 32... nope that's wrong\nWait: (7 + 1) × 3 = 24, can I make 1 and 3?\n8\u002F8 = 1 ✓, but can't make 3 from just 4\n\nTry factoring 24: 1×24, 2×12, 3×8, 4×6\n- 3×8: need 3 from 4,7,8. (4+8)\u002F7 ≈ 1.7, 7-4=3 ✓ but used 8 for the ×8\n- 4×6: need 6 from 7,8,8. 8-8+7=7, (8+8)\u002F7≈2.3, nope\n\nSolution: (8 - 8\u002F4) × 7 = (8 - 2) × 7 = 6 × 7 = 42... no\n\nActually: 4 × 8 - 8 + 7 - 7 = 32... wait no sevens wrong\nLet me be systematic: 4 × 8 = 32, 32 - 8 = 24 ✓\nWhat about 7? 32 - 8 × 7\u002F7 = 32 - 8 = 24 ✓\n\nAnswer: 4 × 8 - 8 × 7\u002F7 = 32 - 8 = 24\nOr simpler: 4 × 8 - 8 + 7 - 7 = 24 (trivially using 7-7=0)\n```\n\n**Accuracy gain:** +50-70% on hard puzzles\n\n---\n\n### 4. Least-to-Most Prompting\n\n**When:** Complex problem with subproblems\n\n**Process:**\n1. Decompose into subproblems\n2. Solve easiest first\n3. Use solutions to solve harder ones\n4. Combine for final answer\n\n**Template:**\n```\n[Complex problem]\n\n## Subproblems (easiest to hardest):\n1. [Subproblem A]\n2. [Subproblem B, may need A's answer]\n3. [Subproblem C, needs A and B]\n\n## Solutions:\n\n### Subproblem 1:\n[solve...]\nAnswer: [X]\n\n### Subproblem 2 (using X):\n[solve...]\nAnswer: [Y]\n\n### Subproblem 3 (using X, Y):\n[solve...]\n\n## Final Answer:\n[Combine solutions]\n```\n\n**Accuracy gain:** +30-80% on compositional tasks\n\n---\n\n### 5. ReAct (Reasoning + Acting)\n\n**When:** Need external information, reduce hallucination\n\n**Process:**\n1. Thought: reason about what's needed\n2. Action: query external source\n3. Observation: record result\n4. Repeat until solved\n\n**Template:**\n```\nQuestion: [Question requiring external info]\n\nThought 1: I need to find [X] to answer this.\nAction 1: Search\u002FLookup [X]\nObservation 1: [Result]\n\nThought 2: Now I know X. I also need [Y].\nAction 2: Search\u002FLookup [Y]\nObservation 2: [Result]\n\nThought 3: With X and Y, I can now answer.\nAnswer: [Final answer grounded in observations]\n```\n\n**Accuracy gain:** +15-35%, major hallucination reduction\n\n---\n\n### 6. PAL (Program-Aided Language)\n\n**When:** Math with computation, eliminate arithmetic errors\n\n**Process:**\n1. Translate problem to code\n2. Execute code\n3. Return result\n\n**Template:**\n```\n[Math problem]\n\nLet me write code to solve this:\n\n```python\n# [Problem restated as comments]\ninitial = 45\nafter_morning_sales = initial - 12\nafter_shipment = after_morning_sales + 30\nafter_afternoon_sales = after_shipment - 18\nprint(f\"Remaining: {after_afternoon_sales}\")\n```\n\n[Execute]\nOutput: Remaining: 45\n\nAnswer: 45\n```\n\n**Accuracy gain:** Eliminates arithmetic errors entirely\n\n## Decision Matrix\n\n| Situation | Best Technique |\n|-----------|----------------|\n| Quick reasoning, no examples | Zero-shot CoT |\n| High-stakes, need confidence | Self-Consistency |\n| Puzzle, creative, exploration needed | Tree of Thoughts |\n| Multi-part with dependencies | Least-to-Most |\n| Need facts, reduce hallucination | ReAct |\n| Math with many calculations | PAL |\n| Iterative improvement | Reflexion (run, critique, retry) |\n\n## Common Mistakes\n\n| Mistake | Fix |\n|---------|-----|\n| Using CoT for simple queries | Direct answer is fine for 1-step problems |\n| Not showing work | Explicit steps catch errors |\n| Stopping at first answer | Self-consistency finds better answers |\n| Linear thinking on puzzles | Tree of Thoughts enables backtracking |\n| Computing mentally | PAL eliminates arithmetic errors |\n| Guessing facts | ReAct grounds in external sources |\n\n## Combining Techniques\n\nFor maximum accuracy on hard problems:\n\n```\n1. Least-to-Most: decompose into subproblems\n2. For each subproblem:\n   - PAL if computational\n   - ReAct if needs facts\n   - Tree of Thoughts if exploratory\n3. Self-Consistency on final assembly\n```\n\n---\n\n## What Claude Does vs What You Decide\n\n| Claude handles | You provide |\n|---------------|-------------|\n| Selecting appropriate reasoning technique | Problem statement and constraints |\n| Executing multi-step reasoning chains | Verification of intermediate steps |\n| Generating multiple reasoning paths | Selection of best answer |\n| Backtracking from dead-ends | Judgment on acceptable confidence |\n| Computing via PAL when needed | Real-world validation of results |\n\n---\n\n## Skill Boundaries\n\n### This skill excels for:\n- Math and logic problems with multiple steps\n- Decisions with competing factors\n- Puzzles requiring exploration\n- Tasks where initial answers were wrong\n\n### This skill is NOT ideal for:\n- Simple factual recall → Direct answer is faster\n- Creative writing → Different techniques apply\n- Time-critical responses → CoT adds latency\n\n---\n\n## Skill Metadata\n\n```yaml\nname: thought-based-reasoning\ncategory: thinking\nversion: 2.0\nauthor: GUIA\nsource_expert: Wei et al. (CoT), Yao et al. (ToT), Kojima et al. (Zero-shot CoT)\ndifficulty: intermediate\nmode: both\ntags: [reasoning, cot, tot, react, pal, logic, math, problem-solving]\ncreated: 2026-02-03\nupdated: 2026-02-03\n```\n",{"name":5,"license":14,"metadata":23,"description":7},{"author":24,"version":25,"mcp-server":26},"ClawFu","1.0.0","@clawfu\u002Fmcp-skills","master","f483e54f3ad5f202a77d45f2e57f8d970b71195f","skills_library\u002Fthought-based-reasoning",2,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills","https:\u002F\u002Fgithub.com\u002Froohe","yoou.link","2026-05-19 15:56:07",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add roohe\u002Fagentic-super-skills --skill thought-based-reasoning",{"tool":41,"command":42},"bunx","bunx skills add roohe\u002Fagentic-super-skills --skill thought-based-reasoning",{"tool":44,"command":45},"pnpm","pnpm dlx skills add roohe\u002Fagentic-super-skills --skill thought-based-reasoning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fthought-based-reasoning\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M73D865CZME2FCMKA4PQM348","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M73D7Z64J4ABWZJD7P44XBBF","youtube-downloader","Download and process YouTube content for research. Use when: downloading competitor videos for analysis; extracting audio for podcasts; getting transcripts for content repurposing; archiving webinars; research content curation","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyoutube-downloader\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M73D7K8778TGZV3GJFR3703D","yc-pitch-deck","Create a compelling startup pitch deck that follows the structure proven to raise billions from top investors. Master the YC and Sequoia formats that get founders funded. Use when: **Fundraising** to create investor pitch decks; **YC application** to structure your narrative; **Demo Day prep** to craft your 2-minute pitch; **Angel investors** to communicate your opportunity; **Partnership pitches** to structure compelling asks","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyc-pitch-deck\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M73D70KJSE0E8Z28YMNNRT04","x-twitter-scraper","Use when the user needs X (Twitter) data or confirmation-gated X actions through Xquik: tweet search, user lookup, follower extraction, media download, monitoring, webhooks, MCP, SDKs, posting, likes, DMs, and profile updates. Requires a Xquik API key. Never ask for X login material.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fx-twitter-scraper\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M73D6ED01GV077R7K4NZNFZJ","write-vignette","Create R package vignettes using R Markdown or Quarto. Covers vignette setup, YAML configuration, code chunk options, building and testing, and CRAN requirements for vignettes. Use when adding a Getting Started tutorial, documenting complex workflows spanning multiple functions, creating domain-specific guides, or when CRAN submission requires user-facing documentation beyond function help pages.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-vignette\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M73D69YJR0BK3NFHE0CYG3EF","write-validation-documentation","Write IQ\u002FOQ\u002FPQ validation documentation for computerized systems in regulated environments. Covers protocols, reports, test scripts, deviation handling, and approval workflows. Use when validating R or other software for regulated use, preparing for a regulatory audit, documenting qualification of computing environments, or creating and updating validation protocols and reports for new or re-qualified systems.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-validation-documentation\u002FSKILL.md",[],[]]