跳到正文
TakoAPI
返回技能列表

glm-autoroute

由 raufimusaddiq 提供

Productivity & Tasks
470下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Binary model routing for ZAI GLM models - lightweight vs heavyweight tasks.

描述

该技能的功能

Routes tasks between two ZAI GLM models based on complexity. GLM-4.7 handles simple lookups, status checks, and formatting by default. GLM-5 is spawned via sessions_spawn for coding, analysis, research, and multi-step reasoning.

Prevents unnecessary use of the heavier model for simple queries, keeping response times low and resource usage proportional to task complexity.

何时使用

  • Running routine heartbeat checks without escalating to the heavier model
  • Automatically escalating code generation tasks to GLM-5
  • Keeping cron job responses lightweight when no reasoning is needed
  • Spawning GLM-5 for debugging or multi-step analysis
  • Routing research and architecture planning to the more capable model

示例工作流

输入

User asks: 'Write a Python script to parse CSV files'

智能体
  1. 1

    Identifies the task as coding, which always routes to GLM-5

  2. 2

    Spawns a GLM-5 session via sessions_spawn with the full task description and a short label

  3. 3

    GLM-5 writes the script, saves it to file, and announces a summary of what was created

  4. 4

    Main session returns to GLM-4.7 as default

输出

Python script saved to file; summary of file path, status, and dependencies announced to user (GLM-5)

安装

clawhub install raufimusaddiq/glm-autoroute

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接