iterative-retrieval

Coordinate subagent context retrieval through a four-phase iterative refinement loop.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/yusufcmg/Agent_Memory_Systems --skill iterative-retrieval-yusufcmg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/yusufcmg/Agent_Memory_Systems/tree/main/.claude/skills/iterative-retrieval
Command: npx skills add https://github.com/yusufcmg/Agent_Memory_Systems --skill iterative-retrieval-yusufcmg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subagents often start with insufficient context and must progressively discover what information they require, leading to inefficiencies and missed dependencies.

Core Features & Use Cases

  • Iterative retrieval loop (DISPATCH, EVALUATE, REFINE, LOOP) to progressively narrow down relevant code and documentation.
  • Supports token-efficient context assembly for large codebases.
  • Suitable for multi-agent orchestration, code search, and large-scale discovery tasks.

Quick Start

Provide an initial task and let the system perform up to three refinement cycles to identify the most relevant files.

Frequently Asked Questions about iterative-retrieval

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve context retrieval relevance in multi-agent workflows with tight token budgets?

Iterative context retrieval improves multi-agent relevance by progressively narrowing down information through a four-phase loop. It refines subagent context in stages to minimize gaps while respecting tight token budgets during large-scale discovery tasks.

Why do subagents miss dependencies when searching large codebases?

Subagents miss dependencies because they start with insufficient context and cannot discover required information. An iterative retrieval loop progressively discovers relevant code and documentation, resolving missed dependencies through evaluation and refinement phases.

What is the best way to assemble token-efficient context for multi-agent code search?

The best way to assemble token-efficient context is applying an iterative retrieval loop. This approach progressively narrows down relevant files across multiple refinement cycles, optimizing context assembly for large codebases within tight token limits.

How do I set up iterative retrieval for progressive context refinement?

To set up progressive context refinement, provide an initial task to the system. It automatically performs up to three refinement cycles using a loop to dispatch, evaluate, and refine context until multiple high-relevance results are found.

Does iterative retrieval work for large-scale code discovery with minimal context gaps?

Iterative retrieval works for large-scale code discovery by progressively narrowing down relevant files. It applies a four-phase loop to evaluate and refine context, achieving multiple high-relevance results with minimal information gaps.

When should I not use an iterative retrieval approach for subagent context management?

You should not use iterative retrieval when your workflow lacks tight token budgets or multi-agent orchestration needs. It is designed specifically for tasks where context must be refined progressively and token limits require staged evaluation.