iterative-retrieval

Iteratively refine search queries to retrieve relevant context for sub-agents.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/yd5768365-hue/caw-cli --skill iterative-retrieval-yd5768365-hue
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/yd5768365-hue/caw-cli/tree/main/everything-claude-code-main/everything-claude-code-main/docs/ja-JP/skills/iterative-retrieval
Command: npx skills add https://github.com/yd5768365-hue/caw-cli --skill iterative-retrieval-yd5768365-hue

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the "context problem" in multi-agent workflows where sub-agents lack sufficient information to begin their tasks, preventing the need to send all or nothing.

Core Features & Use Cases

  • Phased Retrieval: Employs a four-phase loop (Dispatch, Evaluate, Refine, Loop) to iteratively improve context gathering.
  • Dynamic Querying: Adjusts search patterns, keywords, and exclusions based on evaluated relevance and identified gaps.
  • Use Case: When debugging a complex bug, this Skill can intelligently identify and retrieve only the most relevant code files and snippets, avoiding overwhelming the debugging agent with irrelevant information.

Quick Start

Use the iterative retrieval skill to find relevant files for the task 'fix the authentication token expiration bug'.

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How does iterative context retrieval work for sub-agents in multi-agent systems?

Iterative context retrieval works through a four-phase loop: Dispatch, Evaluate, Refine, and Loop. It dynamically adjusts search queries based on relevance scoring and identified information gaps to gather precise context for sub-agents.

How do I retrieve relevant code files when debugging a complex codebase?

To retrieve relevant code files for debugging, apply the phased retrieval loop to dynamically adjust search patterns and keywords. This identifies and extracts only the most relevant snippets, preventing the debugging agent from being overwhelmed.

What is the best way to solve the context problem in multi-agent workflows?

The best way to solve the context problem in multi-agent workflows is using iterative refinement to gather context step-by-step. This prevents sending all or nothing to sub-agents, ensuring they lack no crucial information to begin tasks.

Can I use dynamic querying to adjust search exclusions for codebase navigation?

Yes, you can use dynamic querying to adjust search patterns, keywords, and exclusions during codebase navigation. The evaluation phase identifies information gaps and scores relevance to refine subsequent search queries automatically.

When do I need iterative refinement for information retrieval in software engineering?

You need iterative refinement for information retrieval when working with complex codebases where precise context is crucial. It is applicable when sub-agents lack sufficient information to begin tasks and require dynamically adjusted searches.