What problem does it solve?
Subagents in multi-agent workflows lack upfront knowledge of which codebase context they need, leading to context limit overflows, missing critical information, or wasted tokens sending irrelevant files. This Skill solves that by progressively refining context retrieval to deliver only the most relevant files for the task.
Core Features & Use Cases
- 4-Phase Iterative Workflow: Dispatch initial broad queries, evaluate file relevance, refine search criteria, and loop up to 3 times to narrow down context.
- Relevance Scoring: Rates files on a 0-1 scale to prioritize high-value context and exclude irrelevant content.
- Use Cases: Ideal for debugging bugs (e.g., finding auth-related files for a token expiry issue), implementing new features (e.g., locating rate limiting patterns), building code RAG pipelines, and optimizing token usage in agent orchestration.
Quick Start
Use the iterative-retrieval skill to gather all relevant context files needed to fix the authentication token expiry bug in the project codebase.