Skip to content
Research
Skill

/got-controller

Graph of Thoughts (GoT) Controller - 管理研究图状态,执行图操作(Generate, Aggregate, Refine, Score),优化研究路径质量。当研究主题复杂或多方面、需要策略性探索(深度 vs 广度)、高质量研究时使用此技能。

From plugin
claude-code-stock-deep-research-agent
3807 skills5 commands

Claude Code

$ npx -y skills add liangdabiao/Claude-Code-Stock-Deep-Research-Agent --skill got-controller --agent claude-code

SKILL.md

got-controller.SKILL.md
name: got-controller
description: Graph of Thoughts (GoT) Controller - 管理研究图状态,执行图操作(Generate, Aggregate, Refine, Score),优化研究路径质量。当研究主题复杂或多方面、需要策略性探索(深度 vs 广度)、高质量研究时使用此技能。

GoT Controller

Role

You are a **Graph of Thoughts (GoT) Controller** responsible for managing research as a graph operations framework. You orchestrate complex multi-agent research using the GoT paradigm, optimizing information quality through strategic generation, aggregation, refinement, and scoring operations.

What is Graph of Thoughts?

Graph of Thoughts (GoT) is a framework inspired by [SPCL, ETH Zürich](https://github.com/spcl/graph-of-thoughts) that models reasoning as a graph where:

  • **Nodes** = Research findings, insights, or conclusions
  • **Edges** = Dependencies and relationships between findings
  • **Scores** = Quality ratings (0-10 scale) assigned to each node
  • **Frontier** = Set of active nodes available for further exploration
  • **Operations** = Transformations that manipulate the graph state

Core GoT Operations

1. Generate(k)

**Purpose**: Create k new research paths from a parent node

**When to Use**:

  • Initial exploration of a topic
  • Expanding on high-quality findings
  • Exploring multiple angles simultaneously

**Implementation**: Spawn k parallel research agents, each exploring a distinct aspect

2. Aggregate(k)

**Purpose**: Combine k nodes into one stronger, comprehensive synthesis

**When to Use**:

  • Multiple agents have researched related aspects
  • You need to combine findings into a cohesive whole
  • Resolving contradictions between sources

**Implementation**: Combine findings, resolve conflicts, extract key insights

3. Refine(1)

**Purpose**: Improve and polish an existing finding without adding new research

**When to Use**:

  • A node has good content but needs better organization
  • Clarifying ambiguous findings
  • Improving citation quality and completeness

**Implementation**: Improve clarity, completeness, citations, structure

4. Score

**Purpose**: Evaluate the quality of a research finding (0-10 scale)

**Scoring Criteria**:

  • **9-10 (Excellent)**: Multiple high-quality sources (A-B), no contradictions, comprehensive
  • **7-8 (Good)**: Adequate sources, minor ambiguities, good coverage
  • **5-6 (Acceptable)**: Mix of source qualities, some contradictions, moderate coverage
  • **3-4 (Poor)**: Limited/low-quality sources, significant contradictions, incomplete
  • **0-2 (Very Poor)**: No verifiable sources, major errors, severely incomplete

5. KeepBestN(n)

**Purpose**: Prune low-quality nodes, keeping only the top n at each level

**When to Use**:

  • Managing graph complexity
  • Focusing resources on high-quality paths
  • Preventing exponential growth of nodes

GoT Research Execution Patterns

Pattern 1: Balanced Exploration (Most Common)

**Use for**: Most research scenarios - balance breadth and depth

Iteration 1: Generate(4) from root
  → 4 parallel research paths
  → Score: [7.2, 8.5, 6.8, 7.9]

Iteration 2: Strategy based on scores
  → High score (8.5): Generate(2) - explore deeper
  → Medium scores (7.2, 7.9): Refine(1) each
  → Low score (6.8): Discard

Iteration 3: Aggregate(3) best nodes
  → 1 synthesis node

Iteration 4: Refine(1) synthesis
  → Final output

Pattern 2: Breadth-First Exploration

**Use for**: Initial research on broad topics

Iteration 1: Generate(5) from root
  → Score all 5 nodes
  → KeepBestN(3)

Iteration 2: Generate(2) from each of the 3 best nodes
  → Score all 6 nodes
  → KeepBestN(3)

Iteration 3: Aggregate(3) best nodes
  → Final synthesis

Pattern 3: Depth-First Exploration

**Use for**: Deep dive into specific high-value aspects

Iteration 1: Generate(3) from root
  → Identify best node (e.g., score 8.5)

Iteration 2: Generate(3) from best node only
  → Score and KeepBestN(1)

Iteration 3: Generate(2) from best child node
  → Score and KeepBestN(1)

Iteration 4: Refine(1) final deep finding

Decision Logic

  • **Generate**: Starting new paths, exploring multiple aspects, diving deeper (threshold: score ≥ 7.0)
  • **Aggregate**: Multiple related findings exist, need comprehensive synthesis
  • **Refine**: Good finding needing polish, citation quality improvement (threshold: score ≥ 6.0)
  • **Prune**: Too many nodes, low-quality findings (criteria: score < 6.0 OR redundant)

Integration with 7-Phase Research Process

  • **Phase 2**: Use Generate to break main topic into subtopics
  • **Phase 3**: Use Generate + Score for multi-agent deployment
  • **Phase 4**: Use Aggregate to combine findings
  • **Phase 5**: Use Aggregate + Refine for synthesis
  • **Phase 6**: Use Score + Refine for quality assurance

Graph State Management

Maintain graph state using this structure:

## GoT Graph State

### Nodes
| Node ID | Content Summary | Score | Parent | Status |
|---------|----------------|-------|--------|--------|
| root | Research topic | - | - | complete |
| 1 | Aspect A findings | 7.2 | root | complete |
| final | Synthesis | 9.3 | [1,2,3] | complete |

### Operations Log
1. Generate(4) from root → nodes [1,2,3,4]
2. Score all nodes → [7.2, 8.5, 6.8, 7.9]
3. Aggregate(4) → final synthesis

Tool Usage

Task Tool (Multi-Agent Deployment)

Launch multiple Task agents in ONE response for Generate operations

TodoWrite (Progress Tracking)

Track GoT operations: Generate(k), Score, KeepBestN(n), Aggregate(k), Refine(1)

Read/Write (Graph Persistence)

Save graph state to files: `research_notes/got_graph_state.md`, `research_notes/got_operations_log.md`

Best Practices

1. **Start Simple**: First iteration: Generate(3-5) from root 2. **Prune Aggressively**: If score < 6.0, prune immediately 3. **Aggregate Strategically**: After 2-3 rounds of generation 4. **Refine Selectively**: Only refine nodes with score ≥ 7.0 5. **Score Consistently**: Use the same criteria throughout

Examples

See [examples.md](examples.md) for detailed usage examples.

Remember

Read more
@liangdabiao
Ships withclaude-code-stock-deep-research-agent

Investment Research Edition - 专业股票投资尽调系统 ⚖️ 免责声明 本研究报告不构成投资建议或推荐。所有投资存在风险,包括本金损失。 重要提示: 本报告仅供教育和信息用途 部分数据需要通过官方渠道验证 过往业绩不代表未来表现 投资决策前请自行进行尽职调查 建议咨询合格的财务顾问 🎓 研究框架 本研究基于 Claude Code Deep Research 系统: 方法论: 8阶段股票投资尽调框架 智能体: 28个并行研究智能体 工具: WebSearch、WebFetch、综合分析

Stars on GitHub

Momentum

stars in total
380
Star history of liangdabiao/Claude-Code-Stock-Deep-Research-Agent on GitHub, a chart by star-history.com
citation-validator

citation-validator

验证研究报告中所有声明的引用准确性、来源质量和格式规范性。确保每个事实性声明都有可验证的来源,并提供来源质量评级。当最终确定研究报告、审查他人研究、发布或分享研究之前使用此技能。

stock-question-refiner

stock-question-refiner

股票投资调研问题细化技能。将用户提供的股票名称/代码细化为结构化的8阶段投资尽调指令。通过提问澄清投资风格(价值/成长/困境反转)、持有周期(短/中/长线)、风险偏好、研究重点,生成符合专业投资研究标准的结构化调研任务。当用户提到股票分析、投资研究、股票尽调时…

stock-research-executor

stock-research-executo…

股票投资调研执行引擎,执行8阶段投资尽调流程。接收stock-question-refiner生成的结构化调研指令,部署多智能体并行研究,生成带引用的投资尽调报告。覆盖:公司事实底座、行业周期、业务拆解、财务质量、股权治理、市场分歧、估值护城河、综合报告。当用…

synthesizer

synthesizer

将多个研究智能体的发现综合成连贯、结构化的研究报告。解决矛盾、提取共识、创建统一叙述。当多个研究智能体完成研究、需要将发现组合成统一报告、发现之间存在矛盾时使用此技能。

More skills from other plugins.

academic-paper-review

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…

@bytedance@bytedanceInstall Skill
last30days

last30days

Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…

@mvanhorn@mvanhornInstall Skill

Questions about got-controller.

Which coding agents can use got-controller?
got-controller installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.