DeepSHPlugins
dsh-humanizer 项目预览
GITHUB / COMMUNITY PROJECT

dsh-humanizer

工具与集成TypeScriptBSD-3-Clause

写作工具:去除 AI 腔并贴合个人文风。8 个确定性工具扫描文本、从样本提取文风指纹,并返回改写 brief。

6 Starslynote-ai 更新时间 2026-08-20
访问 GitHub 仓库
dsh-humanizer 项目预览

项目介绍

中文

写作工具:去除 AI 腔并贴合个人文风。8 个确定性工具扫描文本、从样本提取文风指纹,并返回改写 brief。

English

Writing tools that remove AI-sounding patterns and match your personal voice. 8 deterministic tools scan text, build a style fingerprint from your samples, and return rewrite briefs.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
lynote-ai
仓库
lynote-ai/dsh-humanizer
GitHub Stars
6
Forks
1
开发语言
TypeScript
许可证
BSD-3-Clause
最近推送
2026-08-20
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

74/ 100
维护活跃
85
文档与实用信息
100
生态关注度
28
安装便捷信号
100
项目声明信号
100

近 22 天仍在更新;README 含完整安装与使用说明;关注度尚低(6)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:lynote-ai/dsh-humanizer

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-humanizer

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:

ToolPurpose
humanize_scanDetect AI patterns and return an AI-ness score plus the matched rules
humanize_rulesExport the full rule catalogue (transparent, editable)
humanize_rewriteReturn a rewrite brief (rules + issues found in this text); the agent applies it

Personal voice clone:

ToolPurpose
voice_importImport samples → extract a style fingerprint → persist a profile
voice_profileRead one profile, or list all
voice_removeDelete a profile
voice_scoreSimilarity between text and a profile (0–100 + per-feature breakdown)
voice_rewriteReturn 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 endings
  • fingerprint.ts — style fingerprint: sentence length / burstiness, punctuation habits, stance (person, adverbs, contractions), preferred vocabulary, lexical richness
  • score.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 add just works.
  • File-based persistence — ~/.dsh/*.json, no storage backend required.

License

BSD-3-Clause


中文说明

面向 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

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目