glm-coding
This skill provides specialized knowledge for integrating and using GLM-4.7 Coding Plan API (智谱编程套餐). Use this skill when working with GLM-4.7 for prompt optimization, code generation, or technical documentation tasks. GLM-4.7 uses a unique response format with reasoning_content field and requires special endpoint handling.
npx skills add majiayu000/claude-skill-registry --skill glm-coding --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# GLM-4.7 Coding Plan Integration This skill provides specialized knowledge for integrating and using GLM-4.7 Coding Plan API (智谱编程套餐) from Zhipu AI (智谱AI). ## Purpose GLM-4.7 Coding Plan is a specialized OpenAI-compatible API designed for programming and code-related tasks. This skill covers: - API integration with correct endpoint format - Response format handling (`reasoning_content` vs `content`) - Performance characteristics and optimization strategies - Best practices for prompt optimization ## When to Use This Skill Use this skill when: - Integrating GLM-4.7 Coding Plan API into applications - Troubleshooting GLM API connection or response issues - Optimizing prompts for video generation or other tasks - Comparing GLM with other AI providers (DeepSeek, etc.) ## API Integration ### Endpoint Format (⚠️ Critical Difference) GLM-4.7 Coding Plan uses a **non-standard endpoint format**: ``` Base URL: https://open.bigmodel.cn/api/coding/paas/v4 Full Endpoint: https://open.bigmodel.cn/api/coding/paas/v4/chat/completions ``` **Key Difference**: No `/v1` prefix, directly `/chat/completions` **Example** (openaiClient.js): ```javascript // ❌ Wrong: Standard OpenAI format const baseURL =
- Purpose
- When to Use This Skill
- API Integration
- Endpoint Format (⚠️ Critical Difference)
- Response Format Handling (⚠️ Critical)
- API Key Format
- Performance Characteristics
- Use Cases
- 1. Prompt Optimization (picture-book style)
- 2. Code Generation and Optimization
- 3. Technical Documentation
- Known Limitations
- Best Practices
- 1. Use for Batch Processing
What does the glm-coding skill do?
This skill provides specialized knowledge for integrating and using GLM-4.7 Coding Plan API (智谱编程套餐). Use this skill when working with GLM-4.7 for prompt optimization, code generation, or technical documentation tasks. GLM-4.7 uses a unique response format with reasoning_content field and requires special endpoint handling.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill glm-coding --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
