What problem does it solve?
This skill solves the common issue of subagents lacking the correct codebase context when spawned for multi-agent workflows, eliminating failures caused by missing information or context limit overflows from sending excessive unfiltered data.
Core Features & Use Cases
- 4-Phase Iterative Loop: Implements a dispatch, evaluate, refine, loop workflow to progressively narrow down relevant context without exceeding token limits.
- Relevance Scoring: Ranks retrieved files on a 0-1 scale to prioritize high-value context and exclude irrelevant content automatically.
- Codebase Terminology Discovery: Automatically learns project-specific naming conventions and patterns during retrieval cycles to improve search accuracy.
- Use Case Example: When spawning a subagent to fix an authentication bug, use this pattern to first retrieve broad auth-related files, then refine the search to find session and JWT utility files in the second cycle.
Quick Start
Use the iterative-retrieval skill to gather all relevant codebase context for the subagent task of implementing rate limiting for public API endpoints.