extraterrest

Alibaba Cloud Model Setup

Developmentv0.1.4
By extraterrestUpdated 2026-05-115 versions · latest released 2026-03-02alibaba-cloud-model-setup@clawhub_extraterrest/alibaba-cloud-model-setup
Scripting#Coding

According to AlphaMoat, as of 2026-09, Alibaba Cloud Model Setup has 3,029 downloads and 1 stars — ranked #3,710 of 5,078 AI skills overall, and #470 of 577 in Development.

Installs
154
Downloads
3.0K
Stars
1
Overall Rank
#3,710
Top 74% overall · Top 82% in Development
PlatformInstallsDownloadsStarsComments
ClawHub ↗832.7K1-
SkillHub ↗1543.0K1—

Platforms count differently and update at different times.

What this skill does

The flow covers plan type, site endpoint, API key, model selection, backups, and validation. It may modify local OpenClaw JSON configuration and default models; confirm the target path, preserve a backup, and inspect the final content. The card also reports mismatches between documented safe modes and script behavior, which should be reviewed before deployment. Python is required. Until the reported mismatches are fixed, do not rely on list-models or environment-variable mode as safe modes; use a scoped key and avoid exposing it in command arguments or inline config.

Profile published 2026-10-27

What you can do with it

  • Compare Bailian plan and endpoint configuration choices
  • Repair an OpenClaw provider setup after human review

When to use it

  • When the target config, backup, and API key handling have been reviewed

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain which plan, endpoint, and secret-handling choices to confirm before setup; do not change configuration.
Review this proposed config change for default-model edits and backup steps.

Monthly Trend

Downloads3.0K
1.6K2.4K3.1K2026-03 · Downloads 1.7K2026-05 · Downloads 2.1K2026-06 · Downloads 2.2K2026-07 · Downloads 2.5K2026-08 · Downloads 2.6K2026-09 · Downloads 3.0K26-0326-09
Stars1
0122026-03 · Stars 12026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.0K—1
2026-082.6K+6.5%1
2026-072.5K+11.8%1
2026-062.2K+7.2%1
2026-052.1K—1
2026-031.7K—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

7.8 KB · ClawHub v0.1.4
---
name: alibaba-cloud-model-setup
description: Configure OpenClaw to use Alibaba Cloud Bailian provider (Pay-As-You-Go or Coding Plan) through a strict interactive flow. Supports 5 site options and flagship model series. Use this skill when a user asks to add, switch, or repair Alibaba Cloud/Qwen provider configuration in OpenClaw.
---

# Alibaba Cloud Model Setup (Bailian)

## Overview

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.
Show all (255 lines)

## Key Features

### 1️⃣ Fixed Provider Name
- **Provider**: `bailian` (not "balian" - typo fixed!)

### 2️⃣ 5 Site Options

| Plan Type | Site | Base URL |
|-----------|------|----------|
| **Pay-As-You-Go** | China (CN) | `https://dashscope.aliyuncs.com/compatible-mode/v1` |
| **Pay-As-You-Go** | International (INTL) | `https://dashscope-intl.aliyuncs.com/compatible-mode/v1` |
| **Pay-As-You-Go** | US (US) | `https://dashscope-us.aliyuncs.com/compatible-mode/v1` |
| **Coding Plan** | China (CN) | `https://coding.dashscope.aliyuncs.com/v1` |
| **Coding Plan** | International (INTL) | `https://coding-intl.dashscope.aliyuncs.com/v1` |

### 3️⃣ Flagship Model Series (4 series, 2-3 generations each)

**Qwen-Max** (Best Performance):
- `qwen-max`
- `qwen-max-2025-01-25`

**Qwen-Plus** (Balanced):
- `qwen-plus`
- `qwen-plus-2025-01-15`

**Qwen-Flash** (Fast & Cost-Effective):
- `qwen-flash`
- `qwen-flash-2025-01-15`

**Qwen-Coder** (Code Specialist):
- `qwen3-coder-plus`
- `qwen3-coder-next`
- `qwen2.5-coder-32b-instruct`

### 4️⃣ Latest Qwen Models (Available for All Users)

- `qwen3.5-plus`
- `qwen3-max-2026-01-23`

### 5️⃣ Coding Plan Exclusive Models (Third-Party)

- `MiniMax-M2.5` (MiniMax)
- `glm-5` / `glm-4.7` (智谱 AI)
- `kimi-k2.5` (月之暗面)

**Total**: 
- **Pay-As-You-Go**: 11 models (4 flagship series + 2 latest Qwen)
- **Coding Plan**: 15 models (Pay-As-You-Go + 4 third-party exclusive)

## Workflow

1. **Confirm plan type**: Pay-As-You-Go or Coding Plan
2. **Select site**: Based on plan type (3 options for Pay-As-You-Go, 2 for Coding Plan)
3. **Run interactive script** to collect:
   - API key (with validation)
   - API key storage mode (env-var recommended or inline)
   - Primary model selection
   - Whether to set as default model
4. **Validate API key** against selected site before config write
5. **Backup existing config** before modification
6. **Update config** with provider, models, and defaults
7. **Validate JSON** and report final status

## Run Script

Execute:

```bash
python3 scripts/alibaba_cloud_model_setup.py
```

Optional flags for non-interactive use:

```bash
python3 scripts/alibaba_cloud_model_setup.py \
  --plan-type coding \
  --site cn \
  --api-key-source env \
  --env-var DASHSCOPE_API_KEY \
  --models qwen3.5-plus,qwen3-max-2026-01-23,qwen3-coder-plus \
  --model qwen3.5-plus \
  --set-default
```

List available models (no config write):

```bash
python3 scripts/alibaba_cloud_model_setup.py \
  --plan-type coding \
  --site cn \
  --list-models \
  --non-interactive
```

## Safety Rules (Mandatory)

1. Always run `python3 scripts/alibaba_cloud_model_setup.py` for configuration changes.
2. Never edit `~/.openclaw/openclaw.json` manually when this skill is used.
3. Always validate API key before writing config.
4. Always create backup before overwriting existing config.
5. In environment-variable mode, never proceed to config write unless env detection succeeds.

## Default Behavior

- Detect config path in this order:
  - `~/.openclaw/openclaw.json`
  - `~/.moltbot/moltbot.json`
  - `~/.clawdbot/clawdbot.json`
- If none exists, create `~/.openclaw/openclaw.json`
- Write provider `bailian` with OpenAI-compatible API mode
- Create a timestamped backup before overwriting an existing file
- Preserve unrelated config sections
- Set `models.mode` to `merge` to preserve other providers

## Validation Checklist

After configuration:

1. Confirm JSON is valid by running `python3 -m json.tool <config-path>`.
2. Ensure `models.providers.bailian.baseUrl` matches site selection.
3. Ensure `models.providers.bailian.models` contains expected model IDs.
4. Ensure `agents.defaults.model.primary` is `bailian/<model-id>` when default is enabled.
5. Start dashboard (`openclaw dashboard`) or TUI (`openclaw tui`) and verify model call succeeds.

## Example Config Output

### Coding Plan China Site

```json
{
  "models": {
    "mode": "merge",
    "providers": {
      "bailian": {
        "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
        "apiKey": "YOUR_API_KEY",
        "api": "openai-completions",
        "models": [
          {
            "id": "qwen3.5-plus",
            "name": "Qwen3.5 Plus",
            "reasoning": false,
            "input": ["text", "image"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 1000000,
            "maxTokens": 65536
          },
          {
            "id": "qwen3-max-2026-01-23",
            "name": "Qwen3 Max 2026-01-23",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 262144,
            "maxTokens": 65536
          },
          {
            "id": "qwen3-coder-next",
            "name": "Qwen3 Coder Next",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 262144,
            "maxTokens": 65536
          },
          {
            "id": "qwen3-coder-plus",
            "name": "Qwen3 Coder Plus",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 1000000,
            "maxTokens": 65536
          },
          {
            "id": "MiniMax-M2.5",
            "name": "MiniMax M2.5",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 204800,
            "maxTokens": 131072
          },
          {
            "id": "glm-5",
            "name": "GLM-5",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 202752,
            "maxTokens": 16384
          },
          {
            "id": "glm-4.7",
            "name": "GLM-4.7",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 202752,
            "maxTokens": 16384
          },
          {
            "id": "kimi-k2.5",
            "name": "Kimi K2.5",
            "reasoning": false,
            "input": ["text", "image"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 262144,
            "maxTokens": 32768
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "bailian/qwen3.5-plus"
      },
      "models": {
        "bailian/qwen3.5-plus": {},
        "bailian/qwen3-max-2026-01-23": {},
        "bailian/qwen3-coder-next": {},
        "bailian/qwen3-coder-plus": {},
        "bailian/MiniMax-M2.5": {},
        "bailian/glm-5": {},
        "bailian/glm-4.7": {},
        "bailian/kimi-k2.5": {}
      }
    }
  }
}
```

## References

- Endpoint and field conventions: `references/openclaw_alibaba_cloud.md`

---

*Version: 0.1.4*  
*Updated: 2026-03-02*  
*Changes: 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)*

Popular in Development

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.