写作工具:去除 AI 腔并贴合个人文风。8 个确定性工具扫描文本、从样本提取文风指纹,并返回改写 brief。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:lynote-ai/dsh-humanizer
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
A writing skill for DeepSeek Harness (dsh). The core idea is not "write like a human", but "write like me": strip generic AI-sounding patterns on one side, learn your own writing fingerprint on the other, and turn any draft into something you wrote.
This is a skill for the agent, not an LLM wrapper: it performs no model calls. It only produces rules, fingerprints, scores, and rewrite briefs — the agent does the actual rewriting itself.
Install
# from GitHub (ships prebuilt lib/)
dsh plugin add github:lynote-ai/dsh-humanizer
# or, once published to npm:
# dsh plugin add dsh-humanizer
Optional config (all fields have defaults):
- insert:
- id: dsh-humanizer
name: 'dsh-humanizer'
config:
strength: standard # light | standard | aggressive
storagePath: ~/.dsh/voice-profiles.json
maxExcerpts: 3
Tools (8 — all deterministic, no model calls)
De-AI:
| Tool | Purpose |
|---|---|
humanize_scan |
Detect AI patterns and return an AI-ness score plus the matched rules |
humanize_rules |
Export the full rule catalogue (transparent, editable) |
humanize_rewrite |
Return a rewrite brief (rules + issues found in this text); the agent applies it |
Personal voice clone:
| Tool | Purpose |
|---|---|
voice_import |
Import samples → extract a style fingerprint → persist a profile |
voice_profile |
Read one profile, or list all |
voice_remove |
Delete a profile |
voice_score |
Similarity between text and a profile (0–100 + per-feature breakdown) |
voice_rewrite |
Return a rewrite brief (fingerprint + few-shot samples + issues found) |
How it works
src/core/ is a pure, dependency-free, unit-tested library:
rules.ts— AI-writing pattern catalogue (English + Chinese, modeled on stop-slop / Humanizer-zh)analyze.ts— de-AI scan: empty openers, clichés, hedging, template transitions, mechanical parallelism, summary endingsfingerprint.ts— style fingerprint: sentence length / burstiness, punctuation habits, stance (person, adverbs, contractions), preferred vocabulary, lexical richnessscore.ts— similarity scoring (0–100 + per-feature breakdown)render.ts— rewrite-brief construction
humanize_rewrite / voice_rewrite never call a model — they return a brief, and the agent rewrites in its own turn. voice_score's per-feature output is the hook for future "learn from feedback" iteration.
Example (agent's point of view)
User: I have a dozen tweets I wrote. Build me a "my voice" profile.
Agent:
1. voice_import(name="me-x", samples=[...]) → extract & store fingerprint
User: Rewrite this AI-written release post in my voice.
Agent:
1. voice_score(text=draft, name="me-x") → 41/100
2. voice_rewrite(text=draft, name="me-x") → get brief (fingerprint + samples + issues)
3. agent rewrites following the brief
4. voice_score(rewritten, name="me-x") → 83/100
Development
npm install
npm run check # typecheck + build
npm test # unit tests (node --experimental-strip-types)
npm run build # tsc → lib/
Design decisions
- No LLM calls — rules, fingerprints, and scores are deterministic and reproducible.
- Single self-contained bundle — no unpublished shared dependency, so
dsh plugin addjust works. - File-based persistence —
~/.dsh/*.json, no storage backend required.
License
中文说明
面向 DeepSeek Harness(dsh)的写作插件。核心理念是——不是「像人写」,而是「像我写」:一边去掉通用 AI 腔,一边学习你本人的写作指纹,把任意草稿改成「你写的」。
这是一个给 Agent 用的 skill,不调模型:只产出规则、指纹、打分和「改写 brief」,真正的改写由 Agent 自己完成。
- 去 AI 味:
humanize_scan(检测)/humanize_rules(规则库)/humanize_rewrite(改写 brief) - 文风克隆:
voice_import/voice_profile/voice_remove/voice_score(0–100 相似度)/voice_rewrite(改写 brief)
规则库中英双语覆盖(参考 stop-slop / Humanizer-zh)。指纹提取与打分均为确定性计算,可复现、可单测;Profile 默认持久化到 ~/.dsh/voice-profiles.json。
安装:dsh plugin add github:lynote-ai/dsh-humanizer
链接
同类插件
Tencent/WeKnora#dsh-weknora★ 32318
把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己带引用的 RAG 或 ReAct agent 回答(含可续聊的 session id)。
superdesigndev/treg★ 4452
给 Agent 的工具目录:按「要做的事」检索约 2,600 个外部接口(SEO 与 SERP、外链、社交、人物与公司信息补全、广告库、抓取),查看参数与单次调用价格后直接调用,凭据由服务端注入。附带技能,MCP 行在未设置 TREG_TOKEN 前保持禁用。
TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin★ 1132
把腾讯云 CloudBase 后端接入 DeepSeek Harness——在对话里搭好并部署全栈应用,查询结果渲染为表格卡片(分页、排序、导出 CSV),部署后可预览真实域名,并提供 CloudBase MCP 工具集(`mcp__cloudbase__*`),登录走 device-code 流程。
gitroomhq/postiz-agent#dsh-postiz★ 504
通过 MCP 将 DeepSeek Harness 连接到 Postiz:列出已连接的社交媒体渠道、获取各平台发帖规则,并向 X、LinkedIn、Instagram、Facebook、Threads、TikTok、YouTube、Reddit、Bluesky、Mastodon、Discord、Slack、Telegram 等平台排期、存草稿或发布帖子;附带 postiz 工作流技能。
EthanYoQ/Invoice-Downloader#dsh-invoice-downloader★ 496
面向 DeepSeek Harness 的本地 IMAP 发票下载、OCR 识别、归档与 Excel 报销汇总。
anysearch-team/anysearch-dsh★ 447
基于 AnySearch 的实时网页与垂直搜索插件,为 DeepSeek Harness 提供搜索工具。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。