alibaba-cloud-model-setup
by extraterrest
Coding Agents & IDEsBrief
Configure OpenClaw (including historical Moltbot/Clawdbot paths) to use Alibaba Cloud Model Studio through a strict.
Description
What This Skill Does
Configures Alibaba Cloud Bailian as an OpenClaw model provider via an interactive script. Supports Pay-As-You-Go and Coding Plan subscriptions across five regional endpoints. Handles API key validation, config backup, and model selection for Qwen and third-party model series.
The guided script validates the API key against the selected regional endpoint before writing config, preventing silent misconfigurations that manual editing would not catch.
When to Use It
- Switching OpenClaw to use Qwen models instead of other providers
- Setting up Alibaba Cloud Bailian for a China-region deployment
- Adding Coding Plan exclusive models like Kimi or GLM to OpenClaw
- Repairing a broken Bailian provider config without manual JSON editing
- Configuring the qwen3-coder series as the default model for coding agents
Example Workflow
User asks: set up Alibaba Cloud Coding Plan on the China site with qwen3.5-plus as default
- 1
Run python3 scripts/alibaba_cloud_model_setup.py
- 2
Select Coding Plan and CN site when prompted
- 3
Enter DASHSCOPE_API_KEY and choose env-var storage mode
- 4
Select qwen3.5-plus as primary model and confirm set as default
- 5
Script validates key, backs up existing config, writes updated openclaw.json
openclaw.json updated with bailian provider pointing to coding.dashscope.aliyuncs.com/v1, primary model set to bailian/qwen3.5-plus
Requirements
- Alibaba Cloud Bailian API key (from dashscope.console.aliyun.com or international equivalent)
- Alibaba Cloud account with Pay-As-You-Go or Coding Plan subscription
Installation
clawhub install extraterrest/alibaba-cloud-model-setupRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.