Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

recursive-swarm递归群

Agent Skill

recursive-swarm 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,421

周安装

344

GitHub Stars

公开资料未说明

下载量

2,724
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:recursive-swarm(递归群)
来源仓库:https://github.com/plgonzalezrx8/recursive-swarm
安装命令:
openclaw skills install recursive-swarm
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install recursive-swarm

简介

用于查找、检索和筛选相关信息,适合根据关键词快速定位结果。

  • 可将有界递归编排分解为独立子问题。
  • 适用于多代理协作处理复杂任务。recursive-swarm 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过 clawhub 安装,建议确认权限范围和维护状态。
  • 需注意是否会触发联网、命令执行或文件读写操作。

SKILL.md

name
recursive-swarm
description
Bounded recursive orchestration for complex tasks that are too large for one agent turn but cleanly decompose into a few independent subproblems. Use for multi-angle research, audits, mixed research+synthesis, or coding projects that benefit from explicit planning, task-tree state, artifact folders, and controlled parallel execution. Keep recursion tight: default max depth 2, hard cap 3, preferred fan-out 2-4, and modest concurrency. Use git worktrees only for coding leaves inside git repos. Do not use for simple one-shot tasks, destructive workflows, or open-ended exploration.

Recursive Swarm

Use this skill to turn one large task into a small, bounded task tree with explicit node state, artifacts, merge points, and audit events.

Use this workflow

Use recursive-swarm only when all of these are true:

  1. The task is too large or messy for one agent turn.
  2. The task has at least 2 meaningful subproblems.
  3. The outputs can be merged back into one answer, report, or code result.

Do not recurse for simple reads, one-shot edits, destructive workflows, or open-ended exploration with no clear output contract.

Defaults

  • Default max depth: 2
  • Hard cap: 3
  • Preferred fan-out per node: 2-4 children
  • Hard cap per node: 5 children
  • Default concurrency: 2-3 active leaves
  • Hard cap concurrency: 5
  • Default max nodes per run: 9
  • Hard cap nodes per run: 15
  • Default workspace mode: artifact folders, not git worktrees
  • Append-only audit log: events.jsonl
  • Use git worktrees only for coding leaves inside a git repo when sibling edits benefit from isolation

Node types

Assign each node one primary type:

  • research — extraction, investigation, analysis
  • coding — implementation, refactor, test work
  • ops — shell, system, or environment workflows
  • browser — web/UI automation
  • synthesis — combine child outputs into one merged result
  • review — challenge weak claims, reconcile conflicts, prune bad findings

Execution routing

Route nodes like this:

  • research, synthesis, review → subagents
  • coding → ACP sessions by default; use worktrees only when useful
  • ops, browser → direct tools or a narrowly scoped subagent if needed
  • destructive, external, or approval-sensitive nodes → pause and ask before execution

Quiet child execution (default)

For routine child runs, prefer silent child completion + parent-owned final delivery.

That means:

  • child sessions do the work
  • child results are harvested from session history and/or artifact files
  • routine child announce steps should reply exactly ANNOUNCE_SKIP
  • the parent/orchestrator sends the one final merged answer to the user

Only allow a child announce message to reach the user when:

  • the child is blocked
  • the child needs approval to continue
  • the child hit a major error the parent must surface immediately
  • the child itself is the intended final user-facing delivery step

Do not let every child produce routine completion chatter in the user channel.

Atomic vs composite rule

Treat a node as atomic when one agent run can finish it without meaningful internal planning.

Examples of atomic nodes:

  • extract top travel dates from the indexed threads
  • summarize one PDF
  • implement one endpoint
  • validate one config file

Treat a node as composite when it clearly breaks into independent workstreams.

Examples of composite nodes:

  • reconstruct a work year from exported messages
  • build a feature spanning backend, frontend, and tests
  • audit a system and produce remediation steps

If a child split feels artificial or the merge plan is vague, stop decomposing.

