siweina/dsh-novel-writer
DSH / DeepSeek Harness 小说写作助手插件:章节库管理、句式模式分析(九类句式/情感曲线/风格指纹)、风格自检、伏笔登记、批量导入、续写辅助。dsh-plugin 小说写作 人工智能写作
Project Overview项目介绍
siweina/dsh-novel-writer is a native plugin built exclusively for DeepSeek Harness (DSH) for Chinese novel writing. It also exposes all 18 of its tools as a stdio MCP server that works with any MCP client, including popular options like Claude Desktop and Cursor. The plugin covers the entire workflow of Chinese web fiction writing, from pre-writing material gathering to post-writing quantitative self-check, prioritized revision, and cross-chapter structure inspection. All semantic and stylistic analysis runs locally on your machine, with a 24MB Chinese model included, so there are zero API costs and your text never leaves your device.
This tool is built for Chinese web novel authors, and addresses common pain points like inconsistent writing style, forgotten pre-writing materials, lack of clear revision priority, and cross-chapter structural inconsistencies. The typical workflow starts with a single call to fetch all 16 required pre-writing materials, then authors write their new chapter, run a 6-dimensional style check after finishing, get a revision to-do list sorted by severity, recheck problem status after editing, and can run a full structural check across all chapters to catch issues with plot threads, characters and unused foreshadowing.
dsh-novel-writer requires Node.js version 22.3 or higher, and DSH version 0.1.1-rc.2 or newer to run, and it is released under the permissive open source MIT license. You can install it directly via npm or from the GitHub source within DSH, and non-DSH users can configure it via the MCP protocol in their preferred MCP client. Dependencies are installed automatically, the quantized BGE small Chinese model is included with the package, all inference runs locally on your CPU, and the only external network call is a GitHub API check for new versions with no user content sent.
这是专门为DeepSeek Harness(DSH)打造的中文网文写作原生插件,同时也可作为MCP服务器供Claude Desktop、Cursor等MCP客户端使用。它提供18个工具,覆盖从动笔前材料准备,到写完量化自检、按优先级改稿复测,再到跨章结构检查的完整网文写作流程。全部语义、风格分析都在本地完成,随包分发24MB中文模型,零API调用花费,正文不会离开用户本机。
面向中文网文作者,解决文风漂移、动笔前漏准备材料、改稿无优先级排序、跨章结构矛盾等常见创作痛点。典型工作流为:动笔前调用工具一次性获取16项创作相关材料,写完章节后做风格六维自检,生成按严重度排序的改稿待办,改完可复测问题状态,还可做跨章结构体检排查伏笔、人物、剧情线问题。
要求Node.js ≥22.3,DSH ≥0.1.1-rc.2,采用MIT许可证开源。可通过npm或GitHub源在DSH中安装,非DSH用户可通过MCP协议配置使用。依赖自动安装,随包分发量化后的BGE中文小模型,全部推理在本地CPU完成,仅检查更新时会调用GitHub API,无其他外部网络请求。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-novel-writer(siweina/dsh-novel-writer)
仓库:https://github.com/siweina/dsh-novel-writer
本站详情页:https://www.yhbd.top/plugins/siweina-dsh-novel-writer/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 18 · 最近提交 2026-09-30 · 主语言 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 更稳。
- 18 stars - an early-stage project星标 18,属于早期项目
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 add dsh-novel-writer
把 siweina/dsh-novel-writer 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
📚 dsh-novel-writer — 给网文作者的本地写作工作台
English | 中文
18 个工具,覆盖「动笔前取材料 → 写完量化自检 → 改稿按优先级复测 → 跨章结构体检」整条流程。 动笔前一次调用取齐 16 项材料(漏读一样就漂移);改稿不再只丢给你一堆数字,而是按严重度排好的待办(带原句行号、当前值与目标值、原著锚段,只给方向不代写);跨章层面能查「线断了、人丢了、伏笔忘了」。 句式 / 情感 / 语义全部在本地算:24MB 中文模型随包分发,零 API 花费、正文不出本机。 为 DeepSeek Harness(DSH)打造;同一套能力也可作为 MCP 服务器给 Claude Desktop / Cursor 使用。
官网 · 技术文档(18 个工具的参数与示例) · 安装 · 写作流程 · 60 秒上手 · 看看输出 · 18 个工具 · MCP 服务器
写作流程(一条能走完的闭环)
| 步骤 | 你说什么 | 用哪个工具 | 拿到什么 |
|---|---|---|---|
| ① 取材料 | 「给下一章取材料」 | novel_chapter_brief |
一次调用取齐 16 项输入:上一章结尾原文(承接口)/ 上一章钩子 / 本章大纲方向 / 相关人物卡 / 待回收伏笔(含埋了多久)/ 世界观用语规范与禁词 / 六维基线 / 原著锚段与句式骨架 / 上一章自检结论 / 禁用清单 / 开写清单——缺哪项、为什么、怎么补写在 degraded 里 |
| ② 动笔 | 「写第 N 章」 | novel_new_chapter · write |
新章文件(自动附基线 μ 摘要与原著锚包);锚段只用来校准语感(不照骨架造句),数字只做事后校验 |
| ③ 自检 | 「自检这一章」 | novel_style_check · novel_sentence_analysis |
相似度 + 偏差清单 + 六维对照(带内 ✓ / 出带 ⚠)。只有偏离明显(≥2 倍容差)或读起来确实别扭时才改——单一维度轻微出带属正常波动,不要为对齐数字改文 |
| ④ 改稿 | 「把这章排成改稿清单」 | novel_fix_plan |
按「严重度 → 难度 → 行号」排序的待办(默认上限 12 条),每条带原句行号、当前值/目标值、锚段与改写方向;分批改(同段同类合并),改完最多 verify 一次 |
| ⑤ 跨章体检 | 「看看全书结构」 | novel_plot { action: "graph" } |
伏笔埋设跨度 / 人物连续缺席区间 / 剧情线最大空档 / 时间线顺序 / 大纲方向与正文的偏离 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
edison7009/EchoBird
HaoyueQin/dsh-usage-statistics-panel
Jovan1666/dsh-commandcode-quota
heekei/dsh-usage
Han-1413141/dsh-cost-meter
edonadei/caliper
Ychris12138/dsh-usage-stats
wink-run/tokenbank