crazy-L118/dsh-personalization
A personalization plugin for DeepSeek Harness
Project Overview项目介绍
dsh-personalization is a native plugin built specifically for DeepSeek Harness (DSH). It adds a dedicated "Personalization" section to the DSH settings panel, sitting just below the "Agent preset" entry, where users can author long-lived instructions, set the nickname the AI should use for them, rename the AI itself, and define a persona description. Once saved, those values are injected into DSH's system prompt from the very next message onward. Installation is performed with dsh plugin --profile web add dsh-personalization@1.0.0 — the README explicitly warns that the @1.0.0 version suffix is mandatory so that the latest pinned release is picked up rather than the floating latest tag. Removal uses dsh plugin --profile web rm dsh-personalization, after which a dsh web restart is required for the change to take effect on the web profile.
A typical session begins with the user opening the DSH web settings, scrolling to the new personalization page, and filling in fields such as a nickname, a renamed assistant identity, a persistent rule list, and a persona block describing tone or role. The plugin is implemented in two halves: a host-side Node module at lib/index.js that registers a personalization:user segment into DSH's system-prompt registry at order 1, immediately after the built-in persona, and re-reading the configuration file on every conversational turn; and a browser-side module at lib/client.js that mounts the settings page into DSH's settings.section slot at order 25 and reads or writes configuration through two same-origin HTTP endpoints, /personalization-config and /personalization-config-save. The target users are DSH operators who want every task and every reply to consistently follow the same style, naming, and ground rules without retyping them each session.
Configuration is persisted solely on the local machine at ~/.dsh/personalization.json, and the file can be edited by hand without restarting DSH, since the host half re-reads it each turn. Field caps are 80 characters for nickname and aiName, 1500 characters for instructions, and 2000 characters for persona. When the file is empty or the master enabled flag is false, the segment resolves to an empty string and DSH drops it, yielding zero prompt bloat. The project is released under the MIT license, bundles a bundle-manifest, and carries an explicit disclaimer stating it is not affiliated with, endorsed by, or sponsored by DeepSeek, with "DeepSeek Harness" used only as a descriptive reference.
dsh-personalization 是一个面向 DeepSeek Harness(DSH)的原生插件,仅以 DSH 为目标。它在 DSH 设置页的「Agent 预设」下方新增「个性化」页,允许用户填写长期指令、昵称、AI 名称与人设描述,保存后从下一条消息起即向系统提示词注入。安装方式为 dsh plugin --profile web add dsh-personalization@1.0.0(需显式版本号),卸载使用 dsh plugin --profile web rm dsh-personalization,随后重启 dsh web 生效;界面与系统提示词会跟随 DSH 当前语言,注入位置紧跟 DSH 内置人设、采用逐行引用标记以防伪造。
典型工作流是打开 Web 设置 → 进入「个性化」页 → 填写指令与称呼 → 保存即生效,无需重启;运行过程由宿主半区(Node 端 lib/index.js)注册 personalization:user 段并每轮重读配置,界面半区(浏览器端 lib/client.js)在设置页 settings.section 插槽 order 25 注册页面,并通过 /personalization-config(读)与 /personalization-config-save(写)两个同源 HTTP 接口同步。该插件适合希望让所有任务、所有回复统一遵循同一套规则与口吻的 DSH 用户。
所有配置只保存到本机 ~/.dsh/personalization.json,不上传任何第三方服务;字段上限分别为 nickname/aiName 80 字符、instructions 1500 字符、persona 2000 字符。空内容或 enabled=false 时输出空串,DSH 自动丢弃该段,提示词零冗余。项目使用 MIT 协议,明确声明与 DeepSeek 无隶属关系,「DeepSeek Harness」商标仅作描述性引用。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-personalization(crazy-L118/dsh-personalization)
仓库:https://github.com/crazy-L118/dsh-personalization
本站详情页:https://www.yhbd.top/plugins/crazy-l118-dsh-personalization/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-02 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-personalization@1.0.0
把 crazy-L118/dsh-personalization 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-personalization
English | 简体中文
dsh 个性化插件:在 dsh 设置里教 AI「你是谁、它是谁、要记住什么」。一次配置,之后所有任务、所有回复都生效。
功能
- dsh 设置新增**「个性化」**页(位于「Agent 预设」下方),跟随界面语言(中文 / English)
- 自定义指令:给 AI 定几条长期规则(例如「先给结论再展开」),后续所有任务都生效
- 称呼与身份:AI 对你的称呼、AI 自己的名字
- AI 的人设 / 人格描述:角色设定与说话风格
- 总开关:一键停用所有注入,不必逐项清空
- 保存即生效:设置保存后,从下一条消息起就按新内容注入,无需重启
dsh web - 注入内容紧随 dsh 内置人设之后、工具说明之前;逐行加引用标记,避免用户内容伪造系统指令
- 所有配置只保存在本机
~/.dsh/personalization.json,不上传任何服务器
界面截图

英文界面:

安装
请显式指定版本号安装(当前最新 v1.0.0):
dsh plugin --profile web add dsh-personalization@1.0.0
请务必带上
@1.0.0版本号,确保安装到该最新版本;仅写包名会装到latest,无法保证是 1.0.0。
重启 dsh web 生效。
卸载
dsh plugin --profile web rm dsh-personalization
配置文件
所有内容保存在本机 ~/.dsh/personalization.json,可直接手改(保存后无需重启,下一轮对话自动读取):
{
"enabled": true,
"nickname": "阿伟",
"aiName": "小深",
"instructions": "回答先给结论再展开。\n代码注释和提交信息用中文。",
"persona": "严谨但不失幽默的资深工程师。"
}
| 字段 | 含义 | 上限(字符) |
|---|---|---|
enabled |
总开关,false 时完全不注入 |
— |
nickname |
AI 对你的称呼 | 80 |
aiName |
AI 自己的名字 | 80 |
instructions |
自定义指令(长期规则) | 1500 |
persona |
人设 / 人格描述 | 2000 |
工作原理
插件分两半:
- 宿主半区(
lib/index.js,Node):向 dsh 的系统提示词注册表注册一个personalization:user段(order 1,紧跟内置人设)。该段在每一轮对话组装时实时读取配置文件,因此保存即生效;同时提供/personalization-config(读)与/personalization-config-save(写)两个同源 HTTP 接口。 - 界面半区(
lib/client.js,浏览器):向设置页settings.section插槽注册「个性化」页(order 25),通过上面的 HTTP 接口读写配置,跟随 dsh 界面语言。
全空或总开关关闭时输出空串,dsh 会自动丢弃该段,提示词零冗余。
联系
问题或建议,欢迎联系:
- 邮箱:crazy_l118@icloud.com
- GitHub Issues:提交 issue
赞助
如果这个插件对你有帮助,可以给我的晚餐加一根火腿肠 🌭

免责声明
- 本项目与 DeepSeek 无隶属、背书或赞助关系。
- "DeepSeek Harness" 是 DeepSeek 的注册商标,此处仅作描述性引用;插件名采用官方推荐的 DSH 缩写。
- 个性化内容仅注入到你本机 dsh 发起的模型请求中,不会发送给任何第三方。
License
MIT
titanwings/distilly
YuJunZhiXue/dsh-purge
Clearailhc/clearai-dsh
yejiming/MuseAI
superdesigndev/superdesign-skill
Miaotofu01/Study-Mate