Iterative Context Retrieval
Optimizes AI agent context by incrementally searching and refining code retrieval through a multi-step evaluation loop.
Iterative Context Retrieval solves the common 'context problem' in multi-agent workflows where sub-agents often lack the necessary codebase knowledge to perform specialized tasks accurately. By employing a structured four-stage process—Dispatch, Evaluate, Refine, and Loop—this skill allows agents to start with broad intent and systematically narrow down the most relevant files. This prevents context window overflows and reduces 'missing context' failures, ensuring Claude has the precise implementation details needed for complex bug fixes or new feature development without wasting tokens on irrelevant data.
주요 기능
01Explicit gap identification to drive search refinement
02Automated token usage optimization for sub-agents
03156,032 GitHub stars
04Relevance scoring system (0.0 to 1.0) for context quality
05Dynamic codebase terminology and pattern learning
06Four-stage retrieval loop (Dispatch, Evaluate, Refine, Loop)
사용 사례
01Gathering precise context for complex bug fixes in unfamiliar repositories
02Discovering specific project patterns and middleware for new feature implementation
03Optimizing agent orchestration to prevent context window limit failures