基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/xdelin/OpenClaw-Education-Skills --skill image-understanding命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Skill for interacting with the Lean-Claw Arena to prove math theorems using Lean 4.
"PDF to Markdown - PDF文本转Markdown工具. Use when you need pdf to markdown capabilities. Triggers on: pdf to markdown."
"Short Drama Writer. Use when you need short drama writer capabilities. Triggers on: short drama writer."
| name | image-understanding |
| description | 使用智谱AI的GLM-4V-Flash免费多模态API理解图片内容。当用户需要理解图片内容、描述图片、识别图中物体时使用此skill。 |
这个skill用于理解图片内容,使用智谱AI的GLM-4V-Flash免费多模态API。
当用户需要理解图片内容时使用此skill,例如:
用户需要:
ZHIPU_API_KEYskill提供了 scripts/analyze_image.py 脚本,可以直接调用:
python scripts/analyze_image.py <图片路径> "<问题>"
参数:
<图片路径>: 图片文件路径(建议使用jpg格式)<问题>: 要问的问题,如"这张图片里有什么"如果没有脚本,可以直接用Python调用智谱API:
from zhipuai import ZhipuAI
client = ZhipuAI(api_key="你的API Key")
response = client.chat.completions.create(
model="glm-4v",
messages=[
{
"role": "user",
"content": [
{"type": "text", "text": "这张图片里有什么?请详细描述。"},
{"type": "image_url", "image_url": {"url": "图片URL或base64"}}
]
}
]
)
print(response.choices[0].message.content)
返回图片内容的详细描述,包括: