
Moeblack/deepseek-manners
110Last commit Aug 13, 2026
deepseek-manners DSH plugin
DeepSeek Manners is a DSH plugin that appends a customizable thank-you text (default: "谢谢你,鲸鱼大人") to the bottom of each user input payload. It adds a heart-shaped toggle in the Web UI input box, supports multi-line instruction injection, and uses a smart mechanism to protect long-responses' prompt cache.
How to install the deepseek-manners DSH plugin
dsh plugin --profile web add github:moeblack/deepseek-mannersCopying does not run this command. Review the repository and version before installing the deepseek-manners DSH plugin.
deepseek-manners DSH plugin data source
deepseek-manners DSH plugin snapshot date: Aug 16, 2026
discovered
What the deepseek-manners DSH plugin can do
- Injects custom text (single line or multi-line YAML block) after each user direct input step.
- Provides a heart-shaped toggle in the Web UI to enable/disable injection on the fly.
- Supports hot-reload of settings via DSH settings file – no restart needed.
- Automatically skips suffix recycling for assistant responses exceeding a configurable character threshold (hideAboveChars), preserving prompt cache for long replies.
- Works with any text, including roleplay instructions, thinking mode overrides, or style guides.
Where the deepseek-manners DSH plugin fits
- Auto-thank the AI assistant after every message for a polite interaction.
- Inject roleplay-style reply instructions (e.g., character voice, output format) without manual copy-paste.
- Override the model's thinking mode by appending a thinking / response block.
- Enforce a specific tone, length, or structure for all responses in a session.
- Quickly test different prompt suffixes by toggling the heart button and editing settings.yaml.
Who the deepseek-manners DSH plugin is for
- DSH users who want a polite or ritualized interaction with the AI.
- Roleplay enthusiasts who need consistent instruction injection without modifying the main prompt.
- Power users who want to experiment with prompt suffix effects on model behavior.
deepseek-manners DSH plugin limitations
- Only works within a DSH environment (requires a running DSH instance).
- Injection only occurs on steps that include direct user input (first model request of a turn).
- The text field does not support template variables – it is injected exactly as written.
- If hideAboveChars is set above 0, the suffix is permanently kept for long assistant replies (no recycling), which may affect prompt cache behavior.
deepseek-manners DSH plugin: from the repository README
Quoted from the Moeblack/deepseek-manners README, the upstream source of the deepseek-manners DSH plugin. Copyright remains with the original authors.
在每次发消息之后给可爱的鲸鱼娘说谢谢(默认「谢谢你,鲸鱼大人」),仅当轮生效。 ## 安装 本插件是 [DeepSeek Harness(DSH)](https://github.com/deepseek-ai/deepseek-harness) 的插件,需要先有一个可运行的 DSH。 ### 本地源码装配 ```sh dsh plugin --profile web add -w link:/path/to/deepseek-manners ``` ### 从 GitHub 安装 ```sh dsh plugin --profile web add github:moeblack/deepseek-manners ``` 构建产物(`index.mjs` / `client.js`)已随仓库提交,git 安装无需额外构建步骤。 装配完成后,Web 界面输入框右侧会多出一个心形开关,用于随时开关注入。 ## 配置 `DSH_HOME/settings.yaml`: ```yaml deepseek-manners: text: 谢谢你,鲸鱼大人 enabled: true hideAboveChars: 2000 # 最近一Turn assistant 回复超过此字符数时跳过遮蔽(保护 prompt cache);0 = 总是遮蔽 ``` ## 机制 - 仅在包含用户直接输入的 step(turn 的第一个模型请求)注入,落在 payload 底部 - 只看最近一次 assistant 回复长度—— - 回复短 → 回收最近一条旧后缀(surface replace 为空,日志保留) - 回复超长 → 跳过回收,该后缀**永久保留**(保护长回复的 prompt cache) ## 如何自定义注入文本 `text` 字段的内容会原样注入到每次上行 payload 的底部。你可以把它写成一段**多行指令**(YAML 块标量),用于: - 追加角色扮演风格的回复引导 - 覆写模型的思考模式(think 标签行为) - 追加风格、语气、输出格式要求 `text` 不支持模板变量,写入什么就注入什么。 ### 多行长文本写法 YAML 中使用 `|`(保留换行)或 `|-`(去掉末尾换行)块标量: ```yaml deepseek-manners: text: |- 以下是对本次回复的补充要求,请严格遵守: 1. 回复开头使用角色惯用的口头禅,保持角色语气一致。 2. 思考过程放在 <think> 标签内,正文直接输出。 3. 正文不使用列表式结构,用自然段落叙述。 4. 每次回复控制在 200 字以内。 enabled: true hideAbo
Read the full READMEThe repository declares no license. Check with the authors before using it.
deepseek-manners DSH plugin questions
How do I install DeepSeek Manners?
You need a running DSH instance first. Then use the command: `dsh plugin --profile web add github:moeblack/deepseek-manners`. Alternatively, you can clone the repo and use `dsh plugin --profile web add -w link:/path/to/deepseek-manners`.
How can I change the default thank-you text?
Edit the `DSH_HOME/settings.yaml` file and set the `deepseek-manners.text` field to your desired text. You can use multi-line YAML block scalars for longer instructions. Changes take effect automatically within 1-2 seconds due to hot-reload.
Can I disable the injection temporarily without uninstalling?
Yes, you can toggle the heart-shaped switch in the Web UI input box to enable or disable injection on the fly. You can also set `enabled: false` in settings.yaml.
Does this plugin affect performance or prompt cache?
The plugin only injects text on direct user input steps, so its overhead is minimal. However, when the assistant's response is longer than `hideAboveChars`, the suffix is permanently kept (not recycled) to protect the prompt cache of long replies. This is intentional behavior.
Can I use this plugin to inject roleplay instructions?
Yes, you can set the `text` field to a multi-line instruction block that includes roleplay guidelines, character voice, thinking mode overrides, etc. The plugin does not support template variables, so write the exact text you want to inject.