Files
Szpitale-graph/skills/research/SKILL.md
T
jilinchenandClaude Opus 4.5 f0348451af feat: add items_per_agent execution config
- Add items_per_agent field to control items per agent
- Confirm via AskUserQuestion in /research phase
- Deep research reads from outline config directly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 10:52:35 +08:00

1.7 KiB
Raw Blame History

allowed-tools, description
allowed-tools description
Read, Write, Glob, WebSearch, Task, AskUserQuestion 对目标话题进行初步调研,生成调研outline。用于学术调研、benchmark调研、技术选型等场景。

Research Skill - 初步调研

触发方式

/research <topic>

执行流程

Step 1: 模型内部知识生成初步框架

基于topic,利用模型已有知识生成:

  • 该领域的主要研究对象/items列表
  • 建议的调研字段框架

Step 2: Web Search补充

启动1个web-search-agent(后台),传入topic和当前日期备注,agent自行设计搜索策略补充最新items和字段建议。等待完成后获取搜集知识。

Step 3: 询问用户已有字段

使用AskUserQuestion询问用户是否有已定义的字段文件,如有则读取并合并。

Step 4: 生成Outline(分离文件)

合并所有信息,生成两个文件:

outline.yamlitems + 配置):

  • topic: 调研主题
  • items: 调研对象列表
  • execution:
    • batch_size: 并行agent数量(默认5
    • items_per_agent: 每个agent调研项目数(默认1,需AskUserQuestion确认)
    • output_dir: 结果输出目录(默认./results)

fields.yaml(字段定义):

  • 字段分类和定义
  • 每个字段的name、description、detail_level

Step 5: 输出并确认

  • 创建目录: ./{topic_slug}/
  • 保存: outline.yamlfields.yaml
  • 展示给用户确认

输出路径

{当前工作目录}/{topic_slug}/
  ├── outline.yaml    # items列表 + execution配置
  └── fields.yaml     # 字段定义

后续命令

  • /research-add-items - 补充items
  • /research-add-fields - 补充字段
  • /research-deep - 开始深度调研