What problem does it solve?
This Skill solves the common issue where subagents in multi-agent workflows lack the necessary codebase context upfront, leading to failed tasks, excessive token consumption, or missing critical information needed to complete work.
Core Features & Use Cases
- 4-Phase Iterative Loop: Uses a structured dispatch-evaluate-refine-loop workflow to progressively narrow down relevant context instead of guessing or sending all available code.
- Relevance Scoring: Filters retrieved files by relevance to the task, excluding low-value content to optimize token usage.
- Adaptive Search: Automatically adjusts search criteria based on discovered codebase terminology and identified context gaps.
- Use Case: For example, when building a code analysis agent that needs to fix a bug, use this pattern to automatically pull only the relevant authentication and session management files without overwhelming the agent with unrelated code.
Quick Start
Use the iterative-retrieval skill to gather the exact codebase context needed to implement the rate limiting feature for API endpoints described in your task.