Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计通过

breadth-of-thoughtbreadth OF thought 搜索

Agent Skill

breadth-of-thought 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

194

周安装

8

GitHub Stars

4

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:breadth-of-thought(breadth OF thought 搜索)
来源仓库:https://github.com/kimasplund/claude_cognitive_reasoning
仓库路径:skills/breadth-of-thought
安装命令:
npx skills add https://github.com/kimasplund/claude_cognitive_reasoning --skill breadth-of-thought
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/kimasplund/claude_cognitive_reasoning --skill breadth-of-thought

简介

通过广泛分支探索解决方案空间,返回多个可行选项。

  • 采用保守修剪与浅层深度策略,平衡覆盖面与效率。
  • 适合“我的选择是什么?”类的问题,而非单一最优解场景。
  • 使用时需明确约束条件与优先级权重。breadth-of-thought 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装前请核实宿主兼容性(Codex/Claude/Cursor/Gemini CLI)。

SKILL.md

Breadth of Thought Reasoning Methodology

Purpose: Exhaustive exploration of solution spaces through systematic parallel breadth-first reasoning. Maintains multiple hypotheses, explores diverse approaches, and returns 3-5 viable solutions instead of prematurely converging on one.

When to Use Breadth of Thought

✅ Use BoT when:

  • Unknown solution space (you don't know what you don't know)
  • Multiple valid solutions needed (need 3-5 good options, not just 1 best)
  • High-stakes decisions (can't afford to miss viable alternatives)
  • Novel problems (no clear best practice exists)
  • Debugging complex issues (multiple potential root causes)
  • Comprehensive planning (need to evaluate ALL options before deciding)

❌ Don't use BoT when:

  • Clear evaluation criteria exist and you need THE single best solution → Use tree-of-thoughts
  • Problem requires deep sequential reasoning with dependencies → Use self-reflecting-chain
  • Single obvious approach exists → Solve directly
  • Time-critical with simple trade-offs → Quick analysis sufficient

Examples:

  • "Redesign data pipeline: batch, streaming, hybrid, or other?" (unknown space) ✅
  • "System crashes intermittently: network, DB, memory, race, or config?" (multiple causes) ✅
  • "Choose caching strategy: write-through, eventual, hybrid?" (clear criteria - use ToT) ❌
  • "Fix syntax error" (obvious solution) ❌

Breadth vs Depth Comparison

DimensionBreadth of ThoughtTree of Thoughts
ExplorationWide: 8-10 branches per levelDeep: 5 branches → 1 best
PruningConservative: Keep >40%Aggressive: Keep top 1-2
LevelsShallow: 2-3 levelsDeep: 4-6 levels
Output3-5 viable solutions1 optimal solution
Use whenSolution space unknownEvaluation criteria clear
Total exploration50-100 branches25-40 branches
Philosophy"Don't miss anything""Find the best"

Core Methodology: 4-Step Process

Step 1: Solution Space Mapping (8-10 Approaches)

Objective: Identify 8-10 fundamentally distinct approaches

Actions:

  1. Analyze problem from multiple perspectives:

- Technical: Different technologies, architectures, patterns - Business: Different cost models, value propositions - Organizational: Different team structures, processes - Risk: Conservative vs innovative approaches - Timeline: Quick wins vs long-term solutions

  1. Generate 8-10 distinct approaches (not variations)
  2. For each approach, create brief description and viability estimate
  3. Do NOT prune yet - explore all in parallel

Approach Diversity Requirement:

  • Variations: "Use PostgreSQL" vs "Use MySQL" (both relational)
  • Distinct: "Relational DB" vs "Document store" vs "Event sourcing" vs "In-memory cache"

Example (Data Pipeline):

1. **Batch processing** (traditional ETL)
2. **Real-time streaming** (Kafka/Flink)
3. **Micro-batch** (Spark Structured Streaming)
4. **Lambda architecture** (batch + stream hybrid)
5. **Kappa architecture** (stream-only)
6. **Event sourcing** (immutable log)
7. **Change data capture** (DB triggers)
8. **Serverless functions** (FaaS on events)

Deliverable: 8-10 distinct approaches ready for parallel exploration


Step 2: Level 0 Breadth Exploration (Parallel)

Objective: Explore EACH approach in depth with self-reflection

For each of 8-10 approaches:

  1. Research the approach comprehensively
  2. Analyze strengths, weaknesses, constraints
  3. Identify use cases where it excels vs struggles
  4. Estimate feasibility, complexity, risk
  5. Rate confidence (0-100%) in viability
  6. Document trade-offs and assumptions

Exploration Template (per approach):

## Approach [N]: [Name]

### Overview
[2-3 sentence description]

### Strengths
- [Strength 1]
- [Strength 2]
- [Strength 3]

### Weaknesses
- [Weakness 1]
- [Weakness 2]
- [Weakness 3]

### Use Cases
- **Excels when**: [Scenario where this is optimal]
- **Struggles when**: [Scenario where this is problematic]

### Feasibility Assessment
- **Technical**: [Complexity, maturity, team expertise]
- **Operational**: [Maintenance, monitoring, scaling]
- **Business**: [Cost, time-to-market, ROI]

### Confidence: [0-100]%

**Rationale**: [Why this confidence level]

### Key Assumptions
- [Assumption 1]
- [Assumption 2]

Execution Options:

  • With Task tool: Spawn 8-10 parallel tasks for independent exploration
  • Without Task tool: Explore sequentially, using TodoWrite to track progress
  • Hybrid: Use Task for complex approaches, sequential for simpler ones

Deliverable: 8-10 explored approaches with confidence scores


Step 3: Conservative Pruning (Keep >40%)

Objective: Evaluate all branches and prune ONLY the clearly non-viable

Pruning Philosophy: Breadth of Thought is conservative - we keep branches that might work, even if not optimal. Only prune if confidence <40% AND fatal blocker exists.

Actions:

  1. Review all Level 0 explorations
  2. Score each approach:

- Feasibility: Technical, operational, business viability - Completeness: How thoroughly was it explored? - Risk vs Reward: What's the upside/downside balance?

  1. Prune ONLY if:

- Confidence <40% AND - Fatal technical blocker identified AND - No mitigating strategies possible

  1. For retained branches (typically 5-7), document why kept
  2. Rank retained branches for Level 1 expansion

Pruning Examples:

✅ Keep (50% confidence):

  • Approach is technically feasible but has implementation challenges
  • Team lacks expertise but can hire/learn
  • Cost is high but ROI justifies it
  • Reason: Viable with mitigation, worth exploring deeper

❌ Prune (35% confidence):

  • Approach requires technology that doesn't exist yet
  • Violates hard constraint (e.g., regulatory compliance impossible)
  • Cost exceeds budget by 10x with no path to reduce
  • Reason: Fundamentally not viable, no mitigating strategies

Typical Outcome: Prune 2-3 approaches, retain 5-7 for Level 1

Deliverable: 5-7 retained approaches ranked by viability


Step 4: Level 1+ Expansion (5 Sub-Approaches Each)

Objective: For each retained approach, explore 5 variations/implementations

Actions:

  1. Take each of the 5-7 retained approaches from Step 3
  2. For each approach, identify 5 sub-approaches (variations, implementations, configurations)
  3. Explore each sub-approach (same depth as Level 0)
  4. Evaluate and prune conservatively (keep >40%)
  5. (Optional) Level 2: If time allows and depth needed, repeat for top branches

Level 1 Decomposition (per retained approach):

## Level 1: Expanding Approach [N]

### Sub-Approach [N].1: [Variation 1]
[Exploration...]

### Sub-Approach [N].2: [Variation 2]
[Exploration...]

### Sub-Approach [N].3: [Variation 3]
[Exploration...]

### Sub-Approach [N].4: [Variation 4]
[Exploration...]

### Sub-Approach [N].5: [Variation 5]
[Exploration...]

Example (Expanding "Real-time Streaming"):

Approach 2: Real-time Streaming
├─ 2.1: Kafka + Flink
├─ 2.2: Kafka + Spark Streaming
├─ 2.3: AWS Kinesis + Lambda
├─ 2.4: Pulsar + custom processors
└─ 2.5: Redis Streams + Node.js workers

Stopping Criteria:

  • After Level 1: If you have 10-15 viable sub-approaches (sufficient breadth)
  • Continue to Level 2: If approaches still too abstract, need implementation details
  • Maximum Depth: 3 levels (breadth over depth philosophy)

Deliverable: 10-20 viable solutions across all expanded approaches


Final Synthesis: Return Top 3-5 Solutions

Objective: Synthesize exploration into actionable recommendations

Actions:

  1. Review ALL explored branches (Level 0 + Level 1 + Level 2)
  2. Identify top 10-15 branches by confidence score
  3. Group similar approaches together
  4. Select top 3-5 distinct solutions representing different trade-off profiles
  5. For each selected solution, document:

- Full path (e.g., Approach 2 → Sub-approach 2.3) - Confidence score and rationale - Key strengths and weaknesses - Best use case - Implementation considerations

Synthesis Template:

## Breadth of Thought Analysis Complete

### Total Exploration
- **Level 0**: 8 approaches explored → 6 retained
- **Level 1**: 30 sub-approaches explored → 12 retained
- **Total branches analyzed**: 38
- **Time**: [X] minutes

### Top 5 Viable Solutions

#### Solution 1: [Name] (Confidence: [X]%)
- **Path**: Approach [N] → Sub-approach [N.M]
- **Best for**: [Use case where this excels]
- **Strengths**: [Key strengths]
- **Weaknesses**: [Key weaknesses]
- **Implementation**: [Complexity, timeline, resources]

#### Solution 2: [Name] (Confidence: [X]%)
[Same structure...]

#### Solution 3: [Name] (Confidence: [X]%)
[Same structure...]

#### Solution 4: [Name] (Confidence: [X]%)
[Same structure...]

#### Solution 5: [Name] (Confidence: [X]%)
[Same structure...]

### Trade-Off Analysis

**If you prioritize [X]**, choose **Solution [N]**
**If you prioritize [Y]**, choose **Solution [M]**
**If you prioritize [Z]**, choose **Solution [P]**

### Recommendation

Based on [stated priorities/constraints], I recommend:
1. **Primary**: Solution [N] ([X]% confidence)
2. **Alternative**: Solution [M] ([X]% confidence) if [condition]
3. **Backup**: Solution [P] ([X]% confidence) if [condition]

### Branches Not Explored

Due to time/scope constraints, the following were not explored:
- [Potential approach 1]
- [Potential approach 2]

These could be investigated if none of the top 5 solutions work out.

Deliverable: 3-5 viable solutions with clear trade-off analysis


Resource Management

Time Budget (if resource-constrained):

  • Level 0: 15-20 minutes (8-10 approaches)
  • Level 1: 20-30 minutes (5-7 approaches × 5 sub-approaches)
  • Level 2: 15-20 minutes (optional, if time allows)
  • Total: 50-70 minutes maximum

Batch Execution (with Task tool):

  1. Spawn Level 0 tasks in single batch (8-10 tasks)
  2. Wait for completion, evaluate, prune
  3. Spawn Level 1 tasks in batches of 10-15
  4. Monitor time, stop spawning if approaching limit

Early Termination (if time runs out):

  • Evaluate completed branches only
  • Return partial results with note about incomplete exploration
  • State confidence level based on partial coverage

Self-Critique Checklist

After applying BoT methodology, verify:

  • Sufficient Breadth: Did I explore 8-10 approaches at Level 0?
  • Approach Diversity: Are approaches fundamentally different (not variations)?
  • Conservative Pruning: Did I keep all branches >40% confidence?
  • Depth Per Branch: Did each branch get thorough exploration (not surface-level)?
  • Multiple Solutions: Am I returning 3-5 solutions (not just 1 "best")?
  • Trade-Off Clarity: Can user choose based on their priorities?
  • Confidence Validity: Are confidence scores justified by exploration depth?
  • Completeness: Did I explore enough to confidently say "I didn't miss anything major"?

Common Mistakes to Avoid

  1. Premature Pruning: Cutting branches at 50-60% confidence instead of <40%
  2. Depth Over Breadth: Going 5 levels deep on 2 approaches instead of 2 levels on 8 approaches
  3. Variation vs Diversity: Exploring PostgreSQL, MySQL, MariaDB as "3 approaches" (all relational)
  4. Single Winner: Returning only 1 solution like ToT, defeating purpose of BoT
  5. Shallow Exploration: Brief 1-paragraph analyses instead of thorough investigation
  6. Ignoring Unknown Unknowns: Not exploring "wild card" unconventional approaches
  7. Over-Execution: Going to Level 3-4 when Level 2 already gave 20+ viable solutions

Breadth-First vs Depth-First Decision Guide

Problem CharacteristicUse BoT (Breadth)Use ToT (Depth)
Solution spaceUnknown, unexploredWell-understood
Output neededMultiple optionsSingle best
Evaluation criteriaUnclear or multipleClear and agreed
Risk toleranceCan't miss alternativesCan commit to best
Problem noveltyNovel/unprecedentedHas precedents
Time availableModerate (1 hour)Flexible (2+ hours)

Rule of thumb:

  • If you're asking "What are ALL my options?", use Breadth of Thought
  • If you're asking "Which option is BEST?", use Tree of Thoughts

Reference Documentation

Detailed Templates: ~/.claude/skills/breadth-of-thought/references/breadth-of-thought-patterns.md

Includes:

  • Approach exploration template (deep-dive structure)
  • Conservative pruning guidelines (when to keep vs cut)
  • Level transition logic (when to go to Level 2)
  • Trade-off analysis framework
  • Edge case handling (convergence, insufficient diversity)

Summary

Breadth of Thought is a systematic methodology for exhaustive solution space exploration through:

  1. Wide branching (8-10 approaches per level)
  2. Conservative pruning (keep >40% confidence)
  3. Shallow depth (2-3 levels maximum)
  4. Multiple solutions (return top 3-5, not just 1)
  5. Trade-off analysis (help user choose based on priorities)

Use it when you need comprehensive exploration and can't afford to miss viable alternatives. The goal is thorough coverage of solution space, not finding a single optimal answer.

Remember: Breadth of Thought trades depth for coverage. You'll explore more branches but less deeply than Tree of Thoughts. Perfect for "What are my options?" questions, not "Which option is best?" questions.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

27.4%
按下载量换算17

Claude Code

24.36%
按下载量换算15

Gemini CLI

18.75%
按下载量换算12

OpenCode

11.6%
按下载量换算7

windsurf

8.71%
按下载量换算5

github-copilot

3.64%
按下载量换算2

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/kimasplund/claude_cognitive_reasoning --skill breadth-of-thought;npx skills add kimasplund/claude_cognitive_reasoning --skill "breadth-of-thought" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills