ecc-iterative-retrieval

Refine subagent context through a four-phase iterative retrieval loop.

Updated Feb 7, 2026
One-click install
npx skills add https://github.com/karimatayuta/graph-vector-rag --skill ecc-iterative-retrieval
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ecc-iterative-retrieval
Source: https://github.com/karimatayuta/graph-vector-rag/tree/main/.claude/skills/ecc-iterative-retrieval
Command: npx skills add https://github.com/karimatayuta/graph-vector-rag --skill ecc-iterative-retrieval

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Iterative Retrieval Pattern addresses the context problem in multi-agent workflows where subagents start with limited context and need progressively revealed information to identify relevant files, patterns, and terminology.

Core Features & Use Cases

  • Four-phase loop: DISPATCH, EVALUATE, REFINE, and LOOP to incrementally improve context.
  • Context discovery: Learns terminology and patterns from the codebase to guide subsequent searches.
  • Use Case: When integrating a new task across multiple agents, use this pattern to efficiently narrow down the most relevant files and concepts.

Quick Start

Execute the 4-phase iterative retrieval to locate highly relevant context files within a codebase for a given task.

Frequently Asked Questions about ecc-iterative-retrieval

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

FAQPage Schema
How do I discover relevant files in a multi-agent workflow when the initial context is unknown?

To discover relevant files in a multi-agent workflow with unknown context, apply an iterative retrieval pattern that progressively refines subagent context through a four-phase loop of DISPATCH, EVALUATE, REFINE, and LOOP.

What is the best way to narrow down relevant codebase patterns across multiple agents?

The best way to narrow down relevant codebase patterns across multiple agents is using iterative retrieval, which learns terminology and patterns from initial searches to guide subsequent context discovery and relevance-based selection.

How does the four-phase iterative retrieval loop refine context for subagents?

The four-phase iterative retrieval loop refines context by dispatching search tasks, evaluating the relevance of returned information, refining the search parameters based on findings, and looping until cycle limits are met.

When do I need iterative context discovery for multi-agent systems?

You need iterative context discovery for multi-agent systems when subagents start with limited context and must progressively reveal information to identify relevant files, patterns, and terminology within an unknown codebase.

Does iterative retrieval enforce limits on context refinement cycles?

Yes, iterative retrieval enforces strict cycle limits on context refinement cycles, ensuring the progressive discovery of relevant files terminates efficiently while applying relevance-based selection to filter results.

Can I use this context refinement pattern to integrate a new task across multiple agents?

Yes, you can use this context refinement pattern to integrate a new task across multiple agents by efficiently narrowing down the most relevant files and concepts through incremental context discovery and evaluation.