Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Routes tasks to the most appropriate AI model automatically based on task type: vision, image generation, video, audio, reasoning, code, or general chat. Supports 35+ models across 7 categories via any OpenAI-compatible API endpoint. Users can also target a specific model directly with @alias shortcuts like @o3, @sora, or @imagen.
Instead of tracking which model handles which task type, the router classifies the request and picks the right model automatically, with fallback to the next model in the category if a call fails.
When to use it
- Analyzing a screenshot or photo without manually picking a vision model
- Generating an image from a text description routed to the best available model
- Running a math proof or complex logic problem through a reasoning-optimized model
- Producing speech or music without knowing which TTS or audio model to call
- Bypassing auto-routing to call a specific model directly with an @alias prefix
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: @imagen a photorealistic mountain lake at sunset
- 1Detects @imagen alias, maps it to google/imagen-4-ultra in the image_gen category
- 2Skips auto-classification since alias is explicit
- 3Calls scripts/call-model.sh with --model google/imagen-4-ultra --type image and the prompt
- 4Receives the generated image URL from the API response
- 5Returns the URL formatted as a markdown image
Markdown image link pointing to the generated photo
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.