PicGo/dsh-plugin
从DeepSeek Harness上传图片和文件到你的图床,由PicGo驱动
Project Overview项目介绍
This is a native DSH plugin built exclusively for DeepSeek Harness that enables image and file uploads to user-configured image hosts. It resolves a common gap in DSH where local screenshots and generated images cannot be turned into public URLs, resulting in dead image links after pushing code to remote repositories. To install the plugin, run the command dsh plugin --profile web add @picgo/dsh-plugin then restart DSH as you normally would. It leverages PicGo's core library to handle uploads and works with any image host supported by PicGo, including GitHub, S3, Tencent COS, Qiniu, and PicGo Cloud.
It ships with two core features for different use cases, plus a bundled skill that guides the model on when to upload. First, it provides the picgo_upload tool that the DSH AI model can call automatically when it detects a need for a public image URL. Second, it adds a /picgo slash command that lets users manually trigger uploads for clipboard images or specific file paths, as well as check login status or manage authentication. The plugin prioritizes connecting to a running PicGo desktop app to reuse existing image host configurations set in the GUI, so most users do not need to reconfigure anything.
The plugin requires Node.js version 22.19.0 or higher, and it has been tested against DSH developer preview 0.1.1-rc.2 and PicGo Core 3.0.1. It is released under the open source MIT license, so you can modify or redistribute it freely per the license terms. If you have never used PicGo before, uploads default to the free tier of PicGo Cloud, and you just need to run /picgo login to complete a one-time authentication. You should note that the PicGo desktop app stores its configuration in a different path than the in-process core library, so running the desktop app ensures your existing configuration is used.
这是专为 DeepSeek Harness(DSH)打造的原生插件,借助 PicGo 能力支持在 DSH 环境中把本地图片和文件上传到你配置好的图床。它解决了 DSH 本身无法将本地图片转为可访问 URL 的问题,当 AI 助手编写文档、生成图表或截图时,能避免推送代码后出现图片死链的情况。安装方式为执行 dsh plugin --profile web add @picgo/dsh-plugin 后正常启动 DSH 即可。
它提供两类核心交互能力:一是供模型自动调用的 picgo_upload 工具,模型检测到需要生成公开图片链接时会自动触发;二是供用户手动操作的 /picgo 斜杠命令,支持上传剪贴板图片、指定路径文件、查看登录状态等操作。它会优先复用运行中的 PicGo 桌面端配置,没有桌面端时也会读取本地 PicGo 配置,适合需要在 DSH 中编写带图片文档的开发者。
它要求 Node 版本不低于 22.19.0,兼容最新版 DSH 开发者预览版和 PicGo Core 3.0.1,使用开源 MIT 许可证。如果你从未配置过 PicGo,默认会使用 PicGo Cloud 免费额度,只需要执行 /picgo login 完成一次性登录即可。需要注意的是,如果只使用过 PicGo GUI,桌面端配置和本插件读取的默认配置路径不同,优先运行桌面端能避免配置不匹配问题。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-plugin(PicGo/dsh-plugin)
仓库:https://github.com/PicGo/dsh-plugin
本站详情页:https://www.yhbd.top/plugins/picgo-dsh-plugin/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证未声明 · ⭐ 3 · 最近提交 2026-08-23 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add @picgo/dsh-plugin
把 PicGo/dsh-plugin 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
@picgo/dsh-plugin

Upload images and files to your image host from DeepSeek Harness, powered by PicGo.
Harness can show your agent a screenshot, but it has no way to turn a local file into a link. So when the agent writes a README, renders a chart, or captures a screenshot, the image stays on disk and  becomes a dead link the moment you push. This plugin closes that gap.
It uploads through whatever image host you already configured in PicGo — PicGo Cloud, GitHub, S3, Tencent COS, Qiniu, or any third-party uploader plugin you installed. Nothing to re-configure. If you've never used PicGo, it walks you into PicGo Cloud's free tier.
If the PicGo desktop app is running, uploads go through it, reusing the image host you set up in its window. Otherwise they run in-process. See Upload routes.
Install
dsh plugin --profile web add @picgo/dsh-plugin
Then boot as usual:
dsh --profile web
What you get
picgo_upload — a tool the model calls on its own when a local file needs to become a link. Returns structured results, so in Code Mode you can use it directly:
const { uploaded } = await tools.picgo_upload({ paths: ['/tmp/chart.png'] })
console.log(uploaded[0].imgUrl)
/picgo — a command that uploads without spending a model turn:
| Command | What it does |
|---|---|
/picgo |
Upload the clipboard image |
/picgo <path>... |
Upload one or more files |
/picgo status |
Show the active host and sign-in state |
/picgo login [token] |
Sign in to PicGo Cloud |
/picgo logout |
Sign out |

A bundled skill that teaches the model when to upload — inserting a screenshot into docs is the primary case — and when not to (you named a specific destination, you want a local copy).
Upload routes
There are two ways this plugin can reach your image host, and it picks one per upload:
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
nexu-io/open-design
Devin-AXIS/iPolloWork
liustack/modlens
Alisa0808/vox-director
EthanYoQ/AI-Novel-Writer
Anionex/agent-vision-toolkit
ysr666/dsh-vision-router
tong-io/tongflow