iterative-retrieval

Refines context retrieval across DISPATCH-EVALUATE loops for subagents in multi-agent workflows.

8|1|Updated Dec 6, 2025
One-click install
npx skills add https://github.com/zzh0u/gojet --skill iterative-retrieval-zzh0u
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/zzh0u/gojet/tree/main/.claude/skills/iterative-retrieval
Command: npx skills add https://github.com/zzh0u/gojet --skill iterative-retrieval-zzh0u

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Progressive context retrieval for subagents to determine which files and patterns are relevant before task execution, addressing the challenge of starting with limited context in multi-agent workflows.

Core Features & Use Cases

  • 4-phase loop: DISPATCH, EVALUATE, REFINE, and LOOP to progressively narrow down relevant content.
  • Context discovery: identifies which files, patterns, and terminology are likely to be needed by subagents.
  • Controlled context growth: limits shared data per cycle to respect context constraints.
  • Practical use cases: debugging, codebase onboarding for new subagents, and feature research in large repositories.

Quick Start

Execute an iterative retrieval cycle to gather and progressively refine relevant files for a given task, repeating 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 help subagents discover relevant files when they start with limited context in multi-agent workflows?

Subagent context discovery is handled by progressively refining context retrieval through a four-phase loop of DISPATCH, EVALUATE, REFINE, and LOOP, allowing agents to identify relevant files, patterns, and terminology before task execution.

What is the iterative retrieval pattern for context discovery in large codebases?

Iterative retrieval is a pattern for progressively refining context retrieval to solve the subagent context problem, enforcing a structured workflow that narrows down relevant files and terminology through controlled cycles.

How to use iterative retrieval for codebase onboarding and feature research?

You can use iterative retrieval by executing a retrieval cycle to gather and progressively refine relevant files for a given task, repeating the DISPATCH, EVALUATE, and REFINE phases up to three cycles to produce high-relevance results.

Does the iterative retrieval pattern enforce limits on context growth for subagents?

Yes, the iterative retrieval pattern controls context growth by limiting shared data per cycle to respect context constraints, ensuring subagents do not exceed their operational boundaries during multi-agent workflows.

When should I use an iterative retrieval loop instead of direct context retrieval?

You should use an iterative retrieval loop when subagents start with limited context and need to discover which files, patterns, and terminology are relevant, particularly during debugging, codebase onboarding, and feature research in large repositories.

What are the limitations of using a three-cycle maximum for iterative retrieval?

The iterative retrieval pattern enforces a maximum of three cycles to produce high-relevance results, limiting the depth of context refinement if the codebase requires extensive discovery beyond the controlled phases.