GLM Master Skill (Guide Only) / GLM 技能总览(仅指南)
This is a documentation-only master skill.
- - ✅ It introduces available GLM skills.
- ✅ It provides official install links and commands.
- ❌ It does not run any local scripts.
- ❌ It does not use subprocess.
本 Skill 只做导航与安装说明,不执行任何本地脚本。
Official Skills Catalog / 官方技能目录
GLM-OCR
| Skill | Purpose | Link |
|---|
| INLINECODE0 | General OCR (text extraction) | https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr |
| INLINECODE1 |
Table extraction | https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr-table |
|
glmocr-formula | Formula extraction | https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr-formula |
|
glmocr-handwriting | Handwriting OCR | https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr-handwriting |
|
glmocr-sdk | GLM-OCR SDK guidance | https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr-sdk |
GLM-Image
| Skill | Purpose | Link |
|---|
| INLINECODE5 | Text-to-image generation | https://github.com/zai-org/GLM-skills/tree/main/skills/glm-image-gen |
GLM-V
| Skill | Purpose | Link |
|---|
| INLINECODE6 | Image/video/file captioning | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-caption |
| INLINECODE7 |
Prompt generation from visual input | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-prompt-gen |
|
glmv-resume-screen | Resume screening | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-resume-screen |
|
glmv-grounding | Image/video target localization & bounding-box visualization | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-grounding |
|
glmv-doc-based-writing | Document-based content generation (PDF/DOCX) | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-doc-based-writing |
|
glmv-pdf-to-ppt | PDF to HTML presentation conversion | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-pdf-to-ppt |
|
glmv-pdf-to-web | PDF to academic project website conversion | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-pdf-to-web |
|
glmv-prd-to-app | Build full-stack web app from PRD documents & prototypes | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-prd-to-app |
|
glmv-stock-analyst | Multi-source stock analysis and report generation | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-stock-analyst |
|
glmv-web-replication | Frontend visual replication of public websites | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-web-replication |
Installation Methods / 安装方式
Method A: Install from Clawhub (Recommended first)
CODEBLOCK0
Example:
CODEBLOCK1
You can also install multiple skills at once:
CODEBLOCK2
Method B: If Clawhub is rate-limited
You may see errors like:
CODEBLOCK3
Use one of the following:
- 1. Wait and retry after reset time.
- Install from the official GitHub skill directory directly.
你可能会遇到 Clawhub 频率限制;可等待重试,或改用 GitHub 源安装。
Method C: Install from GitHub source
Use each skill's official path (see catalog above).
General idea:
CODEBLOCK4
Then follow that skill's own SKILL.md for exact setup steps.
API Key Setup (required by most downstream skills)
Most GLM skills require the environment variable ZHIPU_API_KEY. This master skill itself does not read or use the key, but downstream skills will.
Security best practices:
- - Create a limited-scope API key with only the permissions needed for the skills you plan to use.
- Store the key in environment variables only — never hardcode it in source files or commit it to version control.
- Add
ZHIPU_API_KEY to your .gitignore if storing it in a .env file. - Rotate the key periodically and revoke unused keys at https://bigmodel.cn/usercenter/proj-mgmt/apikeys.
Get API key: https://bigmodel.cn/usercenter/proj-mgmt/apikeys
Set in shell:
CODEBLOCK5
或者写入环境配置文件(如 ~/.zshrc)以长期生效,但请确保该文件不会被提交到版本控制系统。
How an Agent should use this Master Skill
When user asks for GLM OCR / GLM Image / GLM-V capabilities:
- 1. Match user intent to one or more skills in the catalog.
- Recommend installation via
npx clawhub@latest install <skill-name> first. - If rate-limited, tell user to retry later or use GitHub skill source.
- Open the selected skill's official
SKILL.md and follow its instructions.
当用户提出具体任务时,Agent 按上述流程引导安装并跳转到对应技能文档。
Resource Links
- - GLM-5: https://github.com/zai-org/GLM-5
- GLM-OCR: https://github.com/zai-org/GLM-OCR
- GLM-Image: https://github.com/zai-org/GLM-Image
- GLM-V: https://github.com/zai-org/GLM-V
- API Docs: https://docs.bigmodel.cn/
- API Key: https://bigmodel.cn/usercenter/proj-mgmt/apikeys
Why this design / 设计原因
Some skill-sharing platforms may flag subprocess execution as high risk during review.
To keep this master skill safe and easy to pass review:
- 1. No helper
.py installer. - No local command execution logic.
- Only official links + clear installation instructions.
由于 subprocess 在审核中可能被视为高风险,这里采用“纯文档”方式。
Security Note
This master skill intentionally avoids executable helper scripts.
It is designed for safer sharing/review in public skill marketplaces.
本 Skill 刻意不包含可执行安装脚本,以降低审核风险。
GLM Master Skill (Guide Only) / GLM 技能总览(仅指南)
这是一个纯文档型主技能。
- - ✅ 介绍可用的 GLM 技能。
- ✅ 提供官方安装链接和命令。
- ❌ 不执行任何本地脚本。
- ❌ 不使用子进程。
本 Skill 只做导航与安装说明,不执行任何本地脚本。
官方技能目录
GLM-OCR
| 技能名称 | 用途 | 链接 |
|---|
| glmocr | 通用 OCR(文本提取) | https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr |
| glmocr-table |
表格提取 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr-table |
| glmocr-formula | 公式提取 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr-formula |
| glmocr-handwriting | 手写体 OCR | https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr-handwriting |
| glmocr-sdk | GLM-OCR SDK 使用指南 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr-sdk |
GLM-Image
| 技能名称 | 用途 | 链接 |
|---|
| glm-image-gen | 文生图 | https://github.com/zai-org/GLM-skills/tree/main/skills/glm-image-gen |
GLM-V
| 技能名称 | 用途 | 链接 |
|---|
| glmv-caption | 图像/视频/文件描述生成 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-caption |
| glmv-prompt-gen |
基于视觉输入的提示词生成 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-prompt-gen |
| glmv-resume-screen | 简历筛选 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-resume-screen |
| glmv-grounding | 图像/视频目标定位与边界框可视化 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-grounding |
| glmv-doc-based-writing | 基于文档的内容生成(PDF/DOCX) | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-doc-based-writing |
| glmv-pdf-to-ppt | PDF 转 HTML 演示文稿 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-pdf-to-ppt |
| glmv-pdf-to-web | PDF 转学术项目网站 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-pdf-to-web |
| glmv-prd-to-app | 从 PRD 文档和原型构建全栈 Web 应用 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-prd-to-app |
| glmv-stock-analyst | 多源股票分析与报告生成 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-stock-analyst |
| glmv-web-replication | 公共网站的前端视觉复制 | https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-web-replication |
安装方式
方式 A:从 Clawhub 安装(推荐首选)
bash
npx clawhub@latest install <技能名称>
示例:
bash
npx clawhub@latest install glmocr
npx clawhub@latest install glmv-caption
npx clawhub@latest install glm-image-gen
你也可以一次性安装多个技能:
bash
npx clawhub@latest install glmocr glmocr-table glmocr-formula glmocr-handwriting glmocr-sdk glm-image-gen glmv-caption glmv-prompt-gen glmv-resume-screen glmv-grounding glmv-doc-based-writing glmv-pdf-to-ppt glmv-pdf-to-web glmv-prd-to-app glmv-stock-analyst glmv-web-replication
方式 B:如果 Clawhub 遇到频率限制
你可能会看到如下错误:
text
✖ 超出频率限制(47 秒后重试,剩余:0/20,重置时间:47 秒)
请使用以下方法之一:
- 1. 等待重置时间后重试。
- 直接从官方 GitHub 技能目录安装。
你可能会遇到 Clawhub 频率限制;可等待重试,或改用 GitHub 源安装。
方式 C:从 GitHub 源安装
使用每个技能的官方路径(参见上方目录)。
通用方法:
bash
git clone https://github.com/zai-org/GLM-skills.git
然后按照该技能自身的 SKILL.md 文件进行具体设置。
API Key 设置(大多数下游技能需要)
大多数 GLM 技能需要环境变量 ZHIPUAPIKEY。本主技能本身不会读取或使用该密钥,但下游技能会用到。
安全最佳实践:
- - 创建一个权限受限的 API 密钥,仅赋予你计划使用的技能所需的权限。
- 仅将密钥存储在环境变量中——切勿硬编码到源文件或提交到版本控制系统。
- 如果将密钥存储在 .env 文件中,请将 ZHIPUAPIKEY 添加到 .gitignore。
- 定期轮换密钥,并在 https://bigmodel.cn/usercenter/proj-mgmt/apikeys 撤销不再使用的密钥。
获取 API 密钥:https://bigmodel.cn/usercenter/proj-mgmt/apikeys
在 Shell 中设置:
bash
export ZHIPUAPIKEY=你的密钥
或者写入环境配置文件(如 ~/.zshrc)以长期生效,但请确保该文件不会被提交到版本控制系统。
Agent 应如何使用本主技能
当用户询问 GLM OCR / GLM Image / GLM-V 相关能力时:
- 1. 将用户意图匹配到目录中的一个或多个技能。
- 首先推荐通过 npx clawhub@latest install <技能名称> 进行安装。
- 如果遇到频率限制,告知用户稍后重试或使用 GitHub 技能源。
- 打开所选技能的官方 SKILL.md 文件并按照说明操作。
当用户提出具体任务时,Agent 按上述流程引导安装并跳转到对应技能文档。
资源链接
- - GLM-5:https://github.com/zai-org/GLM-5
- GLM-OCR:https://github.com/zai-org/GLM-OCR
- GLM-Image:https://github.com/zai-org/GLM-Image
- GLM-V:https://github.com/zai-org/GLM-V
- API 文档:https://docs.bigmodel.cn/
- API 密钥:https://bigmodel.cn/usercenter/proj-mgmt/apikeys
设计原因
某些技能分享平台在审核时可能将 subprocess 执行标记为高风险。
为了确保本主技能安全并易于通过审核:
- 1. 不包含辅助安装 .py 文件。
- 不包含本地命令执行逻辑。
- 仅提供官方链接和清晰的安装说明。
由于 subprocess 在审核中可能被视为高风险,这里采用纯文档方式。
安全说明
本主技能有意避免包含可执行辅助脚本。
它旨在更安全地在公共技能市场中分享和审核。
本 Skill 刻意不包含可执行安装脚本,以降低审核风险。