lov-describe-image

Solid

给纯文本模型"看图":调用智谱 GLM-4V-Flash(免费)把图片转成文字描述。当用户要求描述/识别/读取图片,或任务里出现图片文件(截图/图表/照片)而当前模型无法直接看图时,优先调用本 skill。需要图片磁盘路径,可附带具体问题。

Data & Documents 65 stars 17 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
51
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# lov-describe-image 给纯文本模型"看图":把图片发送给视觉模型(智谱 GLM-4V-Flash,免费),返回文字描述,让本身不具备视觉能力的模型(如 deepseek-v4-flash)能间接"看到"图片内容。 ## Triggers ### Activate when - 用户要求"看看/描述/识别/读懂/读取/识别这张图",或询问图片里写了什么。 - 任务上下文里出现图片文件(截图、图表、照片、海报、含文字的图),而当前模型无法直接看图。 - 需要从含文字的图片(界面截图、文档扫描、图表)中提取具体信息,例如检查异常、转录文字、核对内容。 ### Do not activate when - 用户只是要求生成、编辑、压缩或转换图片,而不是理解图片内容。 - 当前模型本身具备视觉能力、能直接看到图片,无需转述。 - 用户明确要求走 dsh 的原生多模态管线、项目内置读图工具,或指定了其他视觉后端。 ## Usage ```bash python3 ~/.claude/skills/lov-describe-image/scripts/describe_image.py "<图片路径>" "[具体问题]" ``` - `<图片路径>` 必填:绝对路径,或相对当前工作区的路径(建议绝对路径,避免歧义)。 - `[具体问题]` 可选:想从图中知道的具体信息;省略则让视觉模型完整描述(物体/场景/布局/颜色/风格/所有文字)。 ## Behavior - 读取文件 → 超 5MB 自动用 `sips` 降采样到 2048px → base64 编码 → 调 GLM-4V-Flash(`max_tokens` 上限 1024)。 - 返回的文本就是视觉模型的回答,直接向用户转述,不要添油加醋,也不要声称"看到了原图"。 - 失败时(未设 key / 网络 / 尺寸超限)会打印明确错误,按提示处理即可。 - 小模型对细节核对(逐字转写)置信度有限;重要结论建议用更强的视觉模型(如 Gemini)交叉验证。 ## Prerequisites - 环境变量 `ZHIPU_API_KEY`(智谱 key,格式 `id.secret`,注册地址:https://bigmodel.cn/apikey/platform)。 - macOS 自带 `sips`(大图降采样)与 `python3`。

Details

Author
lovstudio
Repository
lovstudio/skills
Created
5 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

llm-image-bridge

纯文本模型(DeepSeek/GLM 等)图像识别桥接。当当前模型不具备多模态视觉能力(如 deepseek-v4-pro、deepseek-v4-flash、glm-5.3、glm-5.2 等)且用户输入图片(路径/截图/粘贴图片/要求"看这张图")时,自动调用 OpenAI 兼容协议的视觉模型(千问 Qwen3-VL、智谱 GLM-4.6V、GPT-5.5、Gemini 3 等,可在配置中切换)识别图片内容,将文字描述作为上下文供当前模型使用。适用于 Claude Code、Codex 等任意支持 Skills 或能执行脚本的 AI Agent。触发词:图片、截图、看这张图、识别图片、分析图片。

1 Updated 3 weeks ago
tt-bltn
AI & Automation Listed

vision-skill

国产大模型生态的视觉层 / Visual layer for Chinese LLM ecosystem. 为纯文本 AI 模型提供深度图像理解能力 / Deep visual understanding for text-only models. 通过硅基流动 Qwen/Qwen3.5-4B 视觉多模态模型桥接(可切换智谱 GLM-4.6V-Flash),支持场景图、空间推理、上下文分析、情感解读、因果推理链、追问查询 / Bridges text-only LLMs (GLM-5.2, DeepSeek, Qwen, GPT) with visual understanding via SiliconFlow Qwen/Qwen3.5-4B (or Zhipu GLM-4.6V-Flash): scene graphs, spatial reasoning, contextual analysis, emotional interpretation, causal reasoning chains, follow-up visual queries. 当用户提供图片(路径或 URL)并要求理解、分析、描述、识别、推理、提取文字、回答关于图片的问题时触发 / Activate when the user provides an image (file path or URL) and asks to understand, analyze, describe, recognize, reason about, or extract text from it. 兼容任何遵循 Agent Skills 开放标准的框架 / Works with any Agent framework following the Agent Skills open standard.

0 Updated 1 months ago
ZYQIHUI
AI & Automation Listed

agent-vision

当主模型不支持图像输入,而用户要求查看、读取、描述或分析图片/截图时使用。调用 agent-vision see 把图片交给免费视觉模型(默认智谱 glm-4v-flash),并把识别结果作为回答依据。

5 Updated 1 months ago
SIMON-WORLD