OpenClaw Router for Openclaw

A specialized skill for installing, updating, and maintaining the core OpenClaw Router plugin for seamless gateway management.

xucheng
v0.1.0
Mar 9, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install local-openclaw-router

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install local-openclaw-router using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is OpenClaw Router?

The OpenClaw Router skill is a critical tool for developers using Openclaw Skills to manage their local environment. It automates the lifecycle of the openclaw-router plugin, handling everything from GitHub repository synchronization to gateway restarts. This skill ensures your routing infrastructure is always up to date and correctly configured within the ~/.openclaw directory.

By leveraging this skill, users can bypass manual configuration errors and ensure that their routing tiers and health checks are functioning optimally. It is designed to handle migrations from legacy setups, providing a clean and stable foundation for more complex agent workflows.

OpenClaw Router Use Cases

  • Initial installation of the openclaw-router plugin from GitHub.
  • Updating existing router installations to the latest version.
  • Repairing broken router configurations or missing dependencies.
  • Migrating legacy openclaw-main-router setups to the new standard.
  • Verifying gateway health and routing tier status.

How OpenClaw Router Works

  1. Clones or updates the openclaw-router repository into the local plugins directory.
  2. Cleans up legacy directories to prevent path conflicts.
  3. Synchronizes the plugin files into the active extensions folder.
  4. Configures the openclaw.json file to allow and enable the plugin.
  5. Executes the plugin's test suite to ensure stability.
  6. Restarts the OpenClaw gateway and verifies connectivity via the health endpoint.

OpenClaw Router Setup

To get started with this skill within the ecosystem of Openclaw Skills, ensure your environment is ready. You can trigger the installation or update process directly through your AI agent. The manual verification steps include:

# Verify the health of the router
curl -sS http://127.0.0.1:43111/health

# Check the current routing tier
openclaw router show medium

# Run the stats utility
~/.openclaw/scripts/openclaw-router-stats.sh

OpenClaw Router Data Schema & Taxonomy

The skill manages data across several key locations within the home directory. Openclaw Skills rely on this structure for consistency:

Path Description
~/.openclaw/local-plugins/openclaw-router The source repository for the plugin.
~/.openclaw/extensions/openclaw-router The active extension files used by the gateway.
~/.openclaw/openclaw.json The primary configuration file governing plugin permissions.
~/.openclaw/scripts/openclaw-router-stats.sh Utility script for performance metrics.

OpenClaw Router Advanced Features

  • Automated migration logic for legacy openclaw-main-router environments.
  • Integrated test suite execution using Node.js test runners.
  • Real-time gateway state refreshing and health monitoring.
  • Intelligent retry logic for gateway connection codes (e.g., 1006).

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*