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 command-ready JSON without executing spawn.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- subagent-spawn-command-builder
- description
- 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.
03 SKILL.md 正文
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
- Profile template:
state/spawn-profiles.template.json - Active profile config:
state/spawn-profiles.json - 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)
Setup
cp skills/subagent-spawn-command-builder/state/spawn-profiles.template.json \
skills/subagent-spawn-command-builder/state/spawn-profiles.json
Then edit spawn-profiles.json.
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
The script prints JSON directly usable for sessions_spawn.
Merge/priority rule
Value resolution order is:
- CLI option (
--model,--thinking, etc.) - Profile value (
profiles.<name>.*) - Defaults value (
defaults.*)
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
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.