minimax-image-understand
通过 MiniMax MCP 进行图像理解,适用于 OpenClaw 平台。如果你是 Claude Code 用户,请忽略此技能。
How do I install this agent skill?
npx skills add https://github.com/cat-xierluo/legal-skills --skill minimax-image-understandIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The minimax-image-understand skill provides a wrapper for the MiniMax image analysis service using the Model Context Protocol (MCP). It allows an AI agent to send image files or URLs along with descriptive prompts to the MiniMax API. The skill correctly manages credentials through environment variables and uses standard libraries like 'mcp' for its operations. No malicious patterns or security vulnerabilities were identified.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 2 issues
- Runlayerwarn
4/4 files flagged
What does this agent skill do?
MiniMax MCP 图像理解
重要提示:本技能适用于 OpenClaw 平台。如果你使用的是 Claude Code,请忽略此技能。
通过 MiniMax MCP 进行图像理解。
触发条件
用户发送图片并要求分析、描述、识别时使用。
依赖
系统依赖
| 依赖 | 安装方式 |
|---|---|
| Python 3.10+ | macOS:brew install python3<br>Linux: sudo apt-get install python3 |
Python 包
| 包名 | 用途 | 安装命令 |
|---|---|---|
mcp | MCP 客户端库 | pip install mcp |
前置要求
- 安装依赖:
pip install mcp - 配置环境变量:复制
.env.example为.env并填入 API Key
使用方法
cd ~/.openclaw/skills/minimax-image-understand/scripts
source .env
python3 image_understand.py <图片路径或URL> [提示词]
代码中调用
import sys
import os
sys.path.insert(0, "~/.openclaw/skills/minimax-image-understand/scripts")
os.environ["MINIMAX_API_KEY"] = "your-key" # 或从 .env 加载
from image_understand import understand_image
result = await understand_image("image.jpg", "描述这张图片")
图片路径
图片保存位置:~/.openclaw/media/inbound/,文件名格式:{uuid}.jpg
Hermes Agent 环境说明
本 skill 在 OpenClaw 环境下可用,在 Hermes Agent 中不可用,原因:
MINIMAX_API_KEY未注入到 Hermes Agent 的 shell 环境变量- 系统 Python 为 3.9.6,
mcp包需 Python 3.10+(可用uv run --python 3.12 --with mcp绕过) - 图像分析在 Hermes 中会失败,需改用文字描述或 OpenClaw 协助读图
配置文件
.env 文件已放在 scripts/ 目录下,格式:
MINIMAX_API_KEY=your-api-key
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/cat-xierluo/legal-skills/minimax-image-understand">View minimax-image-understand on skillZs</a>