iterative-retrieval

Iteratively search and score files to refine context retrieval in multi-agent workflows.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/deneb-cygnus-dev/dot-agent --skill iterative-retrieval-deneb-cygnus-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/deneb-cygnus-dev/dot-agent/tree/main/skills/iterative-retrieval
Command: npx skills add https://github.com/deneb-cygnus-dev/dot-agent --skill iterative-retrieval-deneb-cygnus-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge where subagents lack the precise codebase context needed to perform their tasks, preventing errors like missing information or exceeding token limits.

Core Features & Use Cases

  • Progressive Context Refinement: Iteratively searches and evaluates files to build the most relevant context.
  • Handles Unpredictable Needs: Ideal for multi-agent workflows where context requirements aren't known upfront.
  • RAG-like Pipelines: Enables sophisticated retrieval for code exploration and problem-solving.
  • Use Case: When debugging a complex feature, this skill can intelligently identify and gather all relevant files related to authentication and session management, even if the exact file names or patterns aren't initially known.

Quick Start

Use the iterative-retrieval skill to find files related to 'authentication' and 'user sessions' within the 'src' and 'lib' directories.

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How do I get relevant codebase context for subagents when initial file patterns are unknown?

Iterative context retrieval progressively searches and evaluates files to build relevant context, preventing subagents from missing information or exceeding token limits during multi-agent workflows.

What is the best way to refine context retrieval dynamically during codebase exploration?

Progressive context refinement applies iterative searching, relevance scoring, and keyword refinement based on evaluated content to dynamically gather the most relevant files for problem-solving.

Why do my multi-agent workflows lack the precise context needed for bug fixing?

Subagents lack precise context because initial needs are unpredictable. Iterative retrieval solves this by progressively evaluating files and refining search patterns to gather exact requirements.

Can I use iterative retrieval to find files related to authentication without knowing exact names?

Yes, iterative retrieval intelligently identifies and gathers relevant files by refining keywords and patterns, even when exact file names or directory patterns are not initially known.

When do I need progressive context refinement for RAG-like pipelines?

You need progressive context refinement for RAG-like pipelines when handling complex tasks like codebase exploration where initial context requirements are unknown and must be dynamically evaluated.

Does iterative retrieval help with exceeding token limits in subagent workflows?

Iterative retrieval prevents exceeding token limits by progressively searching and evaluating only the most relevant files, ensuring subagents receive precise context without overwhelming them.