{
  "schemaVersion": "1.0",
  "item": {
    "slug": "chia-splitxch",
    "name": "Chia SplitXCH",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/Koba42Corp/chia-splitxch",
    "canonicalUrl": "https://clawhub.ai/Koba42Corp/chia-splitxch",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/chia-splitxch",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=chia-splitxch",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/api.md",
      "scripts/splitxch.sh"
    ],
    "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. 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. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "chia-splitxch",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T05:56:00.397Z",
      "expiresAt": "2026-05-06T05:56:00.397Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=chia-splitxch",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=chia-splitxch",
        "contentDisposition": "attachment; filename=\"chia-splitxch-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "chia-splitxch"
      },
      "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/chia-splitxch"
    },
    "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/chia-splitxch",
    "agentPageUrl": "https://openagent3.xyz/skills/chia-splitxch/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chia-splitxch/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chia-splitxch/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "SplitXCH Royalty Split Builder",
        "body": "Create complex XCH royalty distribution addresses from natural language descriptions."
      },
      {
        "title": "How It Works",
        "body": "SplitXCH creates special Chia blockchain addresses that automatically split incoming payments to multiple recipients based on configured percentages. The API computes a puzzle address; any XCH sent to that address gets distributed automatically on-chain."
      },
      {
        "title": "Workflow",
        "body": "Parse the user's plain-language split description into recipients with percentages\nConvert percentages to basis points (scale to 9850 total, API adds 150 bps / 1.5% fee)\nFor nested splits (splits-of-splits), build bottom-up: create leaf splits first, then use their addresses as recipients in parent splits\nCall the SplitXCH API via scripts/splitxch.sh or direct curl\nReturn the generated split address and a summary"
      },
      {
        "title": "Basis Points Conversion",
        "body": "10,000 bps = 100%. API fee = 150 bps (1.5%). Recipients get 9,850 bps total.\nFormula: points = round(percentage / 100 * 9850)\nAdjust last recipient so points sum to exactly 9850.\n\nExample: \"Split 60/40 between Alice and Bob\"\n\nAlice: round(0.60 * 9850) = 5910\nBob: 9850 - 5910 = 3940"
      },
      {
        "title": "Building the API Payload",
        "body": "{\n  \"recipients\": [\n    {\"name\": \"Alice\", \"address\": \"xch1...\", \"points\": 5910, \"id\": 1},\n    {\"name\": \"Bob\", \"address\": \"xch1...\", \"points\": 3940, \"id\": 2}\n  ]\n}\n\nSave to a temp file and run:\n\nbash <skill_dir>/scripts/splitxch.sh /tmp/split-payload.json"
      },
      {
        "title": "Nested Splits (>128 recipients or hierarchies)",
        "body": "When the user describes groups within groups:\n\nCreate each leaf-level split first via the API\nUse the returned address as a recipient in the parent split\nEach split level incurs its own 150 bps fee\n\nExample: \"Team A (Alice 50%, Bob 50%) gets 70%, Charlie gets 30%\"\n\nCreate Team A split: Alice 4925 + Bob 4925 = 9850 → returns xch1teamA...\nCreate parent split: TeamA address 6895 + Charlie 2955 = 9850"
      },
      {
        "title": "Validation Rules",
        "body": "All addresses must start with xch1 and be valid bech32m\nMax 128 recipients per split\nAll addresses unique within a split\nEach recipient's points > 0\nPoints must sum to exactly 9850"
      },
      {
        "title": "Output Format",
        "body": "After creating a split, present:\n\nSplit Address: The generated xch1... address\nSummary Table: Each recipient's name, address (truncated), and percentage\nFee Note: \"SplitXCH takes a 1.5% platform fee per split level\"\nUsage: \"Send XCH to this address and it will automatically distribute to all recipients\"\n\nIf nested, show the full tree structure."
      },
      {
        "title": "API Reference",
        "body": "For detailed API docs, validation rules, and error handling, see references/api.md."
      },
      {
        "title": "Important Notes",
        "body": "The user MUST provide valid XCH wallet addresses for all recipients. If addresses are missing, ask for them before calling the API.\nIf the user only provides names and percentages without addresses, list what's needed and ask.\nFor dry runs / previews, show the calculated basis points without calling the API."
      }
    ],
    "body": "SplitXCH Royalty Split Builder\n\nCreate complex XCH royalty distribution addresses from natural language descriptions.\n\nHow It Works\n\nSplitXCH creates special Chia blockchain addresses that automatically split incoming payments to multiple recipients based on configured percentages. The API computes a puzzle address; any XCH sent to that address gets distributed automatically on-chain.\n\nWorkflow\nParse the user's plain-language split description into recipients with percentages\nConvert percentages to basis points (scale to 9850 total, API adds 150 bps / 1.5% fee)\nFor nested splits (splits-of-splits), build bottom-up: create leaf splits first, then use their addresses as recipients in parent splits\nCall the SplitXCH API via scripts/splitxch.sh or direct curl\nReturn the generated split address and a summary\nBasis Points Conversion\n10,000 bps = 100%. API fee = 150 bps (1.5%). Recipients get 9,850 bps total.\nFormula: points = round(percentage / 100 * 9850)\nAdjust last recipient so points sum to exactly 9850.\n\nExample: \"Split 60/40 between Alice and Bob\"\n\nAlice: round(0.60 * 9850) = 5910\nBob: 9850 - 5910 = 3940\nBuilding the API Payload\n{\n  \"recipients\": [\n    {\"name\": \"Alice\", \"address\": \"xch1...\", \"points\": 5910, \"id\": 1},\n    {\"name\": \"Bob\", \"address\": \"xch1...\", \"points\": 3940, \"id\": 2}\n  ]\n}\n\n\nSave to a temp file and run:\n\nbash <skill_dir>/scripts/splitxch.sh /tmp/split-payload.json\n\nNested Splits (>128 recipients or hierarchies)\n\nWhen the user describes groups within groups:\n\nCreate each leaf-level split first via the API\nUse the returned address as a recipient in the parent split\nEach split level incurs its own 150 bps fee\n\nExample: \"Team A (Alice 50%, Bob 50%) gets 70%, Charlie gets 30%\"\n\nCreate Team A split: Alice 4925 + Bob 4925 = 9850 → returns xch1teamA...\nCreate parent split: TeamA address 6895 + Charlie 2955 = 9850\nValidation Rules\nAll addresses must start with xch1 and be valid bech32m\nMax 128 recipients per split\nAll addresses unique within a split\nEach recipient's points > 0\nPoints must sum to exactly 9850\nOutput Format\n\nAfter creating a split, present:\n\nSplit Address: The generated xch1... address\nSummary Table: Each recipient's name, address (truncated), and percentage\nFee Note: \"SplitXCH takes a 1.5% platform fee per split level\"\nUsage: \"Send XCH to this address and it will automatically distribute to all recipients\"\n\nIf nested, show the full tree structure.\n\nAPI Reference\n\nFor detailed API docs, validation rules, and error handling, see references/api.md.\n\nImportant Notes\nThe user MUST provide valid XCH wallet addresses for all recipients. If addresses are missing, ask for them before calling the API.\nIf the user only provides names and percentages without addresses, list what's needed and ask.\nFor dry runs / previews, show the calculated basis points without calling the API."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Koba42Corp/chia-splitxch",
    "publisherUrl": "https://clawhub.ai/Koba42Corp/chia-splitxch",
    "owner": "Koba42Corp",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/chia-splitxch",
    "downloadUrl": "https://openagent3.xyz/downloads/chia-splitxch",
    "agentUrl": "https://openagent3.xyz/skills/chia-splitxch/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chia-splitxch/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chia-splitxch/agent.md"
  }
}