install-dsh-image-gen
Install, configure, verify, or remove the dsh-image-gen Bundle in a DeepSeek Harness Web profile. Use when a user wants Google, OpenAI-compatible relay, Seedream, DashScope, or local ComfyUI image generation in DSH, cannot find the Image generation settings card, or needs help testing generate_image.
shanliuling · AI review on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add shanliuling/dsh-image-gen --skill install-dsh-image-genAbout this skill
name: install-dsh-image-gen description: Install, configure, verify, or remove the dsh-image-gen Bundle in a DeepSeek Harness Web profile. Use when a user wants Google, OpenAI-compatible relay, Seedream, DashScope, or local ComfyUI image generation in DSH, cannot find the Image generation settings card, or needs help testing generate_image.
Install DSH Image Gen
-
Confirm
dshruns and recorddsh --version. -
Ask which Web profile to change if the user did not name one. Default to
webonly when that profile already exists. -
Install the pinned package or repository spec the user provides:
dsh plugin --profile <profile> add <package-or-git-spec> -
If pnpm blocks the Git dependency's
preparescript, explain that the allowance executes repository code during installation. Add only the exact package key pnpm reports to the profile'spnpm-workspace.yaml, then retry after the user approves. -
Verify
dsh --profile <profile> --dump-configcontains thedsh-image-genlayer andimage-genrow. -
Start the profile. If port 3080 is already in use, identify the existing DSH process before stopping anything.
-
In Settings > Plugins > Plugin configuration > Image generation, select a cloud Provider and save its API key, or select Local ComfyUI, enter its URL, and import a ComfyUI API Format workflow JSON containing
{{prompt}}. Never print, read back, or commit a key. -
Test with “生成一张戴墨镜的赛博朋克猫图片”. Confirm one
generate_imagecall succeeds and its image renders in the conversation.
For removal, run dsh plugin --profile <profile> remove dsh-image-gen. Do not delete the user's credentials unless they explicitly request it.