Use Case
Smart Model Routing for Z.AI is a powerful AI agent skill that extends your assistant with new capabilities. Auto-route tasks to the cheapest z.ai (GLM) model that works correctly. Three-tier progression: Flash β Standard β Plus/32B. Classify before responding. FLASH (default): factual Q&A, greetings, reminders, status checks, lookups, simple file ops, heartbeats, casual chat, 1β2 sentence tasks, cron jobs. ESCALATE TO STANDARD: code >10 lines, analysis, comparisons, planning, reports, multi-step reasoning, tables, long writing >3 paragraphs, summarization, research synthesis, most user conversations. ESCALATE TO PLUS/32B: architecture decisions, complex debugging, multi-file refactoring, strategic planning, nuanced judgment, deep research, critical production decisions. Rule: If a human needs >30 seconds of focused thinking, escalate. If Standard struggles with complexity, go to Plus/32B. Save major API costs by starting cheap and escalating only when needed. This guide walks you through installing Smart Model Routing for Z.AI, configuring it for your setup, and running your first commands β so you can start getting value in minutes.
Install Smart Model Routing for Z.AI: npx clawhub@latest --dir ~/.claude/skills install smart-model-routing-for-zai
Restart your AI client (Claude Code, Cursor, Gemini CLI, or OpenClaw)
Type a natural language request related to data & analytics to trigger Smart Model Routing for Z.AI
Review the output and refine your prompt for better results
Combine Smart Model Routing for Z.AI with other skills to build multi-step workflows
Copy these prompts and use them with your AI agent after installing Smart Model Routing for Z.AI
Help me get started with Smart Model Routing for Z.AI
What can Smart Model Routing for Z.AI do for my data & analytics workflow?
Show me an example of using Smart Model Routing for Z.AI
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install smart-model-routing-for-zaiOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install smart-model-routing-for-zaiβ οΈ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js β
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/smart-model-routing-for-zai/π‘Extract and place the folder at the path above, then restart your agent.