# Send Subagent Spawn Command Builder to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "subagent-spawn-command-builder",
    "name": "Subagent Spawn Command Builder",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/NEXTAltair/subagent-spawn-command-builder",
    "canonicalUrl": "https://clawhub.ai/NEXTAltair/subagent-spawn-command-builder",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/subagent-spawn-command-builder",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=subagent-spawn-command-builder",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/build_spawn_payload.mjs",
      "state/spawn-profiles.template.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "subagent-spawn-command-builder",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-09T13:48:26.080Z",
      "expiresAt": "2026-05-16T13:48:26.080Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=subagent-spawn-command-builder",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=subagent-spawn-command-builder",
        "contentDisposition": "attachment; filename=\"subagent-spawn-command-builder-0.1.4.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "subagent-spawn-command-builder"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/subagent-spawn-command-builder"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/subagent-spawn-command-builder",
    "downloadUrl": "https://openagent3.xyz/downloads/subagent-spawn-command-builder",
    "agentUrl": "https://openagent3.xyz/skills/subagent-spawn-command-builder/agent",
    "manifestUrl": "https://openagent3.xyz/skills/subagent-spawn-command-builder/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/subagent-spawn-command-builder/agent.md"
  }
}
```
## Documentation

### 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: NEXTAltair
- Version: 0.1.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-09T13:48:26.080Z
- Expires at: 2026-05-16T13:48:26.080Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/subagent-spawn-command-builder)
- [Send to Agent page](https://openagent3.xyz/skills/subagent-spawn-command-builder/agent)
- [JSON manifest](https://openagent3.xyz/skills/subagent-spawn-command-builder/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/subagent-spawn-command-builder/agent.md)
- [Download page](https://openagent3.xyz/downloads/subagent-spawn-command-builder)