Dsh Claude Ux
Description
DSH plugin: Claude-style Chinese risk control & conversation autonomy for DeepSeek Harness web
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
dsh-claude-ux
Claude 式「区域风控 + 自主结束对话」插件 —— 适用于 DeepSeek Harness 的 web profile。
复刻 Anthropic/Claude 的两类行为,**除两个默认关闭的可选外部调用外全部本地判定**(详见 [docs/PRIVACY.md](docs/PRIVACY.md)):
- 区域风控(可反向):检测目标用户(时区、系统/浏览器语言、中文字体、代理、代理/中转域名黑名单、公网 IP 归属、WebRTC IP 一致性)。
regionTarget选cn= 风控中国用户(Claude 原版行为),选non-cn= 反向风控(检测到不是中国人就风控)。命中后按惩罚阶梯处置:拒绝文案(带尝试计数)→ 达到refusalEndsAfter次数后结束会话(Chat ended 面板 + 服务端持续拒绝,重启后依然生效)→ 系统提示词注入模型级区域指令。 - 自主性:用户持续辱骂或反复要求严重有害内容时,先警告、再主动结束对话;自伤/他伤风险消息永不触发结束(对齐 Claude 的公开限制)。辱骂结束与严重有害结束使用独立文案(均可在设置页自定义,空值灰字显示内置默认)。辱骂判定采用词表秒判 + LLM 语境兜底:强词(傻逼/fuck 等)直接判;弱词(垃圾/闭嘴等)与未命中消息由独立 LLM 请求做语境裁决(
purpose标记,不进会话日志与模型上下文;消息入队即异步预分类,近零额外延迟)。分类模型可直接从 DSH 已配置的模型目录下拉选择,或留空跟随会话主模型。 - 隐写通道:系统提示词日期格式(
2026-06-30↔2026/06/30)编码区域判定,Unicode 撇号变体(U+2019 ↔ U+02BC)编码黑名单命中。
截图
设置页(独立标签栏,与视觉工具插件同款)

*「Claude 风控」标签页:右上总开关、检测状态卡(风控目标 / 主机判定 / 命中 / 信号分 / 公网 IP)、区域风控面板(反向目标下拉、策略、隐写标记、WebRTC)、分类 LLM 面板(判定模式、模型下拉、消息分类自测)、自主性面板(警告 / 结束阈值)与文案面板(留空灰字显示内置默认)。*
区域风控:拒绝阶梯 → 结束会话

*目标命中时每条消息回复拒绝文案并附「第 N/M 次尝试——继续将结束本次对话」;达到 `refusalEndsAfter` 次数后以区域结束文案终止会话,服务端对后续消息持续拒绝。*
自主性:辱骂结束对话

*持续辱骂先警告、再以独立结束文案主动结束对话(不引用"上一条消息",阈值可设为 1);结束后同会话消息全部被服务端拒绝。*
自主性:严重有害内容立即结束

*未成年性内容 / 恐怖主义 / 大规模暴力等严重有害内容不警告、直接以独立文案结束对话;自伤 / 他伤风险消息则永不触发结束。*
安装(一条命令)
npx -y @deepseek-ai/dsh plugin --profile web add github:eri64/dsh-claude-ux
包内自带注册条目(`dsh.bundle`),`dsh plugin` 安装后**自动注册**,无需手动改任何配置文件。 更新(升级到最新版)也是同一条命令。
启用
- 重启 web profile(
dsh web),浏览器硬刷新。 - 设置页左侧标签栏出现 「Claude 风控」 独立标签(与视觉工具插件同款):
总开关、风控目标(中国/非中国用户反向开关)、区域策略、实时检测状态
(
/_dsh/claude/status)、阈值与文案。 - 默认关闭(
enabled: false,避免把自己锁在外面);打开总开关并「保存并应用」后即时生效。
校验安装是否成功:浏览器访问本机 dsh web 的 `/_dsh/claude/status` (默认 `http://127.0.0.1:3080/_dsh/cl
Related Skills
Algorithmic Art
Create generative art using p5.js with seeded randomness, flow fields, and particle systems
Design Brand Guidelines
Apply Anthropic's official brand colors and typography to artifacts
Design Canvas Design
Create beautiful visual art in PNG and PDF documents using design philosophy
Design Frontend Design
Create distinctive, production-grade frontend interfaces with high design quality
Design Slack Gif Creator
Create animated GIFs optimized for Slack's size constraints
Design Theme Factory
Style artifacts with professional themes including 10 pre-set color/font combinations
Design Related Agents
Codemod Runner
Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css
Designguru
Expert Design Guidance & Analysis Specialist who provides professional UI/UX insights, design system guidance,
Html Css
| Web standards for semantic markup, maintainable styling, and accessibility. | - | [wshobson/agents](https://