Openwrite is a local-first novel-writing studio for DeepSeek Harness, combining an AI agent with tools for planning stories, managing characters and settings, writing chapters, reviewing drafts, and exporting books. It is intended for long-form fiction writers who want their project files, creative notes, and credentials kept in local directories. The catalogue add-ons are Openwrite skills that extend this writing workflow.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add LiPu-jpg/Openwrite --skill feedbackgit clone --depth 1 https://github.com/LiPu-jpg/OpenwriteWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lipu-jpg/openwrite/feedback)<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/feedback"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/feedback/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/feedback"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/feedback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.01399 |
| Opus 5.5 | $0.00026 | $0.00560 |
| Sonnet 5.5 | $0.00013 | $0.00280 |
| Haiku 4.5 | $0.00006 | $0.00140 |
Grade A, and why
feedback scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Language: follow the author's current conversation language for responses and reports; never expose private manuscript content.
脱敏故障排查与 Bug 反馈
小说正文、大纲、角色与世界观设定属于作者高度私密内容。排障与提交反馈的工作由你(OpenWrite Agent)代为排查、脱敏与整理,不让作者手工翻日志或冒着剧透/泄露隐私的风险贴上下文。
1. 先排查本地现场(仅采集技术状态,禁止摘录创作内容)
按当前问题场景按需执行只读诊断:
- 调用
novel_diagnostics检查卡住的运行任务、陈旧锁(stale locks)与运行异常。 - 调用
novel_status读取技术阶段、后端就绪态与缺口类型(仅记录结构化阶段字段,忽略书名与剧情语义)。 - 调用
novel_task(action="list")、novel_chapter_run_action(action="list")与novel_trace_list,定位失败的任务phase、出错的novel_*工具名、error_code、request_id与模型路由(绝不把正文、提示原文或模型生成全文带出)。 - 若问题涉及 Studio 后端崩溃、启动失败或网络传输错误:
- 可只读查看工作区
.openwrite/transport-errors/中最近一条错误摘要; - 可只读查看托管后端日志
$DSH_HOME/openwrite/state/logs/backend.log(默认~/.dsh/openwrite/state/logs/backend.log)末尾最多 50 行,以及dsh/dsh-openwrite版本号。 - 禁止读取或引用
src/正文、大纲文件、角色卡、世界观设定或参考库文本用于外发报告。
- 可只读查看工作区
2. 智能分流与本机自愈(先判断能否本机解决,再决定是否报 Bug)
对照诊断结果先做根因分流,能在本机解决的直接给出一步到位操作(涉及写操作或解锁前先征得作者同意):
- 宿主模型未配置 / 鉴权失败(401/403):引导在「设置 → OpenWrite → 宿主与模型」确认宿主默认模型与密钥。
- 环境未就绪 / 后端连接失败:提示在「设置 → OpenWrite → 环境」点击「准备写作环境」或「重试准备环境」。
- 陈旧锁 / 卡住的后台任务:若
novel_diagnostics报 stale locks 或任务长时间卡在非终态,先说明锁定的阶段与安全影响,征得同意后执行清理或重试。 - 网关超时 / 限流(429/502/504):区分上游网络波动与插件缺陷,建议适当重试或切换模型线路。
- 确认属于插件/工作台异常(或重试仍复现):进入第 3 步生成脱敏报告。
3. 输出零剧透、可直接一键提交的脱敏 Issue 报告
必须执行严格脱敏红线:
- 零剧透 / 零创作资产:剔除并替换所有书名、
novel_id、章节名、章节正文片段、剧情梗概、角色姓名、地点名称、势力与专有名词,改用抽象占位符(如[作品]、[第N章]、[角色A])。 - 零本机路径与用户名:将
/Users/<name>、/home/<name>、C:\Users\<name>脱敏为<HOME>,将具体作品目录替换为<WORKSPACE>。 - 零凭据密钥:剔除所有
sk-...、Bearer ...、API Key、Token、Cookie 及含鉴权参数的 URL(替换为<REDACTED>)。
以单个完整 Markdown 代码块输出 「可直接提交到 GitHub Issues 的脱敏报告」,包含:
- 建议标题:
[Bug]: <出错工具或模块> - <一句话技术症状>(严禁空标题或占位符) - 复现步骤与现象:抽象化后的步骤、预期行为、实际报错
- 脱敏诊断摘要:
host_dsh、dsh-openwrite版本、OS/Node 版本、runtime_phase、出错工具与error_code/request_id、脱敏后的核心错误堆栈 - 隐私剔除确认:明确标注已剔除小说正文、大纲、人设、世界观、本机路径与密钥
并在代码块下方附上一键提交链接与兜底指引:
- 一键预填提交链接:根据上述建议标题与脱敏正文生成 URL 编码后的 Markdown 超链接
[点击一键预填并提交到 GitHub](https://github.com/LiPu-jpg/Openwrite/issues/new?title=...&body=...)(若正文过长超过约 1800 字符,则链接仅预填title与核心诊断摘要,并提示作者顺手粘贴上方完整代码块;提醒发送前最后核对一遍不含敏感词)。 - 开源支持:若问题已解决,也欢迎顺手给
LiPu-jpg/Openwrite点一颗 Star 支持开源迭代。 - 无法进入对话时:兜底引导作者打开「设置 → OpenWrite → 环境 → 支持与反馈」,使用「智能问题反馈助手」(自动健康预检 + 校验)或复制脱敏诊断信息。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago Changed · +6 lines 09b4dc62db50
- 15d ago First seen · 47 lines · 64 tokens per session scan A 88ea18f39eda
feedback is a skill published in the GitHub repository LiPu-jpg/Openwrite (1,040 stars, last pushed 2d ago), licensed Apache-2.0. It adds 64 tokens to every session and 1,399 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.
feedback compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| feedbackLiPu-jpg/Openwrite | Skill | 1.0k | 2d ago | Apache-2.0 | A | 64 | Claude Code, Codex |
| webnovel-doctorlingfengQAQ/webnovel-writer | Skill | 8.1k | 11d ago | GPL-3.0 | A | 53 | Claude Code |
| doctoromagents/omagents | Skill | 361 | 2d ago | MIT | A | 56 | Codex |
| refactoromagents/omagents | Skill | 361 | 2d ago | MIT | A | 55 | Codex |
| ast-grepomagents/omagents | Skill | 361 | 2d ago | MIT | A | 55 | Codex |
| remove-ai-slopsomagents/omagents | Skill | 361 | 2d ago | MIT | A | 53 | Codex |
| remove-deadcodeomagents/omagents | Skill | 361 | 2d ago | MIT | A | 55 | Codex |