hubeiqiao/skills · Archived

iterative-retrieval

Dispatch subagents with automatic refinement loop until sufficient context is gathered

First seen Apr 16, 2026

Installation

$ npx skills add hubeiqiao/skills --skill iterative-retrieval

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from hubeiqiao/skills · top by installs.

npx skills add hubeiqiao/skills

Browse all from hubeiqiao/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,824 B
  • docs SUMMARY.md 113 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Iterative Subagent Retrieval Protocol

When dispatching a subagent to retrieve information from a source (transcripts, documents, codebases, external data), follow this protocol:

Phase 1: Initial Dispatch

  1. Define the PRIMARY OBJECTIVE - what decision or action does this information support?
  2. Define INITIAL QUERIES - specific items to retrieve
  3. Dispatch subagent with both the queries AND the objective context
  4. Store the returned agent ID

Phase 2: Sufficiency Evaluation

Upon receiving the subagent's summary, perform a critical evaluation:

Ask yourself:

  • Does this summary contain gaps that the objective requires filling?
  • Did the subagent mention adjacent information I didn't ask for but now realize I need?
  • Are there ambiguities in what was returned that require clarification from the source?
  • Would I be confident proceeding with ONLY this information?

Decision:

  • If SUFFICIENT → proceed with task, note agent ID for potential future resumption
  • If INSUFFICIENT → continue to Phase 3

Phase 3: Refinement Request

Resume the subagent using its agent ID with:

  1. Acknowledge what was useful from the initial return
  2. Specify EXACTLY what additional context is needed and WHY
  3. Ask if there's related information the subagent noticed but didn't include

Phase 4: Loop

Repeat Phase 2-3 until:

  • Sufficiency is achieved, OR
  • Maximum 3 refinement cycles reached (prevent infinite loops), OR
  • Subagent confirms source is exhausted

Output Format

When reporting to user or continuing work, note:

  • Total refinement cycles used
  • What additional context was gathered beyond initial request
  • Agent ID for future resumption if needed