AGENT SKILL

retry-research

Search in a retry loop until a result is found, then deliver a researched answer. Demonstrates the tail-recursive fragment (rec/continue).

License 许可
MIT
最近更新
2026-11-06
Stars
★ 0
Forks
0

01 前言 Front Matter

name
retry-research
description
Search in a retry loop until a result is found, then deliver a researched answer. Demonstrates the tail-recursive fragment (rec/continue).

03 SKILL.md 正文

Retry research

Search repeatedly until something is found, then deliver the answer.

{
  "name": "retry-research",
  "roles": ["worker"],
  "capabilities": {
    "search": {"owner": "worker", "add": ["found"]},
    "deliver": {"owner": "worker", "pre": "found", "add": ["answered"]}
  },
  "protocol": [
    {"rec": {"name": "X", "body": [
      {"act": {"cap": "search", "by": "worker"}},
      {"choice": {"by": "worker", "branches": {
        "retry": [{"continue": "X"}],
        "found": []
      }}}
    ]}},
    {"act": {"cap": "deliver", "by": "worker"}}
  ],
  "goal": "answered"
}

04 同仓库更多 Skills