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
3627 skills5 commands
Install
$ npx -y skills add liangdabiao/Claude-Code-Stock-Deep-Research-Agent --skill got-controller --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/got-controller

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

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
Ships withclaude-code-stock-deep-research-agent

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

Get the whole plugin