/install subagent-spawn-command-builder
subagent-spawn-command-builder
Generate sessions_spawn payload JSON from profile config.
This skill does not execute sessions_spawn; it only builds payload/command JSON.
Files
- Builder script:
scripts/build_spawn_payload.mjs - Builder log:
state/build-log.jsonl
Supported sessions_spawn parameters
task(required)label(optional)agentId(optional)model(optional)thinking(optional)runTimeoutSeconds(optional)cleanup(keep|delete, optional)cwd(optional) — working directory for the subagentmode(run|session, optional)
Setup
Read the "Subagent Spawn Profiles" table in TOOLS.md for default values per profile. Pass values as explicit CLI arguments (--model, --thinking, --run-timeout-seconds, --cleanup). The --profile flag is now a logging label, not a lookup key for a config file.
Generate payload
skills/subagent-spawn-command-builder/scripts/build_spawn_payload.mjs \
--profile heartbeat \
--task "Analyze recent context and return a compact summary" \
--label heartbeat-test \
--model claude-sonnet-4-20250514 \
--thinking low \
--run-timeout-seconds 300 \
--cleanup delete
The script prints JSON directly usable for sessions_spawn.
Merge/priority rule
All values come from explicit CLI arguments. --profile is a logging label only (not a config lookup key). Refer to the "Subagent Spawn Profiles" table in TOOLS.md for recommended defaults per profile.
task always comes from CLI --task.
CLI options
Note: this builder is Node.js (.mjs) based. If generated tasks include Python execution steps, write commands with python3 (not python).
--profile(required)--task(required)--label--agent-id--model--thinking--run-timeout-seconds--cleanup keep|delete--cwd \x3Cpath>--mode run|session
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install subagent-spawn-command-builder - 安装完成后,直接呼叫该 Skill 的名称或使用
/subagent-spawn-command-builder触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Subagent Spawn Command Builder 是什么?
Build sessions_spawn command payloads from JSON profiles. Use when you want reusable subagent profiles (model/thinking/timeout/cleanup/agentId/label) and com... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1015 次。
如何安装 Subagent Spawn Command Builder?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install subagent-spawn-command-builder」即可一键安装,无需额外配置。
Subagent Spawn Command Builder 是免费的吗?
是的,Subagent Spawn Command Builder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Subagent Spawn Command Builder 支持哪些平台?
Subagent Spawn Command Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Subagent Spawn Command Builder?
由 Altair(@nextaltair)开发并维护,当前版本 v0.1.4。