iterative-retrieval

Refine context progressively across four phases for multi-agent workflows.

2|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/klu-dev/porting-ecc-to-vscode --skill iterative-retrieval-klu-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/klu-dev/porting-ecc-to-vscode/tree/main/.github/skills/iterative-retrieval
Command: npx skills add https://github.com/klu-dev/porting-ecc-to-vscode --skill iterative-retrieval-klu-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the "context problem" in multi-agent workflows, enabling subagents to refine context progressively to perform their tasks effectively.

Core Features & Use Cases

  • Progressive Context Refinement: Refine context in 4 phases to address subagent context issues.
  • Subagent Context Management: Suitable for scenarios where subagents require unpredictable context.
  • Codebase Exploration: Facilitates design of RAG-like retrieval pipelines for codebase exploration.

Quick Start

Run the 'iterative-retrieval' skill with a task to retrieve and refine context, such as: "Retrieve context for a bug fix task."

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How do I manage unpredictable context for subagents in multi-agent workflows?

Subagent context problems occur when agents lack the specific information needed to execute tasks in multi-agent workflows. They are solved by iteratively refining context from broad queries, progressively narrowing the information scope to deliver precise task context.

How do I design RAG-like retrieval pipelines for codebase exploration?

To design RAG-like retrieval pipelines for codebase exploration, apply an iterative retrieval approach. This method progressively refines context based on initial broad queries, enabling robust evaluation logic to extract relevant code segments effectively.

What is the process for progressive context refinement in multi-agent systems?

Progressive context refinement in multi-agent systems is a four-phase process. It starts with broad queries and iteratively evaluates and narrows the context, ensuring subagents receive progressively refined information for unpredictable tasks.

Does iterative retrieval require any specific dependencies to manage subagent context?

No, iterative retrieval requires no specific dependencies to manage subagent context. It is implemented as standalone scripts, relying on robust internal logic for context evaluation and refinement rather than external libraries.

When should I use an iterative approach for context management?

You should use an iterative approach for context management when subagent workflows require unpredictable context or during codebase exploration. It is designed for scenarios where a single query cannot retrieve sufficiently refined task context.