iterative-retrieval

Narrow relevant information from large codebases through a deterministic 4-phase retrieval loop.

Updated Nov 21, 2025
One-click install
npx skills add https://github.com/MBarry01/dousell-immo --skill iterative-retrieval-mbarry01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/MBarry01/dousell-immo/tree/main/.claude/skills/iterative-retrieval
Command: npx skills add https://github.com/MBarry01/dousell-immo --skill iterative-retrieval-mbarry01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Iterative retrieval addresses the context problem in multi-agent workflows by progressively narrowing down relevant information to feed subagents with just enough context.

Core Features & Use Cases

  • 4-phase loop: DISPATCH, EVALUATE, REFINE, LOOP to iteratively refine context.
  • Dynamic keyword expansion: grows context vocabulary based on evaluations.
  • Use Case: optimizing agent context for code search, analytics tasks, and large repos with limited token budgets.

Quick Start

Provide an initial task description to trigger iterative retrieval for the target project or task.

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 AI agents when working with large codebases and limited token budgets?

Iterative retrieval solves context limits for multi-agent workflows by progressively narrowing relevant information from large codebases. It uses a 4-phase loop to score relevance and dynamically expand keywords, ensuring subagents get precise context without exceeding token budgets.

How does iterative retrieval work for code search and information retrieval?

Iterative retrieval works by running a 4-phase loop: DISPATCH, EVALUATE, REFINE, and LOOP. It scores relevance, applies exclusions to filter noise, and extracts dynamic patterns to progressively narrow context for code search and information retrieval tasks.

Can I use this iterative retrieval process for multi-agent workflows and analytics tasks?

Yes, iterative retrieval is designed for multi-agent workflows and analytics tasks. It optimizes agent context by feeding subagents just enough precise information, which is critical for data analysis tasks operating within limited token budgets.

What is the best way to prevent irrelevant results when extracting context from large documents?

The best way to prevent irrelevant results is using a retrieval loop with relevance scoring and dynamic pattern extraction. By applying exclusions during the evaluation phase, it guards against irrelevant results and ensures only highly relevant context is kept.

Do I need to provide an initial task description to trigger context refinement for my project?

Yes, you need to provide an initial task description to trigger iterative retrieval for the target project. This description acts as the starting point for the loop to begin narrowing down relevant information from your codebase or documents.