Iterative Retrieval Pattern

•
215k
•

Optimizes context retrieval for AI agents through a multi-stage feedback loop to solve sub-agent context limitations.

The Iterative Retrieval skill implements a sophisticated 4-stage cycle—Dispatch, Evaluate, Refine, and Loop—designed to solve the common 'context problem' in multi-agent workflows. It enables Claude and other AI agents to progressively discover relevant code, learn project-specific terminology, and narrow down search parameters without exceeding context limits. By scoring file relevance and identifying information gaps, this skill ensures agents operate with high-precision context, making it ideal for complex debugging and feature implementation in large-scale repositories.

主な機能

014-Stage Context Optimization Loop (Dispatch, Evaluate, Refine, Loop)
02Multi-agent orchestration support to prevent 'missing context' failures
03Automated relevance scoring (0.0 to 1.0 scale)
04Dynamic Keyword Discovery for codebase-specific terminology
05214,597 GitHub stars
06Token usage optimization through intelligent file exclusion

ユースケース

01Designing high-efficiency RAG-like retrieval pipelines for developer tools
02Feature implementation in large, unfamiliar codebases using sub-agents
03Complex bug fixing requiring deep context across multiple files