foundry-research
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseResearch Skill
研究Skill
Overview
概述
- Purpose: AI-powered research with multiple reasoning strategies
- Scope: Five workflows, persistent thread and session management
- Entry: or user invocation
Skill(foundry:foundry-research)
- 用途:采用多种推理策略的AI驱动型研究工具
- 范围:五种工作流,持久化线程与会话管理
- 入口:或用户调用
Skill(foundry:foundry-research)
Flow
流程
=decision[x?]=user approval(GATE)=sequence→
- **Entry** → [route?]
- [explicit?] → Dispatch → Execute → Persist thread → Response + thread_id
- [thread-id?] → Resume → Dispatch → Execute → Persist thread → Response + thread_id
- [research-id?] → SessionMgmt
- [sessions?] → ListSessions
- [no args?] → (GATE: choose workflow) → AutoRoute → Dispatch → Execute → Persist thread → Response + thread_id
- [deep?] → Start → Poll → Report (background execution)CRITICAL for workflow: Read references/deep-research-workflow.md before execution. Contains required polling strategy and MCP parameters.
deep=决策[x?]=用户审批(GATE)=顺序执行→
- **Entry** → [route?]
- [explicit?] → Dispatch → Execute → Persist thread → Response + thread_id
- [thread-id?] → Resume → Dispatch → Execute → Persist thread → Response + thread_id
- [research-id?] → SessionMgmt
- [sessions?] → ListSessions
- [no args?] → (GATE: choose workflow) → AutoRoute → Dispatch → Execute → Persist thread → Response + thread_id
- [deep?] → Start → Poll → Report (background execution)deepDeep Research Polling Protocol (MANDATORY)
Deep Research轮询协议(强制要求)
BEFORE EVERY status check, you MUST:
- Generate user-facing text about current progress
- Do NOT call deep-research-status immediately after another MCP tool
- Track your check count (max 5)
| Check # | What to Say |
|---|---|
| 1 | "Research underway. Currently in {phase} phase..." |
| 2-3 | "Progress: {queries_completed}/{total} queries done..." |
| 4 | "Still working ({elapsed} minutes)..." |
| 5 | Stop polling, use AskUserQuestion with options |
Stall Detection: Only after AND no progress change.
elapsed_ms > 300000NO INDEPENDENT RESEARCH: While deep research is running, do NOT use WebSearch, WebFetch, or other research tools. The deep research workflow handles all web gathering - doing your own searches is redundant and wastes resources.
每次状态检查前,必须执行以下操作:
- 生成面向用户的当前进度文本
- 请勿在调用其他MCP工具后立即调用deep-research-status
- 跟踪检查次数(最多5次)
| 检查次数 | 提示话术 |
|---|---|
| 1 | "研究进行中,当前处于{phase}阶段..." |
| 2-3 | "进度:已完成{queries_completed}/{total}个查询..." |
| 4 | "仍在处理中(已耗时{elapsed}分钟)..." |
| 5 | 停止轮询,使用AskUserQuestion并提供选项 |
停滞检测:仅当且无进度变化时触发。
elapsed_ms > 300000禁止独立研究:当deep research运行时,请勿使用WebSearch、WebFetch或其他研究工具。deep research工作流会处理所有网络信息收集操作——自行搜索属于冗余操作,会浪费资源。
MCP Tooling
MCP工具集
| Router | Actions |
|---|---|
| |
| 路由 | 操作 |
|---|---|
| |
MCP Contract
MCP协议
| Action | Required | Optional | Errors |
|---|---|---|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | - | |
| | - | |
| - | | - |
| | - | |
| | | |
| | - | |
| | | |
| | | |
| | - | |
| 操作 | 必填项 | 可选项 | 错误类型 |
|---|---|---|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | - | |
| | - | |
| - | | - |
| | - | |
| | | |
| | - | |
| | | |
| | | |
| | - | |
Workflow Selection
工作流选择
| Signal | Workflow |
|---|---|
| Follow-up, iteration | |
| Multiple perspectives | |
| Complex problem | |
| Brainstorming | |
| Comprehensive research, multiple sources | |
| 触发信号 | 工作流 |
|---|---|
| 跟进、迭代 | |
| 多视角分析 | |
| 复杂问题 | |
| 头脑风暴 | |
| 全面研究、多数据源 | |
User Gates
用户交互节点
- No args: workflow selection
- Ambiguous: clarify before auto-route
- Consensus: strategy selection
- Ideate: phase transition
- Deep: progress updates during background execution
- 无参数:选择工作流
- 指令模糊:自动路由前先澄清
- Consensus:策略选择
- Ideate:阶段转换
- Deep:后台执行时的进度更新
Output Formats
输出格式
| Workflow | Response |
|---|---|
| |
| |
| |
| |
| |
| 工作流 | 响应内容 |
|---|---|
| |
| |
| |
| |
| |
References
参考文档
- Chat | Consensus | Deep
- ThinkDeep | Ideate
- Sessions | Auto-Route
- Chat | Consensus | Deep
- ThinkDeep | Ideate
- Sessions | Auto-Route