DeepSeek Harness plugin

my-image-drop

DeepSeek Harness plugin: drag images into the composer and get a file path back, so text-only models can read them via the read tool.

Jump to install

Source facts

Repository
yangpeng-space/my-image-drop
Latest update
Aug 20, 2026
Category
Tools & Capabilities
GitHub stars
0
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/yangpeng-space/my-image-drop
Plugin: my-image-drop
Author: yangpeng-space

Check the source files

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

File explorer2 files
README.mdSource · read only

my-image-drop

A DeepSeek Harness plugin that turns drag-and-drop of images into file paths in the composer, so text-only models can read them with the read tool (or a vision skill) instead of failing image admission.

How it works

  • Host half (dsh/index.js): registers a loopback route POST /my-image-drop. It accepts an image, magic-byte checks and size-caps it (25 MB), writes it as a private (0600) temp file under <tmpdir>/my-image-drop, and returns { "path": "..." }.
  • Browser half (dsh/client.js): a capture-phase drop listener (plus dragenter/dragover to enable dropping). On a drop that carries image files, it uploads each to /my-image-drop and inserts the returned path into the focused composer as plain text. It also dispatches a synthetic dragend so the composer's drop overlay dismisses.

The composer shows a file path in the input box. Send it and the model gets a path — the primary trigger for the read tool and vision skills.

Install

From the GitHub source (git install runs prepare; no build needed, the entry is committed):

dsh plugin add github:<owner>/my-image-drop

Or add the bundle to your profile:

{
  "dsh": { "profile": { "bundles": ["my-image-drop"] } }
}

Scope

This plugin handles drag-and-drop only. Paste is intentionally left to whatever else is installed (e.g. @liustack/modlens) so the two never double-handle the same event. If you run modlens' own drop patch and this plugin at the same time, both would insert a path — pick one.

Files

  • package.json — manifest; declares dsh.bundle.patch and the browser bundle (dsh.client).
  • cordis.patch.yml — host mount layer.
  • dsh/index.js — host half (route).
  • dsh/client.js — browser half (drag/drop listeners).

Testing (author)

  • node --check dsh/index.js — syntax check the host half.
  • node --check dsh/client.js — syntax check the browser half.
  • Install into a web profile, restart the desktop app, drag an image into the composer, and confirm a file path is inserted and the read tool can open it.