Glm Vision logo

Glm Vision

Community
noah-1106
glm-vision

智谱 GLM-5.3-flash 视觉理解 CLI。输入图片(本地路径 / URL / 多图)+ 提问,输出文字或 JSON 分析。模型、端点、API Key 全部走 config.json 可换。用于截图理解、图表解读、图片问答、OCR 式提取。

Overview

Publishernoah-1106
RepositorySkills_Repo
Skill nameglm-vision
Stars
32
Forks
5
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by noah-1106 on GitHub. Read the source before you install it.

Installation

Install the Glm Vision AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/noah-1106/Skills_Repo/tree/main/skills/glm-vision
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/noah-1106/Skills_Repo.git /tmp/Skills_Repo
mkdir -p .claude/skills
cp -r /tmp/Skills_Repo/skills/glm-vision .claude/skills/glm-vision
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Glm Vision in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Glm Vision on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Glm Vision is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

glm-vision 视觉理解

场景

  • 截图/界面理解(UI 描述、元素识别、转代码前置分析)
  • 图表/数据图解读
  • 图片内容问答、信息提取(--json 结构化输出)
  • 多图对比(≤5 张)

触发条件

用户给出图片(路径或 URL)并要求理解、描述、分析或提取信息时。

输入

  • 图片:本地路径(自动转 Base64)或 URL(智谱服务端拉取);jpg/png/webp/gif,单张 ≤10MB
  • 视频:本地文件(mp4/mov/avi/mkv/webm,≤50MB,自动转 Base64)或 URL 直传
  • 提问:--prompt(默认"详细描述这张图片的内容")
  • --json:要求模型只输出合法 JSON
  • --max-tokens N:覆盖 config(reasoning 也占此预算,复杂问题适当调大)
  • --download:图片 URL 强制本地下载转 Base64(智谱服务端拉取国外源失败时用)

步骤

  1. 确认图片路径/URL 有效
  2. python3 scripts/glm_vision.py <图片...> [--prompt "..."] [--json]
  3. stdout 取结果;stderr 看诊断(--show-usage 可打印 token 用量与延迟)

判断标准

  • 输出为空 → stderr 会有明确错误(401 key / 429 限流 / 空回答提示加大 max_tokens)
  • 多图 >5 张会提示质量风险

输出

stdout:模型回答文本(或 JSON 字符串)。错误写 stderr 且退出码非 0。

异常处理

症状处理
401key 无效 → 检查 config.json 或环境变量 GLM_VISION_API_KEY
429限流(实测上限约 5 QPS)→ 间隔 1-2s 重试
1210 图片解析错误图片文件损坏或非图片(先 magic bytes 验证);或 URL 是国外源智谱拉不动 → 加 --download
URL 图报"type 参数非法"智谱服务端拉取该 URL 失败的误导性报错(多为国外源)→ 加 --download 本地下载
空回答max_tokens 被 reasoning 吃满 → 加大 max_tokens

实测边界(2026-09-02)

  • URL 直传依赖智谱服务端能访问目标 URL:国内源(bigmodel.cn CDN 等)稳定通过;国外源(httpbin.org/wikimedia)拉取失败(报 1210 或误导性的"type 参数非法")——此时加 --download 自动绕过
  • 视频:video_url 块,Base64 Data URL 和 URL 直传均可用(Base64 实测通过)

数据回流

2026-09-02 实测:content 多为 null,正文在 reasoning_content(thinking 默认 enabled)——脚本已内置兼容(content 非空时优先)。若智谱未来修复,无需改代码。

版本

v1.2 · 2026-09-02 · 视频支持(video_url)+ URL 策略修正(国外源自动降级) v1.0/v1.1 · 2026-09-02 · 项项(skill-creator-exflower 流程)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Glm Vision AI skill do?

智谱 GLM-5.3-flash 视觉理解 CLI。输入图片(本地路径 / URL / 多图)+ 提问,输出文字或 JSON 分析。模型、端点、API Key 全部走 config.json 可换。用于截图理解、图表解读、图片问答、OCR 式提取。

Why use Glm Vision on TypingMind?

Because you install it once and use it with any model. Glm Vision is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Glm Vision in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/noah-1106/Skills_Repo/tree/main/skills/glm-vision. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Glm Vision?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Glm Vision?

As many as you like. As long as a model supports skills, you can use Glm Vision with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Glm Vision AI skill free?

Yes. It is published on GitHub by noah-1106 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