iterative-retrieval

Iteratively retrieve relevant context files through a four-phase search loop.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Eotel/claude-marketplace --skill iterative-retrieval-eotel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/Eotel/claude-marketplace/tree/main/plugins/base/skills/iterative-retrieval
Command: npx skills add https://github.com/Eotel/claude-marketplace --skill iterative-retrieval-eotel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subagents are spawned with limited context and often cannot determine which files, patterns, or terminology are relevant to a task. This Skill provides a disciplined, iterative approach to gather and refine context so subagents can operate with the right information.

Core Features & Use Cases

  • Four-phase loop (DISPATCH -> EVALUATE -> REFINE -> LOOP) to progressively narrow down context.
  • Relevance scoring and gap identification to surface the most helpful files and terms.
  • Applicable to multi-agent workflows where context needs to be discovered from a codebase, documents, or project terminology.

Quick Start

Initiate the four-phase iterative retrieval loop against your project to surface high-relevance files and converge on enough context.

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How do I gather relevant context for subagents with limited initial context in a multi-agent workflow?

Gather relevant context for subagents by running a four-phase iterative retrieval loop: DISPATCH, EVALUATE, REFINE, and LOOP. This cycle progressively narrows search criteria across the codebase, applying relevance scoring and gap identification to surface necessary files, terms, and patterns.

What is the best way to narrow down search criteria when discovering project terminology and files?

The best way to narrow search criteria is through iterative context refinement. By repeatedly evaluating and refining search results, you converge on high-relevance files and project terminology, ensuring subagents operate with the right information.

How does relevance scoring work when searching a codebase for subagent context?

Relevance scoring during codebase search works by evaluating retrieved files and patterns in the EVALUATE phase, identifying gaps in the current context, and then refining the search parameters in the REFINE phase to progressively surface the most helpful information.

Can I use iterative retrieval to improve search results across documents and codebases?

Yes, you can use iterative retrieval to discover context from codebases, documents, or project terminology. It applies to multi-agent workflows where context needs to be discovered progressively through a cycle-limited convergence loop.

What are the limitations of using a four-phase loop for context refinement?

The four-phase loop relies on cycle-limited convergence, meaning the iterative retrieval process is bounded. If the initial search criteria are too broad or the codebase lacks clear patterns, the subagent may not converge on enough relevant context within the allotted cycles.

Do I need specific dependencies to perform iterative context refinement for subagents?

No specific dependencies are required to perform iterative context refinement. The Skill provides a disciplined approach to progressively narrow search criteria, relying on the four-phase loop mechanism rather than external tools to assemble relevant context.