# Send Model Route Guard to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "model-route-guard",
    "name": "Model Route Guard",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Dalomeve/model-route-guard",
    "canonicalUrl": "https://clawhub.ai/Dalomeve/model-route-guard",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/model-route-guard",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=model-route-guard",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "references/privacy-checklist.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "model-route-guard",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T12:07:19.060Z",
      "expiresAt": "2026-05-09T12:07:19.060Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=model-route-guard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=model-route-guard",
        "contentDisposition": "attachment; filename=\"model-route-guard-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "model-route-guard"
      },
      "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/model-route-guard"
    },
    "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."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/model-route-guard",
    "downloadUrl": "https://openagent3.xyz/downloads/model-route-guard",
    "agentUrl": "https://openagent3.xyz/skills/model-route-guard/agent",
    "manifestUrl": "https://openagent3.xyz/skills/model-route-guard/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/model-route-guard/agent.md"
  }
}
```
## Documentation

### Model Route Guard

Fix model routing and provider endpoint conflicts.

### Problem

Model routing issues cause:

Wrong provider endpoint used
Duplicate provider definitions
Agent overrides conflicting with global config
Silent fallback to wrong model

### 1. Route Audit

# Check global config
$cfg = Get-Content "$HOME/.openclaw/openclaw.json" -Raw | ConvertFrom-Json
$globalBase = $cfg.models.providers.bailian.baseUrl
$globalModel = $cfg.agents.defaults.model.primary

# Check agent overrides
$agentCfgPath = "$HOME/.openclaw/agents/main/agent/models.json"
if (Test-Path $agentCfgPath) {
    $agentCfg = Get-Content $agentCfgPath -Raw | ConvertFrom-Json
    $agentBase = $agentCfg.providers.bailian.baseUrl
}

"Global baseUrl = $globalBase"
"Global model   = $globalModel"
"Agent baseUrl  = $agentBase"

# Detect conflicts
if ($globalBase -ne $agentBase) {
    Write-Warning "Provider URL mismatch between global and agent config"
}

### 2. Fix Conflicts

# Correct endpoint (coding.dashscope, not coding-intl)
$correctUrl = "https://coding.dashscope.aliyuncs.com/v1"

# Update global config
$cfg.models.providers.bailian.baseUrl = $correctUrl
$cfg | ConvertTo-Json -Depth 10 | Out-File "$HOME/.openclaw/openclaw.json" -Encoding UTF8

# Remove conflicting agent override
if (Test-Path $agentCfgPath) {
    Remove-Item $agentCfgPath -Force
}

# Restart
openclaw gateway restart

### 3. Verification

# Test model call
openclaw models list

# Check active route
openclaw status

### Executable Completion Criteria

CriteriaVerificationSingle provider URLOnly one bailian.baseUrl in configCorrect endpointURL is coding.dashscope.aliyuncs.comNo duplicate overridesmodels.json removed or alignedModel call succeedsopenclaw models list works

### Privacy/Safety

No API keys in audit output
Redact key values (show first 4 chars)
Config files only, no external logging

### Self-Use Trigger

Use when:

Model calls fail with endpoint errors
Config shows multiple provider definitions
After gateway restart with model issues
Silent fallback to wrong model detected

One route. One source of truth.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Dalomeve
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T12:07:19.060Z
- Expires at: 2026-05-09T12:07:19.060Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/model-route-guard)
- [Send to Agent page](https://openagent3.xyz/skills/model-route-guard/agent)
- [JSON manifest](https://openagent3.xyz/skills/model-route-guard/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/model-route-guard/agent.md)
- [Download page](https://openagent3.xyz/downloads/model-route-guard)