Files
Szpitale-graph/skills/research/deep/SKILL.md
T
jilinchenandClaude Opus 4.5 2d20e5739a feat: add uncertainty marking for research fields
- Add uncertain field to fields.yaml (reserved, auto-filled in deep phase)
- Hard constraint: mark uncertain values with [bu que ding] in field value
- Hard constraint: list uncertain field names in JSON uncertain array

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

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

46 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: 读取调研outline,为每个item启动独立agent进行深度调研。禁用task output。
allowed-tools: Bash, Read, Write, Glob, WebSearch, Task
---
# Research Deep - 深度调研
## 触发方式
`/research-deep`
## 执行流程
### Step 1: 自动定位Outline
在当前工作目录查找 `*/outline.yaml` 文件,读取items列表、execution配置(含items_per_agent)。同时读取同目录下的 `fields.yaml` 获取字段定义。
### Step 2: 断点续传检查
- 检查output_dir下已完成的JSON文件
- 跳过已完成的items
### Step 3: 分批执行
- 按batch_size分批(默认5个agent并行)
- 每个agent负责items_per_agent个项目
- 启动web-search-agent(后台并行,禁用task output
- **硬约束**:仅传入item相关信息和输出路径
- **硬约束**:agent必须自行读取 `{topic}/fields.yaml` 获取字段定义
- **硬约束**:禁止在prompt中直接嵌入字段定义
- **硬约束**:不确定的字段值标注【不确定】,并在JSON末尾uncertain数组中列出该字段名
- 输出结构化JSON到output_dir
### Step 4: 等待与监控
- 等待当前批次完成
- 启动下一批
- 显示进度
### Step 5: 汇总报告
全部完成后输出:
- 完成数量
- 失败/不确定标记的items
- 输出目录
## Agent配置
- 每批并行: 5个agent(可在outline中配置)
- 后台执行: 是
- Task Output: 禁用(agent完成时有明确输出文件)
- 断点续传: 是