clean-user-facing-text
它能做什么
这项技能为文章、报告、邮件和产品文案提供最后一轮清理。适合拥有待定稿文字的人。
适用场景
- ✓当你在发布前请智能体整理一篇文章或报告的时候。
- ✓当你希望在不改变事实或含义的前提下润色稿件或邮件的时候。
- ✓当读者将看到的文字中含有隐藏的不可见字符,需要清除的时候。
技能链接
https://github.com/guillaumemeyer/watermarks-remover/blob/main/skills/clean-user-facing-text/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我整理这篇文章初稿,并在我发布之前去掉所有隐藏字符。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体先检查文字中的隐藏字符并将其去除,然后轻度改写行文,同时保留相同的事实、数字和名称。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Clean user-facing text
Apply a final text-hygiene pass to prose the user owns or is authorized to process. Treat Unicode cleanup as deterministic and statistical-watermark reduction as best-effort; never claim that a rewrite proves human authorship or is undetectable. Preserve required academic, legal, platform, and regulatory disclosures.
Workflow
Identify the prose that readers will see.
Protect non-prose spans:
- fenced and inline code
- commands, paths, URLs, identifiers, API names, and exact values
- formulas, citations, and text the user asks to quote verbatim
Preserve every claim, fact, number, name, citation, and requirement. Never invent a detail, name, number, quote, or source to make the prose easier to write or more varied: if a fact is missing, flag the gap rather than fill it. The rewrite may sharpen, compress, or reorder, but it may not add or remove claims.
Measure before. Inspect and score the input with the vendored zero-LLM stylometry estimator (see Scoring) and record the score. Read the report's
density_tier: rewrite only when it ishigh; forlowormedium, verify the text and otherwise leave the text unchanged. For a flag-only audit that never rewrites, use--audit:PYTHON "$SCRIPTS/inspect_text.py" --stylometry --json INPUT PYTHON "$SCRIPTS/inspect_text.py" --audit INPUT # detect-only: lists flagged spans, no rewriteEstablish the writing brief before changing prose:
- use a voice sample only when the user owns it or is authorised to use it; don't imitate another named person
- when there is no sample, make the prose clear and natural without pretending to imitate a particular person
- never inject a voice the source lacks: no fake first person ("I've seen this"), invented specifics, forced contrarianism, performed candor, or added stance and personality. Preserve the writer's deliberate rough edges and domain terms rather than scrubbing them
- keep required disclosures, uncertainty, and the writer's actual point of view
- pick the voice and domain preset the text fits (see Voice and domain presets); the default is general prose
Layer A — strip artifacts first. For text artifacts or supplied text files, run the deterministic Unicode pass before rewriting, so the rewrite operates on clean, marker-free text:
PYTHON "$SCRIPTS/clean_text.py" INPUT -o OUTPUT --stats --no-normalize-spacesLayer B — rewrite once. Rewrite the remaining prose once, applying the detector levers (see Detector levers) in order:
- vary clause order, sentence boundaries, rhythm, connectors, and function words
- replace formulaic transitions and filler with direct, natural wording
- keep the concrete details and judgement that make the text recognisable as the writer's
- treat unusual grammar, repetition, directness, and phrasing as possible voice or accessibility choices; change them only when the user asks or when they create a clear reading problem
- preserve the requested language, tone, structure, and formatting; never translate unless asked
- for non-English text, use fluent constructions native to that language rather than English sentence patterns
- do not add or remove claims merely to increase variation
Layer A again. Run the deterministic Unicode pass on the rewritten result to catch any artifacts the rewrite introduced (smart quotes, em dashes, homoglyphs):
PYTHON "$SCRIPTS/clean_text.py" OUTPUT -o FINAL --stats --no-normalize-spacesMeasure after. Score the rewritten text the same way. Report scores and confidence levels when available; otherwise report
status: insufficient_length. A lower after-score means the measurable signals moved; it is not a verdict from any detector, and it never overrides the fact and voice rules above.Return only the polished result unless the user asks for an audit or explanation.
For practical guidance on preserving a writer's voice and removing formulaic prose,
read references/writing-in-your-voice.md whenever the user asks to retain or adjust voice.
For what detectors really measure and which claims are legitimate, read references/detectors.md.
Scoring
scripts/inspect_text.py --stylometry (or the standalone scripts/score_stylometry.py,
which also accepts --explain) runs the zero-LLM estimator vendored from the service
pipeline: sentence-length burstiness (coefficient of variation)
常见问题
这项技能会改变我文字中的事实吗?
不会。该技能旨在保持每一项论断、数字、名称和引用不变,并会标出缺失之处,而不是随意补充。
清理后的文字能保证通过 AI 检测工具吗?
不能。该技能说明,改写无法证明作者是人类,也不能让文字变得无法检测。
它适用于哪些类型的文字?
适用于文章、书稿、文档、电子邮件、产品文案,以及 HTML 或 Markdown 文本等文章性内容,但会保留代码和命令不变。
详情
作者的原始描述
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting prose while preserving facts, meaning, and the writer's voice. Use when the user asks to clean, humanize, polish, or finalize articles, manuscripts, reports, documentation, emails, product copy, UI text, Markdown, or HTML prose, or when a project rule or instruction file explicitly requires this workflow. Don't use for code-only tasks or undisclosed authorship evasion; leave code, commands, identifiers, paths, APIs, formulas, citations, required disclosures, and verba
热度
- GitHub 星标
- 26k
- 排名
- #9987
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …