Clawswitch for Openclaw

A natural language model router designed to swap AI backends instantly within the OpenClaw environment without manual configuration.

siliconyahaha
v1.0.0
Mar 9, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install claw-switch

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 claw-switch 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 Clawswitch?

Clawswitch is a specialized utility designed to simplify how developers interact with multiple LLMs. As a core component among Openclaw Skills, it eliminates the need to manually edit configuration files when switching between providers. It acts as an intelligent traffic controller, routing tasks to the most appropriate model based on the complexity and type of input provided by the user.

By leveraging this skill, users can maintain their flow state while developing. Whether you need the multimodal prowess of Gemini for vision tasks or the versatility of OpenRouter for general logic, Clawswitch handles the backend heavy lifting, including configuration updates and gateway restarts, through a unified interface.

Clawswitch Use Cases

  • Rapidly switching to Gemini 3 Flash when the task involves processing images, PDFs, or screenshots.
  • Reverting to OpenRouter Auto for standard text-based coding and general reasoning tasks.
  • Verifying the current active model using simple status commands during complex Openclaw Skills sessions.
  • Troubleshooting model availability by identifying which IDs are currently operational in the environment.

How Clawswitch Works

  1. The user issues a natural language request like "use gemini" or "switch to vision mode."
  2. Clawswitch analyzes the intent and maps it to a verified OpenClaw ID from its internal registry.
  3. The skill automatically executes the command to update the model configuration in the system.
  4. It initiates a gateway restart to ensure the new model settings are applied immediately.
  5. Upon successful transition, it provides a concise confirmation message indicating the new model is ready for use.

Clawswitch Setup

To get started with this skill in your Openclaw Skills library, ensure you are using a compatible version of the platform. No complex manual setup is required as the skill uses the standard CLI interface.

# Example of how the skill manages the transition manually
openclaw models set google/gemini-3-flash-preview
openclaw gateway restart

Clawswitch Data Schema & Taxonomy

Clawswitch maintains a mapping of user aliases to technical identifiers to ensure seamless operation within the ecosystem of Openclaw Skills.

Input Alias Target OpenClaw ID Optimization Target
gemini, vision, image google/gemini-3-flash-preview Multimodal, Files, Vision
openrouter, default, reset openrouter/openrouter/auto General Purpose, Fallback
status N/A Current State Reporting

Clawswitch Advanced Features

  • Intelligent Task Routing: Automatically recommends the best model based on file types like PDF, JPG, or PNG.
  • Verified Registry: Prevents the system from switching to "Unknown" or broken models like GPT-5.4 or Minimax variants.
  • Zero-Config Management: Handles the full lifecycle of a model swap, including the necessary service restarts, with a single command.
  • Multilingual Support: Dynamically adapts its responses between English and Chinese based on user input.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*