iterative-retrieval

Iteratively retrieve and evaluate files and patterns to refine subagent context in multi-agent workflows.

89|19|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/krishnakanthb13/everything-antigravity --skill iterative-retrieval-krishnakanthb13
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/krishnakanthb13/everything-antigravity/tree/main/skills/iterative-retrieval
Command: npx skills add https://github.com/krishnakanthb13/everything-antigravity --skill iterative-retrieval-krishnakanthb13

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subagents start with limited context and often lack awareness of relevant files, patterns, or terminology. This Skill introduces an iterative retrieval loop to progressively refine context, reducing wasted exploration and improving solution quality in multi-agent workflows.

Core Features & Use Cases

  • 4-phase iterative retrieval loop: dispatch, evaluate, refine, loop to build a focused context.
  • Helps subagents discover relevant files, patterns, and terminology without overfetching.
  • Use Case: when addressing a bug or implementing a feature across a large codebase with many files and concepts.

Quick Start

Run the iterative retrieval workflow on a task to progressively refine subagent context.

Frequently Asked Questions about iterative-retrieval

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refine subagent context in a large codebase?

Subagent context is refined using an iterative retrieval loop that progressively discovers files and patterns. The 4-phase loop dispatches, evaluates, refines, and loops to build focused context and reduce wasted exploration in multi-agent workflows.

What is iterative retrieval for multi-agent workflows?

Iterative retrieval is a 4-phase loop that progressively identifies files, terminology, and patterns for subagents. It helps subagents with limited initial context dynamically refine queries and select high-relevance information without overfetching.

When do I need iterative context refinement for subagents?

Iterative context refinement is needed when addressing a bug or implementing a feature across a large codebase. It is essential for multi-agent workflows where subagents lack awareness of relevant files, patterns, or terminology.

How do I implement a retrieval loop for codebase patterns?

Implement the 4-phase loop by dispatching subagents to retrieve files, evaluating relevance, refining queries for missing context, and looping until high-relevance selection criteria are met. This progressively builds a focused context for the task.

Does iterative retrieval work without external dependencies?

Yes, iterative retrieval works without external dependencies. It is an intermediate-level Skill that implements its own dispatch, evaluate, refine, and loop phases internally to dynamically refine subagent context.

Why does my subagent overfetch files and miss relevant patterns?

Subagents overfetch and miss patterns due to limited initial context. The iterative retrieval loop solves this by applying high-relevance selection criteria and dynamic query refinement to progressively focus on necessary files and terminology.