← 返回 Skills 市场
indigas

Agent Spawner

作者 Indigas · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
118
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install claw-agent-spawner
功能描述
Decompose complex tasks into independent subtasks, spawn parallel agents to execute them, then collect and synthesize results efficiently.
使用说明 (SKILL.md)

agent-spawner — Multi-Agent Orchestration

Version: 1.0.0
Author: Claw
Purpose: Decompose complex tasks into subtasks and spawn parallel agents to execute them efficiently.


Overview

The agent-spawner skill turns sequential single-agent workflows into parallel multi-agent workflows. Instead of one agent doing A → B → C sequentially, it spawns 3+ agents to do A, B, C simultaneously, then synthesizes results.

Efficiency gain: 2-4x faster execution for multi-part tasks.


How to Use

1. Receive a complex task

Task examples:

  • "Research the AI automation market in Czech Republic"
  • "Compare these 5 projects: X, Y, Z, A, B"
  • "Build a report on solar panel ROI for residential use"

2. Decompose into subtasks

Use scripts/spawn_planner.py or follow spawn patterns (see references/).

3. Spawn sub-agents

# For each independent subtask:
sessions_spawn \
  task="Execute subtask: \x3Cdescription>" \
  label="subtask-1" \
  mode="run" \
  runtime="subagent"

4. Yield and collect

Use sessions_yield to wait for sub-agents to complete, then collect their outputs via sessions_history.

5. Synthesize results

Combine sub-agent outputs into a coherent final deliverable. Resolve conflicts, merge findings, add context only you possess.


Spawn Patterns

Pattern A: Parallel Research

Use when: Multiple data sources need independent research. Example: "Research pricing for X across 5 competitors"

Spawn: competitor-A-price, competitor-B-price, competitor-C-price...
Collect: price data from each
Synthesize: comparison table

Pattern B: Build + Test + Document

Use when: Need code, tests, and docs simultaneously. Example: "Build a Python CLI tool with tests and documentation"

Spawn: builder (code), tester (tests), writer (docs)
Collect: source files, test results, doc files
Synthesize: complete package

Pattern C: Analyze → Summarize → Format

Use when: Raw data needs analysis, summary, and presentation. Example: "Analyze this dataset and create a visual report"

Spawn: analyzer (data processing), summarizer (insights), formatter (markdown/HTML)
Collect: analysis output, summary, formatted report
Synthesize: final deliverable

Pattern D: Review → Fix → Verify

Use when: Need code review with automated fixes. Example: "Review this codebase and fix all security issues"

Spawn: reviewer (audit), fixer (patches), verifier (tests)
Collect: findings, patches, verification results
Synthesize: reviewed code with changelog

Best Practices

  1. Keep subtasks independent — no shared mutable state between agents
  2. Give clear, self-contained instructions — each agent should not need context from others
  3. Set timeoutSeconds — prevent runaway agents (default: 300)
  4. Use descriptive labels — makes tracking and debugging easier
  5. Synthesize actively — don't just concatenate outputs; create something coherent
  6. One level deep — spawn agents from agents. Don't nest spawns more than 1 level.

Limitations

  • Sub-agents share parent workspace but have isolated sessions
  • Each spawn counts as a separate turn in the parent's context
  • Results are bounded by sub-agent capabilities (model, tool access)
  • No guaranteed ordering — collect results asynchronously

File Structure

agent-spawner/
  SKILL.md                    — This file
  references/
    spawn-patterns.md         — Detailed spawn patterns with examples
    model-selection.md        — When to use which model variant
  scripts/
    spawn_planner.py          — Task decomposition + spawn plan generator

Integration with OpenClaw Tools

This skill leverages:

  • sessions_spawn — create parallel sub-agents
  • sessions_yield — wait for results
  • sessions_history — collect sub-agent outputs
  • subagents — monitor and steer running sub-agents

Pricing

  • Service: Multi-agent task execution — €25-75 depending on complexity
  • Skill: ClawHub distribution — €5-15
  • Consulting: Custom workflow design — €50-150/hr

Version History

Version Date Changes
1.0.0 2026-04-19 Initial release
安全使用建议
This skill appears coherent for orchestrating parallel sub-agents, but consider the following before installing: 1) Ensure your platform enforces per-subagent permissions — spawned agents may read and modify the parent workspace (the docs show applying patches and running tests). 2) Use the recommended timeoutSeconds and limit nesting to avoid runaway or expensive multi-agent runs. 3) Verify that sub-agents cannot access secrets or external network endpoints you don't want shared (restrict model/tool access per subagent). 4) Be aware the included planner script is a simple local analyzer (no network), but it has some minor heuristics/bugs (e.g., crude word-counting for competitors and a simple dependency heuristic); treat its output as a suggestion and review spawn plans before executing. If you need stronger guarantees about safety or data handling, ask for explicit platform-level sandboxing and access controls for spawned sessions.
功能分析
Type: OpenClaw Skill Name: claw-agent-spawner Version: 1.0.0 The 'agent-spawner' skill is a legitimate utility for multi-agent orchestration within the OpenClaw ecosystem. It includes a Python script (`scripts/spawn_planner.py`) that uses basic heuristic logic to decompose complex tasks into subtasks and provides comprehensive documentation (`SKILL.md`, `references/`) on using standard session management tools like `sessions_spawn` and `sessions_yield`. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found; the logic is entirely focused on task parallelization and synthesis.
能力评估
Purpose & Capability
The name/description (spawn parallel agents, synthesize results) match the SKILL.md and included planner script. The skill only references platform session primitives (sessions_spawn, sessions_yield, sessions_history, subagents) which are expected for an orchestrator; no unrelated environment variables, binaries, or external services are required.
Instruction Scope
SKILL.md gives concrete, scoped instructions for decomposing tasks, spawning sub-agents, collecting outputs, and synthesizing results. It explicitly recommends timeouts and one-level deep spawning. The docs and examples include actions like 'apply patches' and 'run tests' — these legitimately imply sub-agents will read/modify repository files in the parent workspace, which is coherent for build/test workflows but increases risk (unintended modifications or data exposure) if the platform's permissions are broad. The instructions do not direct reading of unrelated files or exfiltration to external endpoints.
Install Mechanism
This is instruction-only with a small helper script included; there is no install spec, no downloads, and no archive extraction. The included Python script is local and readable; nothing is pulled from external URLs at install time.
Credentials
The skill declares no required environment variables, credentials, or config paths. The SKILL.md and script likewise do not reference secrets or external tokens. Model names in the plan are placeholders (e.g., 'cheapest', 'capable_coding') but do not imply additional credentials are needed by the skill itself.
Persistence & Privilege
always is false and the skill is user-invocable; autonomous invocation (disable-model-invocation false) is the platform default and not by itself a concern. The skill does instruct spawning subagents (its purpose), but it does not request permanent presence or modification of other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install claw-agent-spawner
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /claw-agent-spawner 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
agent-spawner 1.0.0 — Initial release - Launches a multi-agent orchestration skill for decomposing tasks and running subtasks in parallel. - Documents core spawn patterns for research, build/test/doc, data analysis, and review/fix/verify workflows. - Provides best practices, integration points, and pricing info. - Includes example commands, usage guide, and description of file structure.
元数据
Slug claw-agent-spawner
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Agent Spawner 是什么?

Decompose complex tasks into independent subtasks, spawn parallel agents to execute them, then collect and synthesize results efficiently. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 118 次。

如何安装 Agent Spawner?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install claw-agent-spawner」即可一键安装,无需额外配置。

Agent Spawner 是免费的吗?

是的,Agent Spawner 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agent Spawner 支持哪些平台?

Agent Spawner 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Spawner?

由 Indigas(@indigas)开发并维护,当前版本 v1.0.0。

💬 留言讨论