iterative-retrieval

Iteratively retrieve and refine codebase context for subagents.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/caovinhphuc/React-OAS-Integration-v4.0 --skill iterative-retrieval-caovinhphuc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/caovinhphuc/React-OAS-Integration-v4.0/tree/main/.claude/skills/iterative-retrieval
Command: npx skills add https://github.com/caovinhphuc/React-OAS-Integration-v4.0 --skill iterative-retrieval-caovinhphuc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Iterative Retrieval addresses the context problem in multi-agent workflows where subagents lack needed context until they begin work, by progressively refining retrieved material.

Core Features & Use Cases

  • 4-phase loop (DISPATCH, EVALUATE, REFINE, LOOP) to iteratively narrow down relevant files.
  • Configurable cycles (max three) to balance depth and performance in code exploration and agent orchestration.
  • Integrates with AI agents to optimize context gathering, reduce token usage, and improve task success in uncertain contexts.

Quick Start

Use this skill to iteratively retrieve and refine codebase context for a new subagent task with up to three cycles.

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How do I refine codebase context for AI subagents when the needed files are unclear?

Iterative retrieval progressively gathers and refines codebase context using a 4-phase loop: DISPATCH, EVALUATE, REFINE, and LOOP, running up to three cycles to narrow down relevant files for subagents.

What is the best way to reduce token usage in multi-agent code exploration tasks?

Reducing token usage in multi-agent code exploration is achieved by iteratively refining retrieved files through up to three cycles, optimizing context gathering before subagents begin execution.

How does iterative retrieval work in RAG-based AI workflows?

Iterative retrieval in RAG workflows works by dispatching initial context, evaluating relevance, refining the file selection, and looping the process up to three times to iteratively narrow down the most relevant codebase context.

Can I configure the retrieval cycles for balancing depth and performance?

Yes, the iterative context retrieval process is configurable with a maximum of three cycles, allowing you to balance context depth and performance in multi-agent orchestration and code exploration tasks.

When do I need iterative context gathering for codebase exploration?

You need iterative context gathering when subagents lack required context until they begin work, requiring progressively refined retrieved material to improve task success in uncertain codebase contexts.

Does iterative retrieval work with existing AI agents and orchestration workflows?

Yes, it integrates with AI agents to optimize context gathering in multi-agent workflows, progressively refining retrieved material to reduce token usage and improve task success in uncertain contexts.