Iterative Context Retrieval
Optimizes AI context retrieval through a multi-stage feedback loop to solve the 'missing context' problem in complex multi-agent coding workflows.
Iterative Context Retrieval is a sophisticated pattern designed for Claude Code and agentic workflows to overcome the limitations of fixed-context retrieval. By implementing a 4-stage cycle—Dispatch, Evaluate, Refine, and Loop—this skill enables agents to progressively discover the most relevant files and code patterns within a large codebase. It prevents common failures like exceeding context limits or guessing incorrectly by scoring file relevance and refining search criteria based on discovered terminology. This ensures sub-agents have exactly the information they need to perform their tasks accurately while significantly optimizing token usage.