# Send GLM Autoroute to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "glm-autoroute",
    "name": "GLM Autoroute",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/raufimusaddiq/glm-autoroute",
    "canonicalUrl": "https://clawhub.ai/raufimusaddiq/glm-autoroute",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/glm-autoroute",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=glm-autoroute",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "package.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/glm-autoroute"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/glm-autoroute",
    "downloadUrl": "https://openagent3.xyz/downloads/glm-autoroute",
    "agentUrl": "https://openagent3.xyz/skills/glm-autoroute/agent",
    "manifestUrl": "https://openagent3.xyz/skills/glm-autoroute/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/glm-autoroute/agent.md"
  }
}
```
## Documentation

### GLM Autoroute

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

### Introduction

GLM-4.7 is the default model. Only spawn GLM-5 when the task actually needs it.
Use sessions_spawn to run tasks with GLM-5:

sessions_spawn({
  task: "<the full task description>",
  model: "zai/glm-5",
  label: "<short task label>"
})

After done with GLM-5, the main session continues with GLM-4.7 as default.

### GLM-4.7 (DEFAULT - zai/glm-4.7)

Use for lightweight tasks:

Simple Q&A - What, When, Who, Where
Casual chat - No reasoning needed
Quick lookups
File lookups
Simple tasks - repetitive tasks, formatting
Cron Jobs - if it needs reasoning, THEN ESCALATE TO GLM-5
Status checks
Basic confirmations
Provide concise output, just plain answer, no explaining

DO NOT:

❌ DO NOT CODE WITH GLM-4.7
❌ DO NOT ANALYZE USING GLM-4.7
❌ DO NOT ATTEMPT ANY REASONING USING GLM-4.7
❌ DO NOT RESEARCH USING GLM-4.7
If you think the request does not fall into point 1-8, THEN ESCALATE TO GLM-5
If you think you will violate the DO NOT list, THEN ESCALATE TO GLM-5

### GLM-5 (zai/glm-5)

Use for heavyweight tasks:

Coding (any complexity)
Analysis & debugging
Multi-step reasoning
Research & investigation
Critical planning
Architecture decisions
Complex problem solving
Deep research
Critical decisions
Detailed explanations

### Examples

TaskModelWhy"Check calendar"GLM-4.7Simple lookup"What time is it?"GLM-4.7Simple Q&A"Heartbeat check"GLM-4.7Routine"Read this file"GLM-4.7Simple lookup"Summarize this"GLM-4.7Basic task"Write Python script"GLM-5Coding"Debug this error"GLM-5Analysis"Research market trends"GLM-5Deep research"Plan migration"GLM-5Complex planning"Analyze this issue"GLM-5Analysis

### Other Notes

When the user asks to use a specific model, use it
Always mention which model is used in outputs — example: "(GLM-5)" or "(GLM-4.7)" at the end of responses
After done with GLM-5 (via sessions_spawn), continue with GLM-4.7 as default
If you think the request does not fall into GLM-4.7 use cases, THEN ESCALATE TO GLM-5
If you think you will violate the DO NOT list, THEN ESCALATE TO GLM-5
Coding = always GLM-5
When in doubt → GLM-5 (better safe than sorry)
Heartbeat checks → always GLM-4.7 unless complex analysis needed

### Memory Management with sessions_spawn

When spawning GLM-5 sub-agent sessions for ANY task (coding, research, analysis, planning, etc.), follow this pattern:

### Output Rules

1. Code Output (Important)

Full code ONLY in files — do NOT include in announce unless explicitly requested
Provide summary: what was created, file path, status, dependencies
Full code disclosure ONLY when:

User explicitly requests: "Show me the code"
Debugging needs code review
User wants to improve/modify it

2. Full Announce for Other Results

Research findings, analysis results, solutions → announce FULLY to user
Do NOT shorten, summarize, or condense non-code output
User gets complete findings, not a brief summary

3. Two-Layer Memory Strategy

MEMORY.md (Curated Long-Term)

ONLY key insights, decisions, lessons, significant findings, preferences
Clean, concise, actionable
Skip routine data, step-by-step reasoning, temporary thoughts

Detailed Reports (Task-Specific Files)

For research: research/YYYY-MM-DD-topic.md (full findings, data, analysis)
For coding: add inline docs/README in code folder if needed
For analysis: output files in relevant project directories

### Examples

Research task:

sessions_spawn({
  task: "Research X. Announce full findings to user. Write full report to research/YYYY-MM-DD-X.md, then write ONLY key insights to MEMORY.md (clean, concise).",
  model: "zai/glm-5",
  label: "Research X"
})

Coding task:

sessions_spawn({
  task: "Write Python script for X. Save full code to file. Provide summary (what created, path, status, dependencies) in announce. Write key implementation decisions to MEMORY.md (important only).",
  model: "zai/glm-5",
  label: "Python script X"
})

Apply this pattern to ALL GLM-5 spawns. Code in files only, summary in announce, full disclosure on request.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: raufimusaddiq
- Version: 1.2.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/glm-autoroute)
- [Send to Agent page](https://openagent3.xyz/skills/glm-autoroute/agent)
- [JSON manifest](https://openagent3.xyz/skills/glm-autoroute/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/glm-autoroute/agent.md)
- [Download page](https://openagent3.xyz/downloads/glm-autoroute)