Workflow

1) Initialize the run

Create a run folder with scripts/init_run.py.

Recommended output layout:

runs/<run-id>/
  tree.json
  events.jsonl
  summary.md
  nodes/
    1/
      spec.json
      notes.md
      result.md

2) Create the root node

Use scripts/upsert_node.py to record the root task and defaults.

Record at minimum:

  • id
  • parentId
  • goal
  • type
  • depth
  • executor
  • status
  • workspaceMode
  • approvalRequired

3) Decompose only when worth it

For each composite node:

  • split into 2-5 children
  • assign node type and executor
  • keep child goals concrete
  • define how the parent will merge the results
  • stop at depth 2 unless there is a strong reason to go to 3

Never recurse just to make the tree look smart.

4) Persist state and audit events

Before executing a node:

  • mark it running
  • create or update nodes/<id>/spec.json
  • note the intended output in nodes/<id>/notes.md
  • append an event to events.jsonl

After executing a node:

  • save the result in nodes/<id>/result.md
  • mark it completed, failed, or waiting_for_approval
  • record artifacts and confidence
  • append an event to events.jsonl

Use these scripts:

  • scripts/upsert_node.py
  • scripts/mark_node.py
  • scripts/list_ready_nodes.py
  • scripts/list_events.py
  • scripts/merge_results.py
  • scripts/render_tree.py

5) Execute leaves

Use scripts/list_ready_nodes.py to identify executable leaves.

Execution guidance:

  • prefer subagents for analysis/synthesis leaves
  • prefer ACP for coding leaves
  • prefer direct tools for small ops/browser leaves
  • keep concurrency modest; avoid flooding the system with low-value leaves
  • when spawning routine child runs, instruct them to keep their work in session/artifacts and reply ANNOUNCE_SKIP during the announce step unless they are blocked or explicitly responsible for final delivery
  • do not clean up or delete child sessions until the parent has harvested the needed results

6) Merge upward

When all child nodes under a parent are complete:

  • harvest child outputs from child result.md, session history, or other saved artifacts
  • use scripts/merge_results.py to bundle child file results when applicable
  • create a parent synthesis or review node if needed
  • write the merged result to the parent result.md

If a child was run in quiet mode with ANNOUNCE_SKIP, treat that as normal. Silence is not failure; it just means the parent owns user-facing delivery.

Use type-aware merge behavior:

  • research → combine evidence, themes, and caveats
  • coding → combine patches, test notes, and integration risks
  • ops → combine findings, risks, and recommended actions
  • review → identify weak claims, contradictions, and missing coverage

Do not silently average conflicting child outputs. Bubble disagreements up.

7) Finish with a skeptical pass

For important runs, add one final review node that:

  • challenges overconfident claims
  • checks whether decomposition went too far or not far enough
  • identifies ambiguous results
  • tightens the final summary

Approval gates

Pause and ask before executing any node that would:

  • write, edit, move, or delete important files
  • install or update software
  • restart services
  • change config
  • send external messages
  • perform destructive system actions

Mark these nodes waiting_for_approval instead of forcing them through.

Worktrees

Do not use git worktrees by default.

Use a worktree only when all of these are true:

  • the node type is coding
  • the target is a git repo
  • sibling coding tasks benefit from isolation
  • there is a plausible merge path afterward

Otherwise keep the node in normal artifact-folder mode.

Stop conditions

Stop decomposing when any of these is true:

  • the node is already atomic
  • the merge plan is unclear
  • decomposition is becoming repetitive
  • depth 2 already produced workable leaves
  • time/cost budget would be wasted by further splitting
  • adding another node would exceed the run budget

References

Read these only if needed:

  • references/tree-schema.json — canonical run and node schema
  • references/example-run.md — example run layout and sample tree
  • references/quiet-mode.md — quiet child execution pattern using ANNOUNCE_SKIP

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.86%
按下载量换算2,611

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills