iterative-retrieval

Refine codebase context retrieval through iterative DISPATCH-EVALUATE-REFINE-LOOP cycles.

7|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/Davie521/claude-skills --skill iterative-retrieval-davie521
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/Davie521/claude-skills/tree/main/plugins/research/skills/iterative-retrieval
Command: npx skills add https://github.com/Davie521/claude-skills --skill iterative-retrieval-davie521

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subagents in multi-agent workflows often start with limited context and must be guided to retrieve relevant codebase information without overwhelming inputs.

Core Features & Use Cases

  • A 4-phase loop (DISPATCH, EVALUATE, REFINE, LOOP) that progressively narrows context.
  • Relevance scoring and dynamic query refinement to minimize data transfer.
  • Applicable for code exploration, debugging, and feature implementation across distributed agent systems.

Quick Start

Initiate a three-cycle process starting with broad file searches, evaluate relevance, then iteratively refine criteria to assemble a high-quality codebase context.

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How do I improve multi-agent context retrieval for subagents with limited starting context?

To improve multi-agent context retrieval, use an iterative process that progressively narrows context via a 4-phase loop. This guides subagents to retrieve relevant codebase information without overwhelming their inputs.

What is the best way to manage token limits when spawning subagents for codebase exploration?

The best way to manage token limits during codebase exploration is applying relevance scoring and dynamic query refinement. This minimizes data transfer by iteratively evaluating and selecting only high-relevance context.

How do I implement an iterative retrieval pipeline for multi-agent workflows?

Implement an iterative retrieval pipeline by initiating a three-cycle process starting with broad file searches, evaluating relevance, then iteratively refining criteria to assemble a high-quality codebase context.

How does the 4-phase loop DISPATCH EVALUATE REFINE LOOP work for codebase context retrieval?

The 4-phase loop works by dispatching broad searches, evaluating relevance, refining dynamic queries to identify explicit gaps, and looping up to three cycles to progressively narrow codebase context.

Can I use iterative retrieval for debugging and feature implementation across distributed agent systems?

Yes, you can use iterative retrieval for debugging and feature implementation across distributed agent systems. The progressive context refinement applies to any multi-agent workflow requiring token-efficient codebase context.