zhipu

Installation
SKILL.md

zhipu - Zhipu AI (GLM) Integration

The zhipu module provides a CLI interface for Zhipu AI's GLM (General Language Model) series, supporting powerful text generation and reasoning.

When to Activate

  • When the user wants to use Zhipu GLM models for chat or text analysis.
  • When managing Zhipu API keys and session defaults.
  • When using the @glm alias for quick access.

Core Principles & Rules

  • API Key Management: Use init or --cfg apikey=<key> for setup.
  • Model Selection: Specify models using the --model flag (e.g., glm-4).
  • Alias Access: Prefer the @glm alias for a faster CLI experience.

Patterns & Examples

Chat with GLM

# Ask a question using the GLM model
@glm "What is the history of the Great Wall?"

Use Specific Version

# Use a specific model version for reasoning
@glm --model glm-4.7 "How many Rs are there in the word strawberry?"

Checklist

  • Ensure the Zhipu API key is configured using x zhipu init.
  • Confirm the desired GLM model version.
Related skills

More from x-cmd/skill

Installs
3
Repository
x-cmd/skill
GitHub Stars
20
First Seen
Apr 10, 2026