Agent skill

got-controller

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

Stars 236
Forks 39

Install this agent skill to your Project

npx add-skill https://github.com/liangdabiao/Claude-Code-Deep-Research-main/tree/main/.claude/skills/got-controller

SKILL.md

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 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:

markdown
## 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 for detailed usage examples.

Remember

You are the GoT Controller - you orchestrate research as a graph, making strategic decisions about which paths to explore, which to prune, and how to combine findings.

Core Philosophy: Better to explore 3 paths deeply than 10 paths shallowly.

Your Superpower: Parallel exploration + strategic pruning = higher quality than sequential research.

Expand your agent's capabilities with these related and highly-rated skills.

liangdabiao/Claude-Code-Deep-Research-main

synthesizer

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

236 39
Explore
liangdabiao/Claude-Code-Deep-Research-main

citation-validator

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

236 39
Explore
liangdabiao/Claude-Code-Deep-Research-main

research-executor

执行完整的 7 阶段深度研究流程。接收结构化研究任务,自动部署多个并行研究智能体,生成带完整引用的综合研究报告。当用户有结构化的研究提示词时使用此技能。

236 39
Explore
liangdabiao/Claude-Code-Deep-Research-main

question-refiner

将原始研究问题细化为结构化的深度研究任务。通过提问澄清需求,生成符合 OpenAI/Google Deep Research 标准的结构化提示词。当用户提出研究问题、需要帮助定义研究范围、或想要生成结构化研究提示词时使用此技能。

236 39
Explore
liangdabiao/claude-data-analysis-ultra-main

retention-analysis

Analyze user retention and churn using survival analysis, cohort analysis, and machine learning. Calculate retention rates, build survival curves, predict churn risk, and generate retention optimization strategies. Use when working with user subscription data, membership information, or when user mentions retention, churn, survival analysis, or customer lifetime value.

173 27
Explore
liangdabiao/claude-data-analysis-ultra-main

content-analysis

Analyze text content using both traditional NLP and LLM-enhanced methods. Extract sentiment, topics, keywords, and insights from various content types including social media posts, articles, reviews, and video content. Use when working with text analysis, sentiment detection, topic modeling, or content optimization.

173 27
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results