iterative-retrieve

Guides subagents through a deterministic four-phase file search with relevance scoring.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ItsMattG/property-tracker --skill iterative-retrieve
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieve
Source: https://github.com/ItsMattG/property-tracker/tree/main/.claude/skills/iterative-retrieve
Command: npx skills add https://github.com/ItsMattG/property-tracker --skill iterative-retrieve

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent context retrieval across large codebases causes subagents to miss terminology and relevant files. This protocol defines a disciplined, repeatable process to locate and align context for subagents.

Core Features & Use Cases

  • 4-phase retrieval protocol: Dispatch, Evaluate, Refine, Loop to systematically discover context.
  • Score-based evaluation: Prioritize directly relevant files and surface terminology gaps.
  • Vocabulary bridging: Aligns with evolving codebase terminology to improve subagent accuracy.
  • Workflow integration: Fits AI-assisted code exploration workflows with bounded search cycles.

Quick Start

Invoke the 4-phase context retrieval loop when a subagent requests codebase context to ensure precise file discovery.

Frequently Asked Questions about iterative-retrieve

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

FAQPage Schema
How do I improve context retrieval for subagents in a large codebase?

To improve context retrieval in a large codebase, you can apply a deterministic 4-phase retrieval protocol that guides subagents through dispatch, evaluate, refine, and loop phases to systematically discover relevant files.

Why do subagents miss relevant files during codebase search?

Subagents miss relevant files during codebase search due to inconsistent context retrieval and evolving terminology. A score-based evaluation and vocabulary bridging approach resolves this by aligning file discovery with current codebase terms.

What is the best way to automate context retrieval for subagent operations?

The best way to automate context retrieval for subagent operations is implementing a bounded, multi-phase search loop with clear phase definitions and relevance scoring to ensure deterministic file discovery and prevent infinite cycles.

Can I use a multi-phase search protocol for codebases with evolving terminology?

Yes, you can use a multi-phase search protocol for codebases with evolving terminology. It applies vocabulary bridging to align outdated terms with current files, maintaining subagent accuracy during codebase context retrieval.

How to prevent infinite loops during iterative context retrieval?

To prevent infinite loops during iterative context retrieval, enforce strict loop control with bounded search cycles. This ensures the subagent's dispatch, evaluate, and refine phases terminate predictably within the workflow.