iterative-retrieval

Automate iterative retrieval to refine context for subagents in multi-agent workflows.

2|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/Throokie/claude-code-skills --skill iterative-retrieval-throokie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/Throokie/claude-code-skills/tree/main/skills/iterative-retrieval
Command: npx skills add https://github.com/Throokie/claude-code-skills --skill iterative-retrieval-throokie

SYSTEM DOCUMENTATION & REQUIREMENTS

Iterative Retrieval Pattern Solves the "context problem" in multi-agent workflows where subagents don't know what context they need until they start working.

What problem does it solve?

Subagents are created with limited context and cannot predict what information will be needed, leading to missed details or wasted effort.

Core Features & Use Cases

  • Four-phase loop: DISPATCH, EVALUATE, REFINE, and LOOP to progressively refine context.
  • Context augmentation: builds increasingly relevant context by discovering files, terms, and gaps.
  • Bounded exploration: max three cycles to avoid over-search and ensure timely results.

Quick Start

Start a new iterative retrieval task for a given objective and allow up to three cycles of dispatch, evaluate, and refine to build sufficient context.

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How do I refine subagent context for multi-agent codebase search?

You can refine subagent context for multi-agent codebase search by automating iterative retrieval, which progressively discovers relevant files and terms through a bounded loop to build sufficient information for task execution.

What is the best way to orchestrate context-sensitive tasks when subagents lack initial information?

Orchestrate context-sensitive tasks using a four-phase loop of DISPATCH, EVALUATE, REFINE, and LOOP, which progressively augments context by evaluating gaps and discovering necessary information as the workflow proceeds.

How does the iterative retrieval pattern solve the context problem in multi-agent workflows?

The iterative retrieval pattern solves the context problem by allowing subagents to discover needed information during execution, progressively augmenting their context with relevant files and terms instead of requiring full knowledge upfront.

Can I limit codebase exploration cycles to avoid over-searching in multi-agent workflows?

Yes, you can limit codebase exploration to a maximum of three cycles, ensuring bounded exploration that prevents over-searching while still allowing sufficient context refinement for the subagents.

When do I need iterative retrieval for task orchestration?

You need iterative retrieval for task orchestration when subagents are created with limited context and cannot predict what information will be required, leading to potential missed details or wasted effort during execution.

What are the limitations of using a bounded loop for subagent context refinement?

The limitation of using a bounded loop for subagent context refinement is the strict maximum of three cycles, which may prevent discovering deeply nested information if the required context exceeds the exploration limit.