iterative-retrieval

Iteratively search and evaluate codebase files to build relevant context sets.

8|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/cyphercr0w/codeck --skill iterative-retrieval-cyphercr0w
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/cyphercr0w/codeck/tree/main/apps/runtime/src/templates/presets/default/ecc/skills/iterative-retrieval
Command: npx skills add https://github.com/cyphercr0w/codeck --skill iterative-retrieval-cyphercr0w

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of providing subagents with the precise codebase context they need, especially when that context is not known upfront.

Core Features & Use Cases

  • Progressive Context Refinement: Iteratively searches and evaluates codebase files to build a relevant context set.
  • Handles Unpredictable Needs: Ideal for scenarios where subagents require specific code snippets or file paths that cannot be determined at the start of a task.
  • RAG-like Pipelines: Enables building sophisticated retrieval augmented generation pipelines for code exploration.
  • Use Case: When debugging a complex issue, this Skill can help an agent discover the relevant files and code sections by starting with broad search terms and progressively narrowing them down based on initial findings.

Quick Start

Use the iterative-retrieval skill to find relevant files for the task 'implement user authentication'.

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How do I dynamically gather codebase context for subagents when initial requirements are underspecified?

Dynamic codebase context gathering for subagents uses an iterative retrieval pattern that progressively searches and evaluates files to build a relevant context set. This approach refines broad search terms into precise code snippets needed for complex agent tasks.

What is the best way to implement progressive context refinement for multi-agent codebase exploration?

Progressive context refinement for multi-agent codebase exploration applies an iterative search mechanism that evaluates initial findings to narrow down relevant file paths. This RAG-like pipeline dynamically discovers the specific code sections required when context is not known upfront.

Can I use iterative search to help agents find relevant files for feature implementation or bug fixing?

Iterative search supports feature implementation and bug fixing by allowing agents to start with broad queries and progressively narrow them down. This dynamic context gathering satisfies the need for precise codebase context when handling unpredictable subagent requirements.

How does iterative context retrieval handle unpredictable codebase search needs in multi-agent systems?

Iterative context retrieval handles unpredictable search needs in multi-agent systems by repeatedly searching and evaluating codebase files based on prior findings. This progressive refinement builds a relevant context set without requiring predetermined file paths or code snippets.

When do I need an iterative retrieval pipeline for codebase exploration instead of a standard search?

An iterative retrieval pipeline is needed for codebase exploration when initial requirements are underspecified and subagents require specific code snippets that cannot be determined at the start. It solves the subagent context problem by dynamically refining search terms based on initial findings.