{
  "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": {
    "downloadMode": "redirect",
    "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",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/build_spawn_payload.mjs",
      "state/spawn-profiles.template.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/subagent-spawn-command-builder",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "subagent-spawn-command-builder",
        "body": "Generate sessions_spawn payload JSON from profile config.\nThis skill does not execute sessions_spawn; it only builds payload/command JSON."
      },
      {
        "title": "Files",
        "body": "Profile template: state/spawn-profiles.template.json\nActive profile config: state/spawn-profiles.json\nBuilder script: scripts/build_spawn_payload.mjs\nBuilder log: state/build-log.jsonl"
      },
      {
        "title": "Supported sessions_spawn parameters",
        "body": "task (required)\nlabel (optional)\nagentId (optional)\nmodel (optional)\nthinking (optional)\nrunTimeoutSeconds (optional)\ncleanup (keep|delete, optional)"
      },
      {
        "title": "Setup",
        "body": "cp skills/subagent-spawn-command-builder/state/spawn-profiles.template.json \\\n   skills/subagent-spawn-command-builder/state/spawn-profiles.json\n\nThen edit spawn-profiles.json."
      },
      {
        "title": "Generate payload",
        "body": "skills/subagent-spawn-command-builder/scripts/build_spawn_payload.mjs \\\n  --profile heartbeat \\\n  --task \"Analyze recent context and return a compact summary\" \\\n  --label heartbeat-test\n\nThe script prints JSON directly usable for sessions_spawn."
      },
      {
        "title": "Merge/priority rule",
        "body": "Value resolution order is:\n\nCLI option (--model, --thinking, etc.)\nProfile value (profiles.<name>.*)\nDefaults value (defaults.*)\n\ntask always comes from CLI --task."
      },
      {
        "title": "CLI options",
        "body": "Note: this builder is Node.js (.mjs) based. If generated tasks include Python execution steps, write commands with python3 (not python).\n\n--profile (required)\n--task (required)\n--label\n--agent-id\n--model\n--thinking\n--run-timeout-seconds\n--cleanup keep|delete"
      }
    ],
    "body": "subagent-spawn-command-builder\n\nGenerate sessions_spawn payload JSON from profile config. This skill does not execute sessions_spawn; it only builds payload/command JSON.\n\nFiles\nProfile template: state/spawn-profiles.template.json\nActive profile config: state/spawn-profiles.json\nBuilder script: scripts/build_spawn_payload.mjs\nBuilder log: state/build-log.jsonl\nSupported sessions_spawn parameters\ntask (required)\nlabel (optional)\nagentId (optional)\nmodel (optional)\nthinking (optional)\nrunTimeoutSeconds (optional)\ncleanup (keep|delete, optional)\nSetup\ncp skills/subagent-spawn-command-builder/state/spawn-profiles.template.json \\\n   skills/subagent-spawn-command-builder/state/spawn-profiles.json\n\n\nThen edit spawn-profiles.json.\n\nGenerate payload\nskills/subagent-spawn-command-builder/scripts/build_spawn_payload.mjs \\\n  --profile heartbeat \\\n  --task \"Analyze recent context and return a compact summary\" \\\n  --label heartbeat-test\n\n\nThe script prints JSON directly usable for sessions_spawn.\n\nMerge/priority rule\n\nValue resolution order is:\n\nCLI option (--model, --thinking, etc.)\nProfile value (profiles.<name>.*)\nDefaults value (defaults.*)\n\ntask always comes from CLI --task.\n\nCLI options\n\nNote: this builder is Node.js (.mjs) based. If generated tasks include Python execution steps, write commands with python3 (not python).\n\n--profile (required)\n--task (required)\n--label\n--agent-id\n--model\n--thinking\n--run-timeout-seconds\n--cleanup keep|delete"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/NEXTAltair/subagent-spawn-command-builder",
    "publisherUrl": "https://clawhub.ai/NEXTAltair/subagent-spawn-command-builder",
    "owner": "NEXTAltair",
    "version": "0.1.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}