Prompt enhancement: click the star button in the composer to have the current model rewrite the draft more clearly, with one click back to the original; the template is editable.
Install
# from npm (prebuilt)
dsh plugin --profile web add @istarry/dsh-prompt-enhance
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:iStarryDust/dsh-prompt-enhance
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
发送框"发送消息"按钮左侧的星形按钮:单击把输入框草稿单轮重写为更清晰的提示词(跟随会话当前模型,不读会话历史,附件不受影响);重写后按钮变为"恢复原文",再点恢复原稿;重写进行中点击 = 取消(原文不动)。
安装
dsh plugin add @istarry/dsh-prompt-enhance
装完重启 DSH 服务。
两个模板的区别
一次增强 = 一次单轮 LLM 调用,两个模板对应这条调用的两个角色:
system-template.md(系统模板)——重写规则,每次调用固定下发:告诉模型"你是提示词工程专家、怎么改写、语言跟随、≤800 字符"等。改它 = 改"怎么改"。user-template.md(用户模板)——请求包装,随每次请求携带草稿。改它 = 改"草稿怎么交给模型"。
两份内容都可自由编写,不必遵循任何格式:
{input}占位符可有可无——保留时草稿插入该位置;不保留时草稿自动附在模板末尾(空行分隔)- 唯一不能做的是把文件存成空的(空文件视为"没有文件",回退内置默认)
模板位置(自动安装)
模板在首次使用时自动从插件内置默认播种到 Harness 主目录:
C:\Users\<你>\.dsh\prompt-enhance\prompts\
├── system-template.md
└── user-template.md
- 直接改这里的文件,下一次增强立即生效,无需重启
- 已有文件不会被覆盖(你的修改优先);删除文件即回到内置默认
- 设置页"恢复默认模板"会把默认值写回这两个文件
插件目录里的 prompts/ 只是出厂默认,随插件分发,用于首次播种。
结构
cordis.patch.yml— bundle 三行:宿主服务prompt-enhance、composer 按钮ui-prompt-enhance、设置页ui-settings-prompt-enhanceprompts/— 出厂默认模板(播种源)packages/— 三个插件包的发布产物(file: 依赖源)node_modules/— 运行时闭包(vendor.mjs 生成)vendor.mjs(上级目录)— 从构建工作区重新同步产物的脚本
设置页
设置 → 增强提示词:显示开关、覆盖模型(provider/model,留空跟随会话)、温度、输出上限,以及两个模板的就地编辑器(与直接改文件等效)。
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 38796
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37348
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
yikart/AiToEarn#dsh-plugin-aitoearn★ 29024
Generate copy, images and short videos, and publish with one click to Douyin, Kuaishou, Xiaohongshu, WeChat Official, Bilibili, Facebook, TikTok and more, covering the full content lifecycle from creation to publishing and monetization.
superdesigndev/treg★ 10192
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 6129
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
Hithink-Tech-Org/Financial-API#hithink-finance★ 4796
Query Hithink Finance data in DeepSeek Harness, view charts in chat, and save refreshable dashboards.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.