build-subagent-spawn-commands
Build sessions_spawn command payloads from JSON profiles. Use when you want reusable subagent profiles (model/thinking/timeout/cleanup/agentId/label) and…
от rondoflow★ 37 звёзд на GitHub
Установить build-subagent-spawn-commands в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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 <path>--mode run|session
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл build-subagent-spawn-commands?
Build sessions_spawn command payloads from JSON profiles. Use when you want reusable subagent profiles (model/thinking/timeout/cleanup/agentId/label) and command-ready JSON without executing spawn.
Как установить скилл build-subagent-spawn-commands?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл build-subagent-spawn-commands запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…