A specialized diagnostic and repair tool designed to eliminate model routing conflicts and ensure consistent provider endpoint configurations.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install model-route-guard
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install model-route-guard using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Model Route Guard is a technical utility for developers working with Openclaw Skills to maintain the integrity of AI model configurations. It identifies and resolves common routing issues such as duplicate provider definitions, conflicting agent-level overrides, and incorrect API endpoints that lead to silent fallbacks or failed model calls.
By enforcing a single source of truth across global and local agent settings, this skill ensures that your AI agents consistently connect to the correct provider infrastructure. It provides a robust workflow for auditing configuration files and applying automated fixes to stabilize the model execution environment.
To deploy the Model Route Guard within your environment, ensure you have the necessary CLI access. Follow these steps to prepare your Openclaw Skills configuration:
# Verify your current configuration directory exists
ls -d ~/.openclaw
# Ensure you have the latest gateway version for restart capabilities
openclaw status
Note: This skill relies on PowerShell logic for file manipulation but can be adapted for any shell that can read and write JSON configuration files.
| Component | Path / Key | Description |
|---|---|---|
| Global Config | ~/.openclaw/openclaw.json |
The primary configuration file containing global provider URLs. |
| Agent Override | ~/.openclaw/agents/main/agent/models.json |
Local file that may contain conflicting provider definitions. |
| Provider URL | bailian.baseUrl |
The specific endpoint being audited (e.g., coding.dashscope.aliyuncs.com). |
| Verification | openclaw models list |
The command used to validate that the routing is operational. |
Loading
A resilient self-healing skill that empowers AI agents to diagnose, retry, and learn from execution failures autonomously.

A persistence layer for AI agents that ensures critical user constraints and high-priority rules are never lost during context compaction or long sessions.

A diagnostic and repair utility to eliminate 401 Unauthorized errors by synchronizing tokens across all service layers.

Automate the verification of evidence URLs to ensure artifact links resolve to real content instead of placeholders or dead ends.

A self-healing loop for AI agents that diagnoses task failures and converts them into permanent, reusable local skills.

A professional framework for executing robust, error-tolerant PowerShell commands on Windows systems.








































