iterative-retrieval
Pattern for progressively refining context retrieval to solve the subagent context problem
Target: Search & knowledge management. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original Chinese text
Topics in the source
- 迭代檢索模式
- 問題
- 解決方案:迭代檢索
- 階段 1:DISPATCH
- 階段 2:EVALUATE
- 階段 3:REFINE
- 階段 4:LOOP
- 實際範例
解決多 agent 工作流程中的「上下文問題」,其中子 agents 在開始工作之前不知道需要什麼上下文。 子 agents 以有限上下文產生。它們不知道: 哪些檔案包含相關程式碼 程式碼庫中存在什麼模式 專案使用什麼術語 標準方法失敗: 傳送所有內容:超過上下文限制 不傳送內容:Agent 缺乏關鍵資訊 猜測需要什麼:經常錯誤 一個漸進精煉上下文的 4 階段循環: 初始廣泛查詢以收集候選檔案: 評估檢索內容的相關性: 評分標準: 高(0.8-1.0):直接實作目標功能 中(0.5-0.7):包含相關模式或類型 低(0.2-0.4):間接相關 無(0-0.2):不相關,排除 基於評估更新搜尋標準: 以精煉標準重複(最多 3 個循環): 在 agent 提示中使用: 1. 從廣泛開始,逐漸縮小 - 不要過度指定初始查詢 2. 學習程式碼庫術語 - 第一個循環通常會揭示命名慣例 3. 追蹤缺失內容 - 明確的缺口識別驅動精煉 4. 在「足夠好」時停止 - 3 個高相關性檔案勝過 10 個普通檔案 5. 自信地排除 - 低相關性檔案不會變得相關 Longform Guide - 子 agent 協調章節 continuous-learning 技能 - 用於隨時間改進的模式 /.claude/agents/ 中的 Agent 定義
- Source repository
- affaan-m/ECC
- Source file
- docs/zh-TW/skills/iterative-retrieval/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:42.752Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.