# Send Ms Qwen Vl to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ms-qwen-vl",
    "name": "Ms Qwen Vl",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/crocketc/ms-qwen-vl",
    "canonicalUrl": "https://clawhub.ai/crocketc/ms-qwen-vl",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ms-qwen-vl",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ms-qwen-vl",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/api-guide.md",
      "references/models.md",
      "requirements.txt",
      "scripts/ms_qwen_vl.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ms-qwen-vl"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ms-qwen-vl",
    "downloadUrl": "https://openagent3.xyz/downloads/ms-qwen-vl",
    "agentUrl": "https://openagent3.xyz/skills/ms-qwen-vl/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ms-qwen-vl/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ms-qwen-vl/agent.md"
  }
}
```
## Documentation

### MS-Qwen-VL Skill

基于 ModelScope Qwen3-VL 系列模型的多模态视觉识别技能，使用 OpenAI SDK 兼容方式调用。

### 功能特点

OpenAI SDK 兼容：使用标准 OpenAI SDK 调用 API
多种任务支持：图像描述、OCR、视觉问答、目标检测、图表解析
双模型模式：默认快速模型（30B）+ 精细高精度模型（235B）
灵活输入：支持本地图片和 URL

### 安装与配置

# 安装依赖
pip install -r requirements.txt

# 配置 API Key
cp .env.example .env

编辑 .env 文件，填入从 https://modelscope.cn/my/myaccesstoken 获取的 API Key：

MODELSCOPE_API_KEY=your_api_key_here

### 重要：处理本地图片

当用户提供本地图片路径时（如桌面截图），必须使用 Python 脚本处理：

python scripts/ms_qwen_vl.py "<图片路径>" --task <任务类型>

脚本会自动将本地文件转换为 ModelScope API 需要的 base64 格式。

### 处理 URL 图片

当用户提供网络 URL 时，同样使用上述命令，脚本会自动识别：

python scripts/ms_qwen_vl.py "<URL>" --task <任务类型>

### Claude Code 对话示例

场景 1：分析桌面截图

用户: 请帮我描述这张图片 C:\\Users\\...\\Desktop\\screenshot.png
助手: [执行] python scripts/ms_qwen_vl.py "C:\\Users\\...\\Desktop\\screenshot.png"

场景 2：OCR 识别本地图片

用户: 识别这张图中的文字: D:\\Documents\\invoice.jpg
助手: [执行] python scripts/ms_qwen_vl.py "D:\\Documents\\invoice.jpg" --task ocr

场景 3：分析网络图片

用户: 分析这张图片 https://example.com/photo.jpg
助手: [执行] python scripts/ms_qwen_vl.py "https://example.com/photo.jpg" --task describe

场景 4：视觉问答

用户: 这张图里有几个人？C:\\Users\\...\\Desktop\\photo.png
助手: [执行] python scripts/ms_qwen_vl.py "C:\\Users\\...\\Desktop\\photo.png" --task ask --question "图片里有几个人？"

### 任务类型对照

用户需求--task 参数描述图片内容describe识别文字/OCRocr回答关于图片的问题ask（需要 --question）检测物体detect解析图表chart

### 快速使用

# 图像描述（默认）
python scripts/ms_qwen_vl.py image.jpg

# OCR 文字识别
python scripts/ms_qwen_vl.py image.jpg --task ocr

# 视觉问答
python scripts/ms_qwen_vl.py image.jpg --task ask --question "图片里有什么？"

# 使用精细模式（235B 模型）
python scripts/ms_qwen_vl.py image.jpg --task describe --precise

Python 代码调用：

from scripts.ms_qwen_vl import analyze_image

result = analyze_image("image.jpg", task="ocr")
print(result)

### 任务类型

任务参数说明图像描述describe详细描述图片内容（默认）OCR 识别ocr识别图片中的文字视觉问答ask回答关于图片的问题目标检测detect检测图片中的物体图表解析chart解析图表数据

### 环境变量

变量名说明MODELSCOPE_API_KEYAPI 密钥（必需）MODELSCOPE_MODEL默认模型（可选）MODELSCOPE_MODEL_PRECISE精细模式模型（可选）

### scripts/

ms_qwen_vl.py - 核心解析脚本，提供 analyze_image() 统一接口

### references/

api-guide.md - OpenAI SDK 兼容调用方式详细说明
models.md - Qwen3-VL 系列模型及推荐使用场景
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: crocketc
- Version: 0.1.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ms-qwen-vl)
- [Send to Agent page](https://openagent3.xyz/skills/ms-qwen-vl/agent)
- [JSON manifest](https://openagent3.xyz/skills/ms-qwen-vl/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ms-qwen-vl/agent.md)
- [Download page](https://openagent3.xyz/downloads/ms-qwen-vl)