DeepSeek Harness plugin

dsh-vision-terry12138qy

Vision tool for text-only DeepSeek models: send images to Qwen or GLM multimodal and return descriptions.

Jump to install

Source facts

Repository
Terry12138qy/dsh-vision
Latest update
Aug 14, 2026
Category
Vision & Multimodal
GitHub stars
4
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/Terry12138qy/dsh-vision
Plugin: dsh-vision-terry12138qy
Author: Terry12138qy

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-vision

> 给不具备原生识图能力的 DeepSeek Harness 模型装上「眼睛」。

把图片(本地路径或网络 URL)发送给多模态大模型,返回中文文字描述。主模型为阿里云百炼(DashScope)qwen3.5-omni-plus,调用失败(额度用尽 / 欠费 / 限流)时自动切换智谱 glm-4.6v-flash 备用模型。

原始来源与适配说明

  • 原始项目asuojun/claude-vision-skill —— 面向 Claude Code 的识图 skill,核心是 vision.js(读图 → base64 → 调 OpenAI 兼容接口 → 返回文字描述,主模型失败自动切备用模型)。
  • 本项目:专门为 DeepSeek Harness 做了适配,把原来的 Claude skill 重写为 DSH 的 bundle 插件,注册一个 vision 工具。识图主流程(读图 → base64 → 调 API → 返回文字、主/备模型自动切换)原样保留

相较原版的主要改动:

  • 打包成 DSH bundle(dsh.bundle.patch),可通过 dsh plugin 安装;
  • 注册为 DSH 的 vision 工具(Code Mode 里 await tools.vision(...) 可直接调用);
  • CJS → ESM;配置改为「环境变量 > cordis.patch.yml config > 默认值」(原 .env 语义不变);
  • 增加 exec.signal 取消支持(DSH 工具契约要求)。

安装

dsh plugin --profile web add github:Terry12138qy/dsh-vision

或本地路径:

dsh plugin --profile web add file:/绝对/路径/dsh-vision

安装后重启 dsh web 生效。发布到 GitHub 后,记得给仓库添加 dsh-plugin 主题,方便被 DeepSeek Harness 生态发现。

配置

密钥通过环境变量(推荐,避免密钥进仓库)或编辑 cordis.patch.ymlconfig

用途环境变量config 字段
主模型 API KeyDASHSCOPE_API_KEYapiKey
主模型 Base URLDASHSCOPE_BASE_URLbaseUrl
主模型名VISION_MODELmodel
备用模型 API KeyFALLBACK_API_KEYfallbackApiKey
备用模型 Base URLFALLBACK_BASE_URLfallbackBaseUrl
备用模型名FALLBACK_MODELfallbackModel

环境变量优先于 config。示例见 [.env.example](.env.example)。

使用

配置好后,直接发图片路径或 URL,agent 会调用 vision 工具:

帮我看下这张图 C:\path\to\image.png

工作原理

图片(路径/URL) → 读文件 → base64 data URL → POST /chat/completions → 文字描述
                                           └─ 主模型失败 → 自动切备用模型 → 重试

致谢

衷心感谢 asuojun 开源 claude-vision-skill —— 本项目的识图主流程正是基于它的 vision.js 移植而来,才有了这个让 DeepSeek Harness 也能「看图」的插件。

许可

  • 本适配代码:MIT License(见 [LICENSE](LICENSE))。
  • lib/vision.js 的识图主流程移植自 asuojun/claude-vision-skill,请保留其署名并遵守原始项目的要求。