iterative-retrieval

Refine subagent context through a four-phase iterative retrieval loop.

16|3|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/sehoon787/my-claude --skill iterative-retrieval-sehoon787
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/sehoon787/my-claude/tree/main/skills/ecc/iterative-retrieval
Command: npx skills add https://github.com/sehoon787/my-claude --skill iterative-retrieval-sehoon787

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Iterative retrieval addresses the context problem in multi-agent workflows where subagents don't know what context they need until they start working.

Core Features & Use Cases

  • A 4-phase loop that progressively refines context: DISPATCH, EVALUATE, REFINE, LOOP.
  • Enables context-aware subagent orchestration for codebases, large repositories, and dynamic tasks.
  • Practical use cases include debugging support, feature discovery, and incremental information gathering for scalable prompts.

Quick Start

Run iterative retrieval on the current task to begin with broad queries and progressively refine context through up to three cycles.

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How do I refine context for subagents in a multi-agent workflow?

Subagent context is refined using iterative retrieval, which applies a 4-phase loop (DISPATCH, EVALUATE, REFINE, LOOP) with relevance scoring. It progressively converges on high-quality information through up to three cycles for multi-agent workflows.

What is the best way to manage context size constraints when spawning subagents for codebase tasks?

Iterative retrieval manages context size constraints by starting with broad queries and progressively refining the information given to subagents. This prevents context overload by evaluating and filtering relevance across up to three loop cycles.

How does iterative retrieval work for dynamic codebase context gathering?

Iterative retrieval works by dispatching broad queries, evaluating the returned context for relevance, refining the query based on that evaluation, and looping this process. It converges on necessary codebase context over up to three cycles.

Can I use iterative retrieval for multi-agent workflows with evolving requirements?

Yes, iterative retrieval is designed for multi-agent workflows with evolving requirements. Subagents often do not know what context they need until they start working; the 4-phase loop progressively gathers and refines information to meet these dynamic needs.

When do I need iterative retrieval for subagent orchestration?

Iterative retrieval is needed when spawning subagents that require codebase context, handling complex multi-agent workflows, or facing context size constraints. It solves the problem of subagents not knowing what context they need until they begin working.