ad-spend-optimizer
Analyze paid advertising performance across channels and recommend budget reallocation to maximize ROAS and minimize CAC. Use…
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.
Claude Code
$ npx -y skills add guia-matthieu/clawfu-skills --skill thought-based-reasoning --agent claude-code
Codex
$ npx skills add guia-matthieu/clawfu-skills --skill thought-based-reasoning -a codex -y
Cursor
$ npx skills add guia-matthieu/clawfu-skills --skill thought-based-reasoning -a cursor -y
Gemini CLI
$ npx skills add guia-matthieu/clawfu-skills --skill thought-based-reasoning -a gemini-cli -y
GitHub Copilot
$ npx skills add guia-matthieu/clawfu-skills --skill thought-based-reasoning -a github-copilot -y
OpenCode
$ npx skills add guia-matthieu/clawfu-skills --skill thought-based-reasoning -a opencode -y
Windsurf
$ npx skills add guia-matthieu/clawfu-skills --skill thought-based-reasoning -a windsurf -y
name: thought-based-reasoning description: 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. license: MIT metadata: author: ClawFu version: 1.0.0 mcp-server: "@clawfu/mcp-skills"
**Core principle:** Making reasoning explicit improves accuracy 20-70% on complex tasks.
Instead of jumping to answers, decompose problems into steps. This catches errors, enables backtracking, and produces verifiable reasoning.
digraph decide {
"Problem type?" [shape=diamond];
"Direct answer worked?" [shape=diamond];
"Need confidence?" [shape=diamond];
"Use direct prompting" [shape=box];
"Use Zero-shot CoT" [shape=box];
"Use Self-Consistency" [shape=box];
"Use technique from table" [shape=box];
"Problem type?" -> "Direct answer worked?" [label="simple"];
"Problem type?" -> "Use technique from table" [label="math/logic/creative"];
"Direct answer worked?" -> "Use direct prompting" [label="yes"];
"Direct answer worked?" -> "Need confidence?" [label="no"];
"Need confidence?" -> "Use Self-Consistency" [label="yes, high stakes"];
"Need confidence?" -> "Use Zero-shot CoT" [label="no, just need better"];
}**Use when:**
**Don't use when:**
| Technique | Trigger | Template | |-----------|---------|----------| | **Zero-shot CoT** | Quick reasoning boost | "Let's think step by step..." | | **Self-Consistency** | High-stakes decision | Run 3-5 paths, majority vote | | **Tree of Thoughts** | Puzzle/creative block | Branch, evaluate, backtrack | | **Least-to-Most** | Complex multi-part problem | Decompose → solve subproblems → combine | | **ReAct** | Need external facts | Thought → Action → Observation loop | | **PAL** | Math with computation | Generate code, execute it |
**When:** Quick prototype, no examples available
**Template:**
[Problem statement] Let's think step by step:
**Example:**
A store has 45 apples. They sell 12 in the morning and receive a shipment of 30. Then they sell 18 more. How many apples remain? Let's think step by step: 1. Start: 45 apples 2. Sell 12: 45 - 12 = 33 apples 3. Receive 30: 33 + 30 = 63 apples 4. Sell 18: 63 - 18 = 45 apples Answer: 45 apples remain.
**Accuracy gain:** +20-60%
---
**When:** High-stakes decisions, need confidence measure
**Process:** 1. Run Zero-shot CoT 3-5 times (vary temperature if possible) 2. Collect all final answers 3. Take majority vote 4. Report confidence as agreement ratio
**Template:**
[Problem] I'll reason through this multiple ways to verify: Path 1: [reasoning...] Answer: X Path 2: [reasoning...] Answer: Y Path 3: [reasoning...] Answer: X Consensus: X (2/3 agreement = 67% confidence)
**Accuracy gain:** +10-20% over single CoT
---
**When:** Puzzles, creative problems, need to explore alternatives
**Process:** 1. Generate 2-3 initial approaches 2. Evaluate each (promising/uncertain/dead-end) 3. Expand promising branches 4. Backtrack from dead-ends 5. Continue until solution found
**Template:**
[Problem] ## Branch 1: [Approach A] Evaluation: [promising/uncertain/dead-end] [If promising, continue...] ## Branch 2: [Approach B] Evaluation: [promising/uncertain/dead-end] [If dead-end, note why and stop] ## Expanding Branch 1: ### Branch 1.1: [Sub-approach] ... ## Solution found in Branch 1.1
**Example (Game of 24: make 24 from 4, 7, 8, 8):**
Branch 1: Try multiplication first - 4 × 7 = 28... need to subtract 4, but only have 8,8 - Evaluation: uncertain, continue Branch 2: Try getting 3 × 8 = 24 - Need to make 3 from 4, 7, 8 - 7 - 4 = 3 ✓ - 3 × 8 = 24 ✓ - Evaluation: SOLUTION Answer: (7 - 4) × 8 = 24 (using one 8, ignoring other) Wait - must use all numbers. Backtrack. Branch 3: Use both 8s - 8 + 8 = 16, need +8 from 4,7... 7-4=3, not 8 - 8 × 8 = 64, need to subtract 40 from 4,7... no - 8 - 8 = 0, useless - 8 / 8 = 1, then 4 × 7 × 1 = 28, not 24 Branch 4: Division approach - (8 - 4) = 4 - 8 / 4 = 2... not useful - 4 / (8-8) = undefined Branch 5: Fractions - 8 / (1 - 7/8) = 8 / (1/8) = 64... no - Actually: 8 × (7 - 8/4) = 8 × (7-2) = 8 × 5 = 40 Hmm, trying more systematically... - Need operations on 4,7,8,8 = 24 - (4 - 8/8) × 7 = 3 × 7 = 21 - 4 × (8 - 8/7)... messy - (8 - 4) × (8 - 2)... don't have 2 Let me try: 8 / (8 - 4/7)... no Try: (7 + 8/8) × 4 = 8 × 4 = 32... nope that's wrong Wait: (7 + 1) × 3 = 24, can I make 1 and 3? 8/8 = 1 ✓, but can't make 3 from just 4 Try factoring 24: 1×24, 2×12, 3×8, 4×6 - 3×8: need 3 from 4,7,8. (4+8)/7 ≈ 1.7, 7-4=3 ✓ but used 8 for the ×8 - 4×6: need 6 from 7,8,8. 8-8+7=7, (8+8)/7≈2.3, nope Solution: (8 - 8/4) × 7 = (8 - 2) × 7 = 6 × 7 = 42... no Actually: 4 × 8 - 8 + 7 - 7 = 32... wait no sevens wrong Let me be systematic: 4 × 8 = 32, 32 - 8 = 24 ✓ What about 7? 32 - 8 × 7/7 = 32 - 8 = 24 ✓ Answer: 4 × 8 - 8 × 7/7 = 32 - 8 = 24 Or simpler: 4 × 8 - 8 + 7 - 7 = 24 (trivially using 7-7=0)
**Accuracy gain:** +50-70% on hard puzzles
---
**When:** Complex problem with subproblems
**Process:** 1. Decompose into subproblems 2. Solve easiest first 3. Use solutions to solve harder ones 4. Combine for final answer
**Template:**
[Complex problem] ## Subproblems (easiest to hardest): 1. [Subproblem A] 2. [Subproblem B, may need A's answer] 3. [Subproblem C, needs A and B] ## Solutions: ### Subproblem 1: [so
175 expert marketing methodologies for AI agents. Free. Open source. MIT licensed. Dunford on positioning. Schwartz on copywriting. Cialdini on persuasion. Ogilvy on advertising. Hormozi on offers. Voss on negotiation.
Analyze paid advertising performance across channels and recommend budget reallocation to maximize ROAS and minimize CAC. Use…
Build profitable Google Ads campaigns by applying Perry Marshall's 80/20 principles to paid search optimization Use when:…
Apply 2026's top graphic design trends to any creative brief. Based on Kittl × Savee's 2026 Design Trends Report (10 trends + 2…
Transformez une image 2D en modèle 3D animé prêt pour le web ou le jeu en moins de 30 minutes, en utilisant le workflow Dilum…
Art direction framework for generating warm minimalist photography via AI image generators (Flux, Midjourney, DALL-E). Separates…
Visual design direction framework organized by emotional intent (Warm/Cold x Active/Calm). The first design reference system that…
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use…
Comprehensive SEO analysis for any website or business type. Full site audits, single-page analysis, technical SEO (crawlability,…
Turn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag",…
Full website GEO+SEO audit with parallel subagent delegation. Orchestrates a comprehensive Generative Engine Optimization audit…