iterative-retrieval
Skill1.5k starsChanged 5 months agoMITView on GitHub
Max-3-cycle protocol for agent sub-tasks with WHY context and coordinator validation. Use when spawning sub-agents to complete scoped work.
41 other projects use a version of this.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- Rojios/everything-claude-codetheir own version, first seen Nov 8, 2026
- ahmadvahidi/skill-atlastheir own version, first seen Nov 8, 2026
- Ashfaqbs/ai-coding-agent-toolkittheir own version, first seen Nov 8, 2026
- github/squadword for word, first seen Nov 8, 2026
- pankaj-mahaur/Agent-Daemontheir own version, first seen Nov 6, 2026
- myths-labs/musetheir own version, first seen Nov 6, 2026
Who's talking about microsoft/waza
- @matsuu.bsky.social“Go実装なんだな。”Bluesky · May 10, 2026 · 4 likes
- postfinance/devcontainer-features“Create a feature that installs waza (https://github.com/microsoft/waza)”GitHub · Aug 14, 2026 · 1 reactions
- @awakecoding.com“The tessl command-line tool uses server-side evals for the agent skills, so you don't have to figure out …”Bluesky · May 15, 2026 · 1 likes
- Azure/azure-sdk-tools“[Discussion][Benchmark] Benchmark framework selection”GitHub · Mar 30, 2026 · 1 reactions
- neilli-sable/dotfiles“Update dependency github:microsoft/waza to v0.40.0”GitHub · Nov 8, 2026
The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 50
Talked about on GitHub and Bluesky (50 times).
On GitHub · 48
- Aug 14, 2026Create a feature that installs waza (https://github.com/microsoft/waza) — postfinance/devcontainer-features1 reaction
- Mar 30, 2026[Discussion][Benchmark] Benchmark framework selection — Azure/azure-sdk-toolssays it tested it1 reaction · 5 comments
- Nov 8, 2026Update dependency github:microsoft/waza to v0.40.0 — neilli-sable/dotfiles0 reactions
- Nov 6, 2026自作 skill に評価(evals)と静的チェックを用意する — oddgai/dotfiles0 reactions
- Nov 2, 2026build(waza): bump pinned waza to 0.39.1 — akunzai/agent-skills0 reactions
43 more on GitHub
- Oct 13, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.9 — y-miyazaki/config0 reactions
- Oct 12, 2026build(waza): bump pinned waza to 0.38.10 — akunzai/agent-skills0 reactions
- Oct 9, 2026Update dependency github:microsoft/waza to v0.38.9 — neilli-sable/dotfiles0 reactions
- Oct 8, 2026[Candidate] microsoft/waza/examples/code-explainer - code-explainer — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] microsoft/waza/.copilot/skills/error-recovery - error-recovery — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] microsoft/waza/.copilot/skills/agent-collaboration - agent-collaboration — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.8 — y-miyazaki/config0 reactions
- Oct 5, 2026chore(deps): bump waza to 0.38.9 — akunzai/agent-skills0 reactions · 1 comment
- Oct 4, 2026Clean up the Google Sheet so the graph gets real topics (Category values, duplicates, empty tabs) — Amitro123/knowledgeBase-Agent0 reactions · 3 comments
- Oct 3, 2026Update dependency github:microsoft/waza to v0.38.8 — neilli-sable/dotfiles0 reactions
- Oct 3, 2026chore: update dependency github:microsoft/waza to latest — daaa1k/skills0 reactions · 3 comments
- Sep 3, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.7 — y-miyazaki/config0 reactions
- Aug 23, 2026Update dependency github:microsoft/waza to v0.38.7 — neilli-sable/dotfiles0 reactions
- Aug 22, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.6 — y-miyazaki/config0 reactions
- Aug 19, 2026Update dependency github:microsoft/waza to v0.38.6 — neilli-sable/dotfiles0 reactions
- Aug 17, 2026spec: replace API paired evaluation with Waza (Copilot-native) — akunzai/agent-skills0 reactions
- Aug 14, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.5 — y-miyazaki/config0 reactions
- Aug 12, 2026Update dependency github:microsoft/waza to v0.38.5 — neilli-sable/dotfiles0 reactions
- Aug 3, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.4 — y-miyazaki/config0 reactions
- Jul 24, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.3 — y-miyazaki/config0 reactions
- Jul 15, 2026Review and improve Waza User Guide documentation — microsoft/vscode-chat-customizations-evaluation0 reactions · 1 comment
- Jul 15, 2026feat(battle-testing-a-skill): add 7 adversarial dimensions missing vs superpowers/waza/academic threat models — tvna/gitapexsays it tested it0 reactions
- Jul 13, 2026feat(evals): add waza eval suites for all skills lacking coverage — tvna/gitapex0 reactions
- Jul 13, 2026ci: add waza check as a non-blocking skill report — tvna/gitapex0 reactions
- Jul 8, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.0 — y-miyazaki/config0 reactions
- Jul 4, 2026skill周り整備 umbrella — happy663/dotfiles0 reactions
- Jun 25, 2026renovate(mise): Update dependency github:microsoft/waza to v0.37.0 — y-miyazaki/config0 reactions
- Jun 3, 2026ci(portable-pr-policy): cache prek, waza, and uv artifacts to speed up the all-files run — tvna/claude-md0 reactions · 1 comment
- Jun 3, 2026ci(portable-pr-policy): prek "against all files" step is slow (~110s cold) -- cache hook envs and waza — tvna/claude-md0 reactions
- Jun 1, 2026Waza user guide: Content feedback — microsoft/vscode-chat-customizations-evaluation0 reactions
- May 31, 2026waza example: — KazuCocoa/specialist-role-cards0 reactions
- May 23, 2026[FEATURE]: Improving the skills for kelp migration and development — BenSchr/kelp-core0 reactions
- May 10, 2026feat(evals): introduce microsoft/waza for skill quality evaluation — iwasa-kosui/kamae-ts0 reactions
- Apr 8, 2026feat(ci): waza-based skill quality checks (Phase 1) — PRD #812 — github/squad0 reactions · 6 comments
- Apr 6, 2026PRD: Skill Security Scanning — Markdown-Aware Scanner for Agent-Executable Instructions — github/squad0 reactions · 3 comments
- Apr 6, 2026feat: Adopt waza ComplianceChecker for skill security scanning — github/squad0 reactions · 1 comment
- Apr 4, 2026PRD: Waza-Based PR Quality Checks for Squad Skills — github/squad0 reactions · 3 comments
- Apr 4, 2026PRD: Waza-Based PR Quality Checks for Squad Skills — diberry/squad0 reactions · 1 comment
- Mar 29, 2026Clean up Copilot CLI session-state after eval runs — ronniegeraghty/hyoka0 reactions · 3 comments
- Mar 27, 2026apr may 2026 — kimtth/azure-openai-llm-notes0 reactions
- Mar 25, 2026Bootstrap azure-net-skills-scenarios for .NET SDK skills measurement using waza — JonathanCrd/azure-net-skills-scenarios0 reactions
- Mar 22, 2026feat: add Waza evaluation suite for skill quality validation — ahmadabdalla/azure-cost-calculator0 reactions · 2 comments
- Mar 5, 2026Skill quality validation against sensei/waza best practices — haileyvictory/azure-building-blocks0 reactions
On Bluesky · 2
- May 10, 2026Go実装なんだな。 — @matsuu.bsky.social4 likes and reposts
- May 15, 2026The tessl command-line tool uses server-side evals for the agent skills, so you don't have to figure out how to do it yourself. I didn't… — @awakecoding.com1 likes and repost
Used with
Projects with it also use project-guidelines-example, configure-ecc and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
HABUBUSSSkillproject-guidelines-example
Also in 14 projects that use this
royaluniondesign-sysSkillconfigure-ecc
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
Also in 9 projects that use this
junimnjwSkillralphinho-rfc-pipeline
RFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.
Also in 9 projects that use this
royaluniondesign-sysSkillcontent-hash-cache-pattern
Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.
Also in 12 projects that use this
junimnjwSkillcarrier-relationship-management
Codified expertise for managing carrier portfolios, negotiating freight rates, tracking carrier performance, allocating freight, and maintaining strategic carrier relationships. Informed by transportation managers with 15+ years experience. Includes scorecarding frameworks, RFP processes, market intelligence, and compliance vetting. Use when managing carriers, negotiating rates, evaluating carrier performance, or building freight strategies.
Also in 7 projects that use this
mstuder-slalomSkillspringboot-security
Spring Security best practices for authn/authz, validation, CSRF, secrets, headers, rate limiting, and dependency security in Java Spring Boot services.
Also in 14 projects that use this
Other versions41 projects use a version of this.
Word for word · 7
- github/gh-aw★ 5.6k100% same
- github/squad★ 3.4k100% same
- Azure/fleet★ 227100% same
- kubefleet-dev/kubefleet★ 164100% same
- microsoft/github-vteam-industry-demos★ 2100% same
- bradygaster/squad★ 0100% same
- microsoft/fsi-banking-payments-dispute-resolution-accelerator★ 0100% same
Edited · 0
None found.
Wrote their own version · 34
- loulanyue/awesome-claude-notes★ 272same name
- Fmarzochi/EGC★ 61same name
- myths-labs/muse★ 38same name
- Ashfaqbs/ai-coding-agent-toolkit★ 27same name
- frankxai/agentic-creator-os★ 10same name
- FaisalAlqarni/sp-ecc★ 9same name
- gongyijie85/dsh-ecc★ 8same name
- Lukasbrujula/claude-code-framework★ 4same name
- PatriotAgenticLLC/better_claude_skillz★ 3same name
- peopleforrester/claude-dotfiles★ 3same name
24 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .squad/copilot-instructions.mdCopilot instructions
- .squad-templates/copilot-instructions.mdCopilot instructions
- .squad/templates/copilot-instructions.mdCopilot instructions
- squad-commandsSkill
- code-explainerSkill
- evidence-judgeSkill
- agent-collaborationSkill
- azd-publishSkill
- coordinator-init-modeSkill
- coordinator-response-modeSkill
- coordinator-source-of-truthSkill
- cross-squad-communicationSkill
- cross-squadSkill
- error-recoverySkill
- git-workflowSkill
- reflectSkill
- reviewer-protocolSkill
- secret-handlingSkill
- session-recoverySkill
- squad-conventionsSkill
- squad-helpSkill
- squadSkill
- squad-version-checkSkill
- test-disciplineSkill
- tiered-memorySkill
- code-explainerSkill
- waza-interactiveSkill
- wazaSkill
- {skill-name}Skill
- squad-conventionsSkill
- {skill-name}Skill
- {skill-name}Skill
- squad-conventionsSkill
- waza-runnerSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 31 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Every agent spawn must include the following four sections.
- Distinctive: line 67
Before accepting agent output and closing an issue, the coordinator must check:
- Distinctive: line 75
If any item fails → do not accept.
- Distinctive: line 81
Retry (cycle N+1): when:
- Distinctive: line 97
Before any agent creates a GitHub issue, it must search for existing open issues to avoid duplicates.
- Distinctive: line 105
If an open issue already covers the same problem → comment on it instead of creating a new one.
- Distinctive: line 106
If no duplicate → proceed to create the issue.
- Distinctive: line 107
Use 2–3 representative keywords from the planned issue title as the search query.
- Distinctive: line 113
Every research or analysis task completed under this protocol MUST end with at least one concrete action before the cycle is closed.
- Distinctive: line 122
If no action is warranted, the agent must explicitly state why and get coordinator sign-off.
“Common” is measured: kept by at least 6 in 10 of the 31 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Iterative Retrieval Skill
Squad agents frequently spawn sub-agents to complete scoped work. Without structure, these handoffs become vague, cycles multiply, and outputs land without being checked. The Iterative Retrieval Pattern caps cycles at 3, mandates WHY context in every spawn, and requires the coordinator to validate agent output before closing an issue.
Spawn Prompt Template
Every agent spawn must include the following four sections. Copy and fill in the template:
## Task
{What you need done — concrete and bounded}
## WHY this matters
{The motivation and context. What system or user goal does this serve? What breaks if skipped?}
## Success criteria
{How you will know the output is correct. Be explicit — list acceptance criteria, not vibes.}
Example:
- [ ] File X exists and contains Y
- [ ] No regressions in existing tests
- [ ] PR is open targeting main with description matching the issue
## Escalation path
{What the agent should do if uncertain or stuck. "Stop and ask me" is valid.}
Example:
- If requirements are ambiguous → stop, comment on the issue, set label status:needs-decision
- If blocked by a dependency → label status:blocked, explain in a comment
- If 3 cycles exhausted without resolution → write a summary to inbox and surface to coordinator3-Cycle Protocol
| Cycle | Description | Exit condition |
| 1 | Initial attempt | Done → coordinator validates. Incomplete → surface delta. |
| 2 | Targeted retry with specific corrections | Done → coordinator validates. Incomplete → one more. |
| 3 | Final attempt with all context from cycles 1–2 | Done or escalate — no cycle 4. |
Rules
- After each cycle, the coordinator evaluates the output against the success criteria before accepting it or spawning the next cycle.
- Objective context forward: each subsequent spawn includes a summary of what was tried and what is still missing — not just a repeat of the original task.
- Cycle 3 exhausted → escalate: write a summary to
.squad/decisions/inbox/, label the issuestatus:needs-decision, and notify the user.
Coordinator Validation Checklist
Before accepting agent output and closing an issue, the coordinator must check:
- All success criteria from the spawn prompt are met
- PR exists and description matches the issue (if code work)
- No obvious regressions (grep for TODO/FIXME introduced, build passes)
- Agent did not silently skip parts of the task
- If the agent reported uncertainty — was it resolved or escalated?
If any item fails → do not accept. Spawn cycle N+1 (up to cycle 3) with specific deltas.
When to Escalate vs Retry
Retry (cycle N+1) when:
- Output is structurally correct but missing specific items
- Agent misunderstood scope (provide more context and re-run)
- Partial success — clearly identified remaining delta
Escalate when:
- Requirements are fundamentally unclear (decision needed)
- 3 cycles complete without convergence
- Agent returned conflicting results across cycles
- Task requires elevated permissions or external action
- The work depends on another issue that isn't done yet
Issue Dedup Check (Mandatory)
Before any agent creates a GitHub issue, it must search for existing open issues to avoid duplicates.
# Check for existing open issues before creating a new one
gh issue list --search "<keywords from your issue title>" --state open- If an open issue already covers the same problem → comment on it instead of creating a new one.
- If no duplicate → proceed to create the issue.
- Use 2–3 representative keywords from the planned issue title as the search query.
Mandatory Output Requirement (Research-Then-Execute)
Every research or analysis task completed under this protocol MUST end with at least one concrete action before the cycle is closed. Acceptable follow-up actions:
- GitHub issue created documenting the findings and next steps
- PR opened implementing a recommendation
- Decision recorded in
.squad/decisions/inbox/ - Documented recommendation with a named assignee and due date
Pure analysis reports without actionable follow-up will be rejected during triage. If no action is warranted, the agent must explicitly state why and get coordinator sign-off.
Anti-Patterns
- Spawning without WHY — agents can't prioritise trade-offs without motivation context.
- Accepting output without validating — one failed check avoids merging broken work.
- Cycle 4+ — if 3 cycles haven't converged, the problem is in the requirements, not the agent.
- Vague success criteria — "looks good" is not a criterion. Use checkboxes.
- Forwarding WHAT without delta — cycle 2+ prompts must include what cycle 1 got wrong.
- Creating issues without dedup check — always search before creating.
- Research without action — delivering analysis with no issue, PR, decision, or assignee is incomplete work.
Examples
Good spawn prompt
## Task
Add an "Iterative Retrieval Protocol" section to `.squad/agents/coordinator/charter.md` explaining
the 3-cycle rule, WHY format, and validation checklist.
## WHY this matters
The coordinator spawns sub-agents on every round. Without a documented protocol, agents run unbounded
cycles and outputs go unvalidated — leading to stale issues and silent failures.
## Success criteria
- [ ] Section "Iterative Retrieval Protocol" exists in charter.md
- [ ] Section documents max-3-cycles rule
- [ ] Section documents WHY format requirement
- [ ] Section contains validation checklist (at least 4 items)
- [ ] No other sections of charter.md are modified
## Escalation path
If the charter.md format is unclear, check another agent charter as a reference.
If uncertain about content, stop and surface to coordinator.Bad spawn prompt (don't do this)
Update the coordinator charter with the iterative retrieval stuff.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

