{
  "schemaVersion": "1.0",
  "item": {
    "slug": "alibaba-cloud-model-setup",
    "name": "Alibaba Cloud Model Setup",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/extraterrest/alibaba-cloud-model-setup",
    "canonicalUrl": "https://clawhub.ai/extraterrest/alibaba-cloud-model-setup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/alibaba-cloud-model-setup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=alibaba-cloud-model-setup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "agents/openai.yaml",
      "references/openclaw_alibaba_cloud.md",
      "scripts/alibaba_cloud_model_setup.py"
    ],
    "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": "alibaba-cloud-model-setup",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T18:47:38.606Z",
      "expiresAt": "2026-05-06T18:47:38.606Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=alibaba-cloud-model-setup",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=alibaba-cloud-model-setup",
        "contentDisposition": "attachment; filename=\"alibaba-cloud-model-setup-0.1.4.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "alibaba-cloud-model-setup"
      },
      "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/alibaba-cloud-model-setup"
    },
    "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/alibaba-cloud-model-setup",
    "agentPageUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup/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": "Overview",
        "body": "Use this skill to configure Alibaba Cloud Bailian as an OpenClaw model provider with minimal manual editing. Supports both Pay-As-You-Go (按量付费) and Coding Plan (订阅制) subscription types."
      },
      {
        "title": "1️⃣ Fixed Provider Name",
        "body": "Provider: bailian (not \"balian\" - typo fixed!)"
      },
      {
        "title": "2️⃣ 5 Site Options",
        "body": "Plan TypeSiteBase URLPay-As-You-GoChina (CN)https://dashscope.aliyuncs.com/compatible-mode/v1Pay-As-You-GoInternational (INTL)https://dashscope-intl.aliyuncs.com/compatible-mode/v1Pay-As-You-GoUS (US)https://dashscope-us.aliyuncs.com/compatible-mode/v1Coding PlanChina (CN)https://coding.dashscope.aliyuncs.com/v1Coding PlanInternational (INTL)https://coding-intl.dashscope.aliyuncs.com/v1"
      },
      {
        "title": "3️⃣ Flagship Model Series (4 series, 2-3 generations each)",
        "body": "Qwen-Max (Best Performance):\n\nqwen-max\nqwen-max-2025-01-25\n\nQwen-Plus (Balanced):\n\nqwen-plus\nqwen-plus-2025-01-15\n\nQwen-Flash (Fast & Cost-Effective):\n\nqwen-flash\nqwen-flash-2025-01-15\n\nQwen-Coder (Code Specialist):\n\nqwen3-coder-plus\nqwen3-coder-next\nqwen2.5-coder-32b-instruct"
      },
      {
        "title": "4️⃣ Latest Qwen Models (Available for All Users)",
        "body": "qwen3.5-plus\nqwen3-max-2026-01-23"
      },
      {
        "title": "5️⃣ Coding Plan Exclusive Models (Third-Party)",
        "body": "MiniMax-M2.5 (MiniMax)\nglm-5 / glm-4.7 (智谱 AI)\nkimi-k2.5 (月之暗面)\n\nTotal:\n\nPay-As-You-Go: 11 models (4 flagship series + 2 latest Qwen)\nCoding Plan: 15 models (Pay-As-You-Go + 4 third-party exclusive)"
      },
      {
        "title": "Workflow",
        "body": "Confirm plan type: Pay-As-You-Go or Coding Plan\nSelect site: Based on plan type (3 options for Pay-As-You-Go, 2 for Coding Plan)\nRun interactive script to collect:\n\nAPI key (with validation)\nAPI key storage mode (env-var recommended or inline)\nPrimary model selection\nWhether to set as default model\n\n\nValidate API key against selected site before config write\nBackup existing config before modification\nUpdate config with provider, models, and defaults\nValidate JSON and report final status"
      },
      {
        "title": "Run Script",
        "body": "Execute:\n\npython3 scripts/alibaba_cloud_model_setup.py\n\nOptional flags for non-interactive use:\n\npython3 scripts/alibaba_cloud_model_setup.py \\\n  --plan-type coding \\\n  --site cn \\\n  --api-key-source env \\\n  --env-var DASHSCOPE_API_KEY \\\n  --models qwen3.5-plus,qwen3-max-2026-01-23,qwen3-coder-plus \\\n  --model qwen3.5-plus \\\n  --set-default\n\nList available models (no config write):\n\npython3 scripts/alibaba_cloud_model_setup.py \\\n  --plan-type coding \\\n  --site cn \\\n  --list-models \\\n  --non-interactive"
      },
      {
        "title": "Safety Rules (Mandatory)",
        "body": "Always run python3 scripts/alibaba_cloud_model_setup.py for configuration changes.\nNever edit ~/.openclaw/openclaw.json manually when this skill is used.\nAlways validate API key before writing config.\nAlways create backup before overwriting existing config.\nIn environment-variable mode, never proceed to config write unless env detection succeeds."
      },
      {
        "title": "Default Behavior",
        "body": "Detect config path in this order:\n\n~/.openclaw/openclaw.json\n~/.moltbot/moltbot.json\n~/.clawdbot/clawdbot.json\n\n\nIf none exists, create ~/.openclaw/openclaw.json\nWrite provider bailian with OpenAI-compatible API mode\nCreate a timestamped backup before overwriting an existing file\nPreserve unrelated config sections\nSet models.mode to merge to preserve other providers"
      },
      {
        "title": "Validation Checklist",
        "body": "After configuration:\n\nConfirm JSON is valid by running python3 -m json.tool <config-path>.\nEnsure models.providers.bailian.baseUrl matches site selection.\nEnsure models.providers.bailian.models contains expected model IDs.\nEnsure agents.defaults.model.primary is bailian/<model-id> when default is enabled.\nStart dashboard (openclaw dashboard) or TUI (openclaw tui) and verify model call succeeds."
      },
      {
        "title": "Coding Plan China Site",
        "body": "{\n  \"models\": {\n    \"mode\": \"merge\",\n    \"providers\": {\n      \"bailian\": {\n        \"baseUrl\": \"https://coding.dashscope.aliyuncs.com/v1\",\n        \"apiKey\": \"YOUR_API_KEY\",\n        \"api\": \"openai-completions\",\n        \"models\": [\n          {\n            \"id\": \"qwen3.5-plus\",\n            \"name\": \"Qwen3.5 Plus\",\n            \"reasoning\": false,\n            \"input\": [\"text\", \"image\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 1000000,\n            \"maxTokens\": 65536\n          },\n          {\n            \"id\": \"qwen3-max-2026-01-23\",\n            \"name\": \"Qwen3 Max 2026-01-23\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 262144,\n            \"maxTokens\": 65536\n          },\n          {\n            \"id\": \"qwen3-coder-next\",\n            \"name\": \"Qwen3 Coder Next\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 262144,\n            \"maxTokens\": 65536\n          },\n          {\n            \"id\": \"qwen3-coder-plus\",\n            \"name\": \"Qwen3 Coder Plus\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 1000000,\n            \"maxTokens\": 65536\n          },\n          {\n            \"id\": \"MiniMax-M2.5\",\n            \"name\": \"MiniMax M2.5\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 204800,\n            \"maxTokens\": 131072\n          },\n          {\n            \"id\": \"glm-5\",\n            \"name\": \"GLM-5\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 202752,\n            \"maxTokens\": 16384\n          },\n          {\n            \"id\": \"glm-4.7\",\n            \"name\": \"GLM-4.7\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 202752,\n            \"maxTokens\": 16384\n          },\n          {\n            \"id\": \"kimi-k2.5\",\n            \"name\": \"Kimi K2.5\",\n            \"reasoning\": false,\n            \"input\": [\"text\", \"image\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 262144,\n            \"maxTokens\": 32768\n          }\n        ]\n      }\n    }\n  },\n  \"agents\": {\n    \"defaults\": {\n      \"model\": {\n        \"primary\": \"bailian/qwen3.5-plus\"\n      },\n      \"models\": {\n        \"bailian/qwen3.5-plus\": {},\n        \"bailian/qwen3-max-2026-01-23\": {},\n        \"bailian/qwen3-coder-next\": {},\n        \"bailian/qwen3-coder-plus\": {},\n        \"bailian/MiniMax-M2.5\": {},\n        \"bailian/glm-5\": {},\n        \"bailian/glm-4.7\": {},\n        \"bailian/kimi-k2.5\": {}\n      }\n    }\n  }\n}"
      },
      {
        "title": "References",
        "body": "Endpoint and field conventions: references/openclaw_alibaba_cloud.md\n\nVersion: 0.1.4\nUpdated: 2026-03-02\nChanges: Fixed provider name typo (balian → bailian), added Coding Plan support, 5 site options, 11 models for Pay-As-You-Go (flagship + latest Qwen), 15 models for Coding Plan (+4 third-party exclusive)"
      }
    ],
    "body": "Alibaba Cloud Model Setup (Bailian)\nOverview\n\nUse this skill to configure Alibaba Cloud Bailian as an OpenClaw model provider with minimal manual editing. Supports both Pay-As-You-Go (按量付费) and Coding Plan (订阅制) subscription types.\n\nKey Features\n1️⃣ Fixed Provider Name\nProvider: bailian (not \"balian\" - typo fixed!)\n2️⃣ 5 Site Options\nPlan Type\tSite\tBase URL\nPay-As-You-Go\tChina (CN)\thttps://dashscope.aliyuncs.com/compatible-mode/v1\nPay-As-You-Go\tInternational (INTL)\thttps://dashscope-intl.aliyuncs.com/compatible-mode/v1\nPay-As-You-Go\tUS (US)\thttps://dashscope-us.aliyuncs.com/compatible-mode/v1\nCoding Plan\tChina (CN)\thttps://coding.dashscope.aliyuncs.com/v1\nCoding Plan\tInternational (INTL)\thttps://coding-intl.dashscope.aliyuncs.com/v1\n3️⃣ Flagship Model Series (4 series, 2-3 generations each)\n\nQwen-Max (Best Performance):\n\nqwen-max\nqwen-max-2025-01-25\n\nQwen-Plus (Balanced):\n\nqwen-plus\nqwen-plus-2025-01-15\n\nQwen-Flash (Fast & Cost-Effective):\n\nqwen-flash\nqwen-flash-2025-01-15\n\nQwen-Coder (Code Specialist):\n\nqwen3-coder-plus\nqwen3-coder-next\nqwen2.5-coder-32b-instruct\n4️⃣ Latest Qwen Models (Available for All Users)\nqwen3.5-plus\nqwen3-max-2026-01-23\n5️⃣ Coding Plan Exclusive Models (Third-Party)\nMiniMax-M2.5 (MiniMax)\nglm-5 / glm-4.7 (智谱 AI)\nkimi-k2.5 (月之暗面)\n\nTotal:\n\nPay-As-You-Go: 11 models (4 flagship series + 2 latest Qwen)\nCoding Plan: 15 models (Pay-As-You-Go + 4 third-party exclusive)\nWorkflow\nConfirm plan type: Pay-As-You-Go or Coding Plan\nSelect site: Based on plan type (3 options for Pay-As-You-Go, 2 for Coding Plan)\nRun interactive script to collect:\nAPI key (with validation)\nAPI key storage mode (env-var recommended or inline)\nPrimary model selection\nWhether to set as default model\nValidate API key against selected site before config write\nBackup existing config before modification\nUpdate config with provider, models, and defaults\nValidate JSON and report final status\nRun Script\n\nExecute:\n\npython3 scripts/alibaba_cloud_model_setup.py\n\n\nOptional flags for non-interactive use:\n\npython3 scripts/alibaba_cloud_model_setup.py \\\n  --plan-type coding \\\n  --site cn \\\n  --api-key-source env \\\n  --env-var DASHSCOPE_API_KEY \\\n  --models qwen3.5-plus,qwen3-max-2026-01-23,qwen3-coder-plus \\\n  --model qwen3.5-plus \\\n  --set-default\n\n\nList available models (no config write):\n\npython3 scripts/alibaba_cloud_model_setup.py \\\n  --plan-type coding \\\n  --site cn \\\n  --list-models \\\n  --non-interactive\n\nSafety Rules (Mandatory)\nAlways run python3 scripts/alibaba_cloud_model_setup.py for configuration changes.\nNever edit ~/.openclaw/openclaw.json manually when this skill is used.\nAlways validate API key before writing config.\nAlways create backup before overwriting existing config.\nIn environment-variable mode, never proceed to config write unless env detection succeeds.\nDefault Behavior\nDetect config path in this order:\n~/.openclaw/openclaw.json\n~/.moltbot/moltbot.json\n~/.clawdbot/clawdbot.json\nIf none exists, create ~/.openclaw/openclaw.json\nWrite provider bailian with OpenAI-compatible API mode\nCreate a timestamped backup before overwriting an existing file\nPreserve unrelated config sections\nSet models.mode to merge to preserve other providers\nValidation Checklist\n\nAfter configuration:\n\nConfirm JSON is valid by running python3 -m json.tool <config-path>.\nEnsure models.providers.bailian.baseUrl matches site selection.\nEnsure models.providers.bailian.models contains expected model IDs.\nEnsure agents.defaults.model.primary is bailian/<model-id> when default is enabled.\nStart dashboard (openclaw dashboard) or TUI (openclaw tui) and verify model call succeeds.\nExample Config Output\nCoding Plan China Site\n{\n  \"models\": {\n    \"mode\": \"merge\",\n    \"providers\": {\n      \"bailian\": {\n        \"baseUrl\": \"https://coding.dashscope.aliyuncs.com/v1\",\n        \"apiKey\": \"YOUR_API_KEY\",\n        \"api\": \"openai-completions\",\n        \"models\": [\n          {\n            \"id\": \"qwen3.5-plus\",\n            \"name\": \"Qwen3.5 Plus\",\n            \"reasoning\": false,\n            \"input\": [\"text\", \"image\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 1000000,\n            \"maxTokens\": 65536\n          },\n          {\n            \"id\": \"qwen3-max-2026-01-23\",\n            \"name\": \"Qwen3 Max 2026-01-23\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 262144,\n            \"maxTokens\": 65536\n          },\n          {\n            \"id\": \"qwen3-coder-next\",\n            \"name\": \"Qwen3 Coder Next\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 262144,\n            \"maxTokens\": 65536\n          },\n          {\n            \"id\": \"qwen3-coder-plus\",\n            \"name\": \"Qwen3 Coder Plus\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 1000000,\n            \"maxTokens\": 65536\n          },\n          {\n            \"id\": \"MiniMax-M2.5\",\n            \"name\": \"MiniMax M2.5\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 204800,\n            \"maxTokens\": 131072\n          },\n          {\n            \"id\": \"glm-5\",\n            \"name\": \"GLM-5\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 202752,\n            \"maxTokens\": 16384\n          },\n          {\n            \"id\": \"glm-4.7\",\n            \"name\": \"GLM-4.7\",\n            \"reasoning\": false,\n            \"input\": [\"text\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 202752,\n            \"maxTokens\": 16384\n          },\n          {\n            \"id\": \"kimi-k2.5\",\n            \"name\": \"Kimi K2.5\",\n            \"reasoning\": false,\n            \"input\": [\"text\", \"image\"],\n            \"cost\": { \"input\": 0, \"output\": 0, \"cacheRead\": 0, \"cacheWrite\": 0 },\n            \"contextWindow\": 262144,\n            \"maxTokens\": 32768\n          }\n        ]\n      }\n    }\n  },\n  \"agents\": {\n    \"defaults\": {\n      \"model\": {\n        \"primary\": \"bailian/qwen3.5-plus\"\n      },\n      \"models\": {\n        \"bailian/qwen3.5-plus\": {},\n        \"bailian/qwen3-max-2026-01-23\": {},\n        \"bailian/qwen3-coder-next\": {},\n        \"bailian/qwen3-coder-plus\": {},\n        \"bailian/MiniMax-M2.5\": {},\n        \"bailian/glm-5\": {},\n        \"bailian/glm-4.7\": {},\n        \"bailian/kimi-k2.5\": {}\n      }\n    }\n  }\n}\n\nReferences\nEndpoint and field conventions: references/openclaw_alibaba_cloud.md\n\nVersion: 0.1.4\nUpdated: 2026-03-02\nChanges: Fixed provider name typo (balian → bailian), added Coding Plan support, 5 site options, 11 models for Pay-As-You-Go (flagship + latest Qwen), 15 models for Coding Plan (+4 third-party exclusive)"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/extraterrest/alibaba-cloud-model-setup",
    "publisherUrl": "https://clawhub.ai/extraterrest/alibaba-cloud-model-setup",
    "owner": "extraterrest",
    "version": "0.1.4",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup",
    "downloadUrl": "https://openagent3.xyz/downloads/alibaba-cloud-model-setup",
    "agentUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/alibaba-cloud-model-setup/agent.md"
  }
}