iterative-retrieval

Implement a max-3-cycle protocol for agent sub-tasks with WHY context and coordinator validation.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/barichter/squad --skill iterative-retrieval-barichter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-retrieval
Source: https://github.com/barichter/squad/tree/main/packages/squad-cli/templates/skills/iterative-retrieval
Command: npx skills add https://github.com/barichter/squad --skill iterative-retrieval-barichter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of managing agent sub-tasks by enforcing a structured 3-cycle protocol, ensuring clear context, and validating outputs for quality control.

Core Features & Use Cases

  • 3-Cycle Protocol: Limits sub-agent cycles to 3, with mandatory context and validation.
  • WHY Context: Requires explicit motivation for each sub-agent spawn.
  • Coordinator Validation: Ensures outputs meet success criteria before finalizing tasks.
  • Use Case: Ideal for complex projects where multiple agents need to collaborate, such as software development or research projects.

Quick Start

To initiate a sub-agent task, use the iterative-retrieval skill with the following prompt: "Spawn a sub-agent to complete the task of [Task Description]."

Frequently Asked Questions about iterative-retrieval

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

FAQPage Schema
How do I manage agent sub-tasks to prevent uncontrolled execution cycles?

Structured task management for agent sub-tasks is achieved by enforcing a 3-cycle protocol that limits execution attempts, requires explicit WHY context for each spawn, and validates outputs against success criteria before finalizing work.

What is coordinator validation in multi-agent project coordination?

Coordinator validation in multi-agent project coordination is a mandatory quality control step where a coordinator verifies that sub-agent outputs meet defined success criteria before a task is finalized.

How do I structure work handoffs between agents in complex software development projects?

To structure work handoffs between agents in complex software development projects, implement a protocol requiring clear task definitions, explicit motivation context for each sub-agent, and output validation cycles.

Does the 3-cycle protocol limit sub-agent iterations in task management?

Yes, the 3-cycle protocol limits sub-agent iterations to a maximum of three cycles per task, ensuring structured execution and preventing unbounded cycles in complex project management.

When do I need explicit WHY context for spawning sub-agents?

Explicit WHY context for spawning sub-agents is needed in complex project management to ensure every sub-task has clear motivation and defined success criteria before execution begins.