Agent skill
iterative-retrieval
Large context iterative retrieval. For tasks requiring information from many files, retrieves in batches to avoid overwhelming the context window.
Install this agent skill to your Project
npx add-skill https://github.com/WenJunDuan/Rlues/tree/main/vibeCoding/old version/claude/config-agent_v8.0/.claude/skills/iterative-retrieval
SKILL.md
Iterative Retrieval Skill
策略
不要一次性读取所有相关文件。分批检索:
1. sou.search(高优先级关键词) → 核心文件
2. 分析核心文件 → 识别依赖
3. sou.search(依赖关键词) → 补充文件
4. 重复直到上下文充足
与 1M 上下文配合
虽然有 1M 窗口,但无意义地塞满上下文 = 浪费 token + 降低注意力。 精准检索 > 大量加载。
批次大小建议
| 上下文使用量 | 每批文件数 |
|---|---|
| <100K | 5-10 文件 |
| 100K-500K | 3-5 文件 |
| >500K | 1-2 文件 (考虑归档) |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-teams
Path D 并行编排 — 子代理分工 + Agent Teams 协作。需要 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
tdd
Path 分级 TDD 策略
context7
E 阶段按需拉取库文档 — 用 ctx7 获取准确 API 信息
knowledge
跨会话经验管理 — 在 .ai_state 内沉淀和复用项目经验
code-quality
Rev 阶段 Plugin 编排顺序
verification
V 阶段 Path 分级验证清单
Didn't find tool you were looking for?