Introduction¶
In DeepSeek Harness (DSH), writing and revising articles often involves having the model read the full text and give verbal feedback in the chat, or manually writing prompts to iterate. Switching models changes the output format and focus; comparing conclusions from two providers requires running it manually a few times. If you use a standalone script or webpage for image generation, you need another set of keys and toolchains.
dsh-content-desk condenses “general model invocation” and “copywriting workflows” into six DSH tools: text goes to ctx.llm, reusing your configured providers without binding to a specific vendor; image generation reuses the image backend installed in DSH, the plugin itself does not ship with an image model. Package version 0.1.0, compatible with DSH 0.2.x, MIT license, maintained by Yanren1225.
Below is an introduction to what it does, how to install it, and typical invocation methods.
What is it¶
dsh-content-desk is a DSH client-side plugin (npm package name dsh-content-desk). It registers six tools in the session, covering review/polish/rewrite, multi-model horizontal comparison, on-demand image generation, as well as generic ai_task / ai_models / ai_image.
Some design constraints (from the official README):
- No provider binding: Model names can be written as
provider/modelor bare model names; if omitted, DSH’s current default model is used. - No separate API keys needed: Text calls go through DSH routing and authentication.
- Zero runtime npm dependencies: Uses only Node built-in modules; Node requires
^22.19.0 || >=24.0.0. - Pluggable image generation: When no image backend is installed, text capabilities work normally;
ai_image/copy_coverrequire a backend only when generating images.
Upon activation, it also provides an aiDesk service to Cordis, allowing other plugins or skills to reuse the same routing, fallback, and transient retry logic.
What do the six tools do¶
| Tool | Purpose |
|---|---|
ai_task |
General completion: translation, summarization, rewriting, structured extraction, writing prompts, etc.; supports system / max_tokens / temperature |
ai_models |
Lists DSH available text models (provider × model) and discovered image backends (model/size/quality/background) |
ai_image |
Generate images based on prompts, specifying backend and parameters; images are displayed in the chat |
copy_review |
Copy review: typos, bad grammar, facts and logic, advertising law and platform compliance, etc., and provide a modified version that can be adopted |
copy_compare |
Parallelly submits the same copy to 2–4 models for review, displayed in side-by-side comparison |
copy_cover |
Copy or visual description → Cover/illustration: First uses the model to generate an image generation prompt, then calls the image backend; only_prompt can view just the prompt |
The task option for copy_review supports four modes:
task |
Output |
|---|---|
review_and_polish (default) |
Overall review + list of issues + full revised copy + needs confirmation |
review |
Overall review + list of issues + key rewriting suggestions (without rewriting the full text) |
polish |
Overall review + full revised copy + main changes |
variants |
Overall review + list of issues + A/B/C three versions of rewriting + recommendation |
Installation and Activation¶
Prerequisite: DSH 0.2.x (verified in 0.2.2-rc.1 per README).
Method 1: Plugin Manager (Recommended)
action = install_bundletargetcan be a local repository absolute path, ordsh-content-desk@0.1.0after publishing
Method 2: Command Line
dsh plugin --profile desktop add <local-repo-absolute-path>
dsh plugin --profile desktop add github:Yanren1225/dsh-content-desk#v0.1.0
After installation, you need to start a new conversation (running sessions will not hot-update the tool list). Let the model call ai_models once to confirm the tools are ready. Text capabilities work out of the box; image generation requires an image backend installed in DSH (common example is codex_image_generate provided by dsh-codex-subscription).
You can adjust default model, timeout, copy length limit, fixed image tool name, etc., in the config section of the plugin row in the profile’s cordis.patch.yml, for example:
- id: content-desk
name: dsh-content-desk
config:
defaultModel: ''
fallbackModel: ''
textTimeoutMs: 180000
compareTimeoutMs: 300000
imageTimeoutMs: 300000
maxInputChars: 60000
imageToolName: codex_image_generate
Typical Usage¶
First, check the environment:
ai_models
Just describe the requirement in natural language, and the model will select the corresponding tool. Examples from the README (model names need to be replaced with entries listed in ai_models in your environment):
Help me use copy_review to review this copy, the platform is Xiaohongshu, target audience is 25-35 year old women:
「Limited time offer! Lowest price online, 100% effective, last 3 hours!」
Use copy_compare to have this copy reviewed by claude-haiku-5-5, glm-5.3, and gpt-5.6-luna, I want to see the分歧.
Use copy_cover to create a WeChat Official Account header image for this article, style: minimalist geometric, show me only the prompt first.
Model selection points: When explicit provider/model fails, it won’t silently reroute; when model is omitted, it sequentially uses config.defaultModel, DSH default, and the first available model; failure can fall back to fallbackModel and explain in the result note. Transient errors upstream (e.g., ETIMEDOUT) are automatically retried once on the same route.
Scenarios and Notes¶
Who is it for
- Doing compliance and polishing before publishing on DSH desktop profile, or comparing multiple models for the same draft.
- Have configured multiple text providers and want to unify the tool contract instead of writing prompts manually each time.
- Have an image backend installed and want to generate cover prompts and images from copy with one click.
Things to be aware of when using
- Review quality depends on the selected model; for fact-heavy copy, it is recommended to pass
backgroundand manually double-check the “needs confirmation” items. copy_compareruns 2–4 models in parallel, billed per call;copy_covercontains one text design and one image generation,only_promptcan align the direction first.- Internal model calls by the plugin are not written to DSH session logs; usage is based on provider billing;
usageis returned in the tool result. - Image generation is executed by the installed backend and does not go through the DSH tool approval chain; approval is required in upper workflow constraints.
- Default input limit for copy is
maxInputChars: 60000(counted by Unicode code points).
Safety Note Before Installation
DSH plugins run under current DSH process permissions and can access resources the process can reach. Before installation, read the repository source code and the MIT license, and install from a trusted channel (official GitHub or npm dsh-content-desk@0.1.0). The community directory SkillHub Plugin Page is for easy discovery. It has no official affiliation with DeepSeek / Fangfang, and is not equivalent to the official app store.
Conclusion¶
dsh-content-desk incorporates copy review, multi-model comparison, and optional image generation into the DSH tool surface, reusing your registered models and image backends, avoiding the need to set up a separate API for writing scenarios. If you already write articles daily on DSH 0.2.x, after installing it, start a new conversation, run ai_models, and then try copy_review or copy_compare as required by the platform to verify if it meets your workflow.
- Directory page: https://www.skillhub.cn/plugins/Yanren1225/dsh-content-desk
- Source code and docs: https://github.com/Yanren1225/dsh-content-desk