Skip to content

PicGo/dsh-plugin

40Last commit Aug 14, 2026

dsh-plugin DSH plugin

This plugin bridges the gap between local files generated by the agent and shareable links. It integrates with PicGo to upload to any configured image host (GitHub, S3, COS, Qiniu, PicGo Cloud, etc.). Provides a model-callable tool `picgo_upload` and a `/picgo` command for manual uploads.

How to install the dsh-plugin DSH plugin

dsh plugin --profile web add @picgo/dsh-plugin

Copying does not run this command. Review the repository and version before installing the dsh-plugin DSH plugin.

dsh-plugin DSH plugin data source

dsh-plugin DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-plugin DSH plugin can do

  • Upload local files to any PicGo-configured image host (GitHub, S3, Tencent COS, Qiniu, PicGo Cloud, third-party uploader plugins).
  • Provide a structured tool `picgo_upload` that the model can call to convert local files into URLs.
  • Provide a `/picgo` command for manual uploads, clipboard upload, status check, and PicGo Cloud sign-in/sign-out.
  • Include a bundled skill that teaches the model when to automatically upload (e.g., inserting screenshots into docs).
  • Default to PicGo Cloud free tier if no prior PicGo configuration exists.
  • Configurable via `cordis.patch.yml` with fields like `silent`, `timeoutMs`, `registerSkill`, `registerCommand`, `announceSignIn`.

Where the dsh-plugin DSH plugin fits

  • Agent writes a README and needs to embed a screenshot of its output.
  • Agent renders a chart and captures a screenshot, then uploads it to share the link.
  • User manually uploads an image from clipboard using `/picgo` command.
  • User uploads multiple local files at once with `/picgo <path>...`.
  • Agent captures a screenshot but the image stays on disk; this plugin uploads it so the link works after pushing.

Who the dsh-plugin DSH plugin is for

  • Developers building agent workflows with DeepSeek Harness who need to make local files accessible via URLs.
  • PicGo users who already have an image host configured and want to reuse it in Harness.
  • Anyone who wants to turn local files (screenshots, charts, etc.) into web-accessible links within an agent session.

dsh-plugin DSH plugin limitations

  • Uploaded links are public and may remain cached after deletion; not suitable for sensitive files like contracts or internal archives.
  • Clipboard uploads require a desktop session and are only available via the `/picgo` command, not the model.
  • The model cannot run `/picgo login` because it would block waiting for a browser callback.
  • Requires Node ^22.19.0 || >=24.0.0 and DeepSeek Harness (developer preview, APIs change often).
  • PicGo config is treated as read-only except for token management by PicGo Cloud.

dsh-plugin DSH plugin: from the repository README

Quoted from the PicGo/dsh-plugin README, the upstream source of the dsh-plugin DSH plugin. Copyright remains with the original authors.

Upload images and files to your image host from [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness), powered by [PicGo](https://picgo.app/). 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 `![](./out.png)` 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. ## Install ```sh dsh plugin --profile web add @picgo/dsh-plugin ``` Then boot as usual: ```sh 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: ```js const { uploaded } = await tools.picgo_upload({ paths: ['/tmp/chart.png'] }) console.log(uploaded[0].imgUrl) ``` **`/picgo`** — a command that uploads without spending a mode

Read the full READMEThe repository declares no license. Check with the authors before using it.

dsh-plugin DSH plugin questions

How do I install @picgo/dsh-plugin?

Run `dsh plugin --profile web add @picgo/dsh-plugin` in your terminal. Then start DeepSeek Harness as usual with `dsh --profile web`.

Do I need to install PicGo separately?

No, this plugin bundles PicGo Core. You only need to configure your image host. If you haven't used PicGo before, it defaults to PicGo Cloud with a free tier.

How do I sign in to PicGo Cloud?

Use the `/picgo login` command in the chat. It will open your browser for authentication. If you already have a token from the PicGo Cloud dashboard, you can run `/picgo login <token>` for instant sign-in.

Are uploaded files private?

No, uploaded links are public. Anyone with the URL can access the file, and it may remain cached even after deletion. Avoid uploading sensitive documents like contracts or internal archives.

Can I upload from the clipboard?

Yes, use the `/picgo` command without arguments to upload the current clipboard image (requires a desktop session). The model cannot upload your clipboard automatically.