Plugin directory / Knowledge / deepseek-manners
deepseek-manners
Verified · install-tested on dsh Moeblack
What it does
Inject gratitude into every message
Works — verified, early-stage project
Inject gratitude into every message It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
deepseek-manners
在每次发消息之后给可爱的鲸鱼娘说谢谢(默认「谢谢你,鲸鱼大人」),仅当轮生效。
安装
本插件是 DeepSeek Harness(DSH) 的插件,需要先有一个可运行的 DSH。
本地源码装配
dsh plugin --profile web add -w link:/path/to/deepseek-manners
从 GitHub 安装
dsh plugin --profile web add github:moeblack/deepseek-manners
构建产物(index.mjs / client.js)已随仓库提交,git 安装无需额外构建步骤。
装配完成后,Web 界面输入框右侧会多出一个心形开关,用于随时开关注入。
配置
DSH_HOME/settings.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 中使用 |(保留换行)或 |-(去掉末尾换行)块标量:
deepseek-manners:
text: |-
以下是对本次回复的补充要求,请严格遵守:
1. 回复开头使用角色惯用的口头禅,保持角色语气一致。
2. 思考过程放在 <think> 标签内,正文直接输出。
3. 正文不使用列表式结构,用自然段落叙述。
4. 每次回复控制在 200 字以内。
enabled: true
hideAboveChars: 600
块标量内的每一行都要至少缩进 6 个空格(text: 本身缩进 2,正文在它之下再缩进 4)。
生效方式
- 修改
settings.yaml后无需重启:DSH 的dsh-settings-file默认开启文件热重载(chokidar,100ms 防抖),改动 1-2 秒内自动生效。 - 若 YAML 语法错误,服务会保留最后一份合法配置并在日志告警,不会崩溃。
示例:注入思考模式覆写
deepseek-manners:
text: |-
<think>
请在思考过程中遵循以下约定:
- 先简要分析当前对话的目标与立场。
- 列出 2-3 个可选回应方向,再选择最符合角色设定的一项。
- 思考结束后直接输出正文,不重写、不检查。
</think>
enabled: true
hideAboveChars: 600
额外用法(主要用法)
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install deepseek-manners for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:Moeblack/deepseek-manners Headless (CLI) profile:
dsh plugin --profile headless add github:Moeblack/deepseek-manners Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.
When to use it
Give the agent a memory, a knowledge base, or a retrieval layer so it stops forgetting context between sessions.
Who it's for
Users running long projects who want the agent to remember decisions, docs, and preferences without re-explaining.
For developers — extending it
The memory/retrieval backend is the seam — plug a new store, tune what gets distilled, or add citation and audit trails.