Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
alibaba avatar

Higress Openclaw Integration

  • 1 installs
  • 9k repo stars
  • Updated August 4, 2026
  • alibaba/higress

higress-openclaw-integration is a Claude skill that deploys the Higress AI Gateway and configures OpenClaw to use it as a unified model provider across many LLM providers.

About

higress-openclaw-integration deploys the Higress AI Gateway and configures OpenClaw to use it as a single unified model provider. It collects the provider API keys, runs the gateway install script, sets up optional auto-routing, and installs the OpenClaw provider plugin. Developers use it to route OpenClaw through Higress and access many LLM providers behind one gateway.

  • Deploys the Higress AI Gateway and configures OpenClaw to use it as a unified provider
  • Sets up model routing and auto-routing across many LLM providers
  • Manages LLM provider API keys for z.ai, Claude, OpenAI, DeepSeek, and more

Higress Openclaw Integration by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #14,098 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

higress-openclaw-integration capabilities & compatibility

Requires at least one LLM provider API key; gateway deploys locally via install script.

Capabilities
gateway deployment · model routing · provider key management
Works with
openai · anthropic
Use cases
orchestration · devops
Runs
Runs locally
Pricing
Bring your own API key
From the docs

What higress-openclaw-integration says it does

Deploy Higress AI Gateway and configure OpenClaw to use it as a unified model provider.
SKILL.md
Auto-routing allows using `model="higress/auto"` to automatically route requests based on message content
SKILL.md
npx skills add https://github.com/alibaba/higress --skill higress-openclaw-integration

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars9k
Last updatedAugust 4, 2026
Repositoryalibaba/higress

What it does

Deploy Higress AI Gateway and configure OpenClaw to route across many LLM providers through it.

Who is it for?

Wiring OpenClaw to Higress AI Gateway for multi-provider model access and routing.

Skip if: Stacks that do not use OpenClaw or the Higress gateway.

When should I use this skill?

When a user wants to deploy Higress AI Gateway or configure OpenClaw with more model providers, routing, or provider keys.

What you get

A deployed Higress AI Gateway with OpenClaw configured to route across providers via a higress/ prefix.

By the numbers

  • Supports 20+ LLM providers plus Azure, Bedrock, and Vertex cloud providers

Files

SKILL.mdMarkdownGitHub ↗

Higress AI Gateway Integration

Deploy Higress AI Gateway and configure OpenClaw to use it as a unified model provider.

Quick Start

Step 1: Collect Information from User

Ask the user for the following information upfront:

1. Which LLM provider(s) to use? (at least one required)

Commonly Used Providers:

ProviderParameterNotes
智谱 / z.ai--zhipuai-keyModels: glm-*, Code Plan mode enabled by default
Claude Code--claude-code-keyRequires OAuth token from `claude setup-token`
Moonshot (Kimi)--moonshot-keyModels: moonshot-, kimi-
Minimax--minimax-keyModels: abab-*
阿里云通义千问 (Dashscope)--dashscope-keyModels: qwen*
OpenAI--openai-keyModels: gpt-, o1-, o3-*
DeepSeek--deepseek-keyModels: deepseep-*
Grok--grok-keyModels: grok-*

Other Providers:

ProviderParameterNotes
Claude--claude-keyModels: claude-*
Google Gemini--gemini-keyModels: gemini-*
OpenRouter--openrouter-keySupports all models (catch-all)
Groq--groq-keyFast inference
Doubao (豆包)--doubao-keyModels: doubao-*
Mistral--mistral-keyModels: mistral-*
Baichuan (百川)--baichuan-keyModels: Baichuan*
01.AI (Yi)--yi-keyModels: yi-*
Stepfun (阶跃星辰)--stepfun-keyModels: step-*
Cohere--cohere-keyModels: command*
Fireworks AI--fireworks-key-
Together AI--togetherai-key-
GitHub Models--github-key-

Cloud Providers (require additional config):

  • Azure OpenAI: --azure-key (requires service URL)
  • AWS Bedrock: --bedrock-key (requires region and access key)
  • Google Vertex AI: --vertex-key (requires project ID and region)

Brand Name Display (z.ai / 智谱):

  • If user communicates in Chinese: display as "智谱"
  • If user communicates in English: display as "z.ai"

2. Enable auto-routing? (recommended)

  • If yes: --auto-routing --auto-routing-default-model <model-name>
  • Auto-routing allows using model="higress/auto" to automatically route requests based on message content

3. Custom ports? (optional, defaults: HTTP=8080, HTTPS=8443, Console=8001)

Step 2: Deploy Gateway

Auto-detect region for z.ai / 智谱 domain configuration:

When user selects z.ai / 智谱 provider, detect their region:

# Run region detection script (scripts/detect-region.sh relative to skill directory)
REGION=$(bash scripts/detect-region.sh)
# Output: "china" or "international"

Based on detection result:

  • If REGION="china": use default domain open.bigmodel.cn, no extra parameter needed
  • If REGION="international": automatically add --zhipuai-domain api.z.ai to deployment command

After deployment (for international users): Notify user in English: "The z.ai endpoint domain has been set to api.z.ai. If you want to change it, let me know and I can update the configuration."

# Create installation directory
mkdir -p higress-install
cd higress-install

# Download script (if not exists)
curl -fsSL https://higress.ai/ai-gateway/install.sh -o get-ai-gateway.sh
chmod +x get-ai-gateway.sh

# Deploy with user's configuration
# For z.ai / 智谱: always include --zhipuai-code-plan-mode
# For non-China users: include --zhipuai-domain api.z.ai
./get-ai-gateway.sh start --non-interactive \
  --<provider>-key <api-key> \
  [--auto-routing --auto-routing-default-model <model>]

z.ai / 智谱 Options:

OptionDescription
--zhipuai-code-plan-modeEnable Code Plan mode (enabled by default)
--zhipuai-domain <domain>Custom domain, default: open.bigmodel.cn (China), api.z.ai (international)

Example (China user):

./get-ai-gateway.sh start --non-interactive \
  --zhipuai-key sk-xxx \
  --zhipuai-code-plan-mode \
  --auto-routing \
  --auto-routing-default-model glm-5

Example (International user):

./get-ai-gateway.sh start --non-interactive \
  --zhipuai-key sk-xxx \
  --zhipuai-domain api.z.ai \
  --zhipuai-code-plan-mode \
  --auto-routing \
  --auto-routing-default-model glm-5

Step 3: Install OpenClaw Plugin

Install the Higress provider plugin for OpenClaw:

# Copy plugin files (PLUGIN_SRC is relative to skill directory: scripts/plugin)
PLUGIN_SRC="scripts/plugin"
PLUGIN_DEST="$HOME/.openclaw/extensions/higress"

mkdir -p "$PLUGIN_DEST"
cp -r "$PLUGIN_SRC"/* "$PLUGIN_DEST/"

Tell user to run the following commands manually in their terminal (interactive commands, cannot be executed by AI agent):

# Step 1: Enable the plugin
openclaw plugins enable higress

# Step 2: Configure provider (interactive - will prompt for Gateway URL, API Key, models, etc.)
openclaw models auth login --provider higress --set-default

# Step 3: Restart OpenClaw gateway to apply changes
openclaw gateway restart

The openclaw models auth login command will interactively prompt for: 1. Gateway URL (default: http://localhost:8080) 2. Console URL (default: http://localhost:8001) 3. API Key (optional for local deployments) 4. Model list (auto-detected or manually specified) 5. Auto-routing default model (if using higress/auto)

After configuration and restart, Higress models are available in OpenClaw with higress/ prefix (e.g., higress/glm-5, higress/auto).

Future Configuration Updates (No Restart Needed)

After the initial setup, you can manage your configuration through conversation with OpenClaw:

  • Add New Providers: Add new LLM providers (e.g., DeepSeek, OpenAI, Claude) and their models dynamically.
  • Update API Keys: Update existing provider API keys without service restart.
  • Configure Auto-routing: If you've set up multiple models, ask OpenClaw to configure auto-routing rules. Requests will be intelligently routed based on your message content, using the most suitable model automatically.

All configuration changes are hot-loaded through Higress — no openclaw gateway restart required. Iterate on your model provider setup dynamically without service interruption!

Post-Deployment Management

Add/Update API Keys (Hot-reload)

./get-ai-gateway.sh config add --provider <provider> --key <api-key>
./get-ai-gateway.sh config list
./get-ai-gateway.sh config remove --provider <provider>

Provider aliases: dashscope/qwen, moonshot/kimi, zhipuai/zhipu

Update z.ai Domain (Hot-reload)

If user wants to change the z.ai domain after deployment:

# Update domain configuration
./get-ai-gateway.sh config add --provider zhipuai --extra-config "zhipuDomain=api.z.ai"
# Or revert to China endpoint
./get-ai-gateway.sh config add --provider zhipuai --extra-config "zhipuDomain=open.bigmodel.cn"

Add Routing Rules (for auto-routing)

# Add rule: route to specific model when message starts with trigger
./get-ai-gateway.sh route add --model <model> --trigger "keyword1|keyword2"

# Examples
./get-ai-gateway.sh route add --model glm-4-flash --trigger "quick|fast"
./get-ai-gateway.sh route add --model claude-opus-4 --trigger "think|complex"
./get-ai-gateway.sh route add --model deepseek-coder --trigger "code|debug"

# List/remove rules
./get-ai-gateway.sh route list
./get-ai-gateway.sh route remove --rule-id 0

Stop/Delete Gateway

./get-ai-gateway.sh stop
./get-ai-gateway.sh delete

Endpoints

EndpointURL
Chat Completionshttp://localhost:8080/v1/chat/completions
Consolehttp://localhost:8001
Logs./higress-install/logs/access.log

Testing

# Test with specific model
curl 'http://localhost:8080/v1/chat/completions' \
  -H 'Content-Type: application/json' \
  -d '{"model": "<model-name>", "messages": [{"role": "user", "content": "Hello"}]}'

# Test auto-routing (if enabled)
curl 'http://localhost:8080/v1/chat/completions' \
  -H 'Content-Type: application/json' \
  -d '{"model": "higress/auto", "messages": [{"role": "user", "content": "What is AI?"}]}'

Troubleshooting

IssueSolution
Container fails to startCheck docker logs higress-ai-gateway
Port already in useUse --http-port, --console-port to change ports
API key errorRun ./get-ai-gateway.sh config list to verify keys
Auto-routing not workingEnsure --auto-routing was set during deployment
Slow image downloadScript auto-selects nearest registry based on timezone

Important Notes

1. Claude Code Mode: Requires OAuth token from claude setup-token command, not a regular API key 2. z.ai Code Plan Mode: Enabled by default, uses /api/coding/paas/v4/chat/completions endpoint, optimized for coding tasks 3. z.ai Domain Selection:

  • China users: open.bigmodel.cn (default)
  • International users: api.z.ai (auto-detected based on timezone)
  • Users can update domain anytime after deployment

4. Auto-routing: Must be enabled during initial deployment (--auto-routing); routing rules can be added later 5. OpenClaw Integration: The openclaw models auth login and openclaw gateway restart commands are interactive and must be run by the user manually in their terminal 6. Hot-reload: API key changes take effect immediately; no container restart needed

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.