iterative-retrieval
逐步细化上下文检索以解决子智能体上下文问题的模式。当子智能体缺少所需上下文且检索必须跨多轮细化时使用。
机器翻译查看英文原文
Pattern for progressively refining context retrieval to solve the subagent context problem. Use when a subagent lacks the context it needs and retrieval must be refined across passes.
适用对象:搜索与知识管理。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Iterative Retrieval Pattern
- When to Activate
- The Problem
- The Solution: Iterative Retrieval
- Phase 1: DISPATCH
- Phase 2: EVALUATE
- Phase 3: REFINE
- Phase 4: LOOP
Solves the "context problem" in multi-agent workflows where subagents don't know what context they need until they start working. Spawning subagents that need codebase context they cannot predict upfront Building multi-agent workflows where context is progressively refined Encountering "context too large" or "missing context" failures in agent tasks Designing RAG-like retrieval pipelines for code exploration Optimizing token usage in agent orchestration Subagents are spawned with limited context. They don't know: Which files contain relevant code What patterns exist in the codebase What terminology the project uses Standard approaches fail: Send everything: Exceeds context limits Send nothing: Agent lacks critical information Guess what's needed: Often wrong A 4-phase loop that progressively refines context: Initial broad query to gather candidate files: Assess retrieved content for relevance: Scoring criteria: High (0.8-1.0): Directly implements target functionality Medium (0.5-0.7): Contains related patterns or types Low (0.2-0.4): Tangentially related None (0-0.2): Not relevant, exclude Update search criteria based on evaluation: Repeat with refined criteria (max 3 cycles): Use
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- affaan-m/ECC
- 源文件
- skills/iterative-retrieval/SKILL.md
- 固定版本
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:43.917Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。