What problem does it solve?
This Skill resolves the common failure mode in multi-agent workflows where subagents lack sufficient codebase context to complete tasks, avoiding the tradeoff between sending excessive context that exceeds token limits and sending insufficient context that leads to missing information and failed executions.
Core Features & Use Cases
- 4-Phase Iterative Loop: Implements a structured Dispatch, Evaluate, Refine, and Loop workflow to progressively narrow down relevant context.
- Relevance Scoring: Evaluates retrieved files against a 0-1 scale to prioritize high-value context and exclude irrelevant content.
- Use Cases: Ideal for bug fix context gathering, feature implementation research, RAG-like code exploration pipelines, and optimizing token usage in agent orchestration.
Quick Start
Use the iterative-retrieval skill to gather the precise codebase context your subagent needs for its task without overwhelming its context window or missing critical information.