iterative-retrieval

Refine file retrieval across up to three cycles for multi-agent tasks.

4|1|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/rongarede/skill-snapshots --skill iterative-retrieval-rongarede
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/rongarede/skill-snapshots/tree/main/utilities/iterative-retrieval
Command: npx skills add https://github.com/rongarede/skill-snapshots --skill iterative-retrieval-rongarede

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Iterative retrieval solves the subagent context problem by progressively refining relevant files across cycles, reducing noise while staying within context limits.

Core Features & Use Cases

  • Four-phase loop: DISPATCH, EVALUATE, REFINE, and LOOP guide context-aware retrieval.
  • Context-aware scoring: Evaluate candidates by relevance to task and identify gaps to target next.
  • Practical use cases: Improve codebase searches for bug fixes or feature work in multi-agent workflows.

Quick Start

Begin with a broad query to collect candidate files, run a single iteration to assess relevance, then progressively refine queries for up to three cycles and select high-relevance results.

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How do I improve codebase search context for subagents in multi-agent workflows?

Codebase search context for subagents is improved through iterative retrieval, which progressively refines relevant files across cycles to reduce noise while staying within context limits for multi-agent workflows.

What is iterative retrieval for progressive context refinement?

Iterative retrieval is a cyclic process that solves the subagent context problem by progressively evaluating and refining candidate files through a four-phase loop to return high-relevance results with minimal noise.

How do I retrieve relevant files when initial context is insufficient for bug fixes?

When initial context is insufficient for bug fixes, you retrieve relevant files by starting with a broad query, running a single evaluation iteration to assess relevance, and progressively refining queries for up to three cycles.

Does iterative retrieval enforce a limit on refinement cycles?

Iterative retrieval enforces a maximum of three cycles, progressively dispatching, evaluating, and refining context-aware file candidates to identify code patterns without exceeding context limits.

What are the limitations of using iterative retrieval for codebase searches?

Limitations of iterative retrieval include a strict maximum of three cycles for context refinement, meaning highly complex codebase searches with deep terminology gaps may not fully resolve within the enforced loop limit.

Can I use iterative retrieval for feature work in tasks planning?

Iterative retrieval supports feature work in tasks planning by applying context-aware scoring to evaluate candidate files across dispatch, evaluate, refine, and loop phases within multi-agent workflows.