Agent Skillsguillaumemeyer/watermarks-remover › clean-user-facing-text

clean-user-facing-text

GitHub

清理并优化面向读者的自然语言文本,通过重写提升流畅度并执行 Unicode 安全检查,同时保护代码、公式及事实内容不变。

skills/clean-user-facing-text/SKILL.md guillaumemeyer/watermarks-remover

Trigger Scenarios

用户要求清理、润色或定稿文章、文档、邮件等文本 Cursor Rule 明确要求使用此工作流

Install

npx skills add guillaumemeyer/watermarks-remover --skill clean-user-facing-text -g -y
More Options

Use without installing

npx skills use guillaumemeyer/watermarks-remover@clean-user-facing-text

指定 Agent (Claude Code)

npx skills add guillaumemeyer/watermarks-remover --skill clean-user-facing-text -a claude-code -g -y

安装 repo 全部 skill

npx skills add guillaumemeyer/watermarks-remover --all -g -y

预览 repo 内 skill

npx skills add guillaumemeyer/watermarks-remover --list

SKILL.md

Frontmatter
{
    "name": "clean-user-facing-text",
    "description": "Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting prose while preserving facts and meaning. Use in Cursor 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 an installed Cursor Rule explicitly requires this workflow. Do not use for code-only tasks or undisclosed authorship evasion; leave code, commands, identifiers, paths, APIs, formulas, citations, required disclosures, and verbatim quotations unchanged."
}

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

  1. Identify the prose that readers will see.
  2. 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
  3. Preserve every claim, fact, number, name, citation, and requirement.
  4. Rewrite the remaining prose once:
    • vary clause order, sentence boundaries, rhythm, connectors, and function words
    • replace formulaic transitions and filler with direct, natural wording
    • 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
  5. For text artifacts or supplied text files, run the deterministic Unicode pass after rewriting.
  6. Return only the polished result unless the user asks for an audit or explanation.

Deterministic Unicode pass

Resolve SCRIPTS to this skill's scripts/ directory. Use the available Python 3 launcher for the platform. Replace PYTHON below with python3 on most macOS/Linux systems, py on Windows, or another verified Python 3 command.

Inspect first when editing an existing file:

PYTHON "$SCRIPTS/inspect_text.py" --json INPUT
PYTHON "$SCRIPTS/clean_text.py" INPUT -o OUTPUT --stats --no-normalize-spaces
PYTHON "$SCRIPTS/inspect_text.py" --json OUTPUT

Use - for stdin. Prefer a new *.cleaned.* output unless the user explicitly requests in-place editing.

Use --no-normalize-spaces by default so NBSP, narrow no-break spaces, figure spaces, and CJK ideographic spaces retain their layout semantics. Normalize spaces only when the user requests it.

Do not use --aggressive-homoglyphs, --nfkc, or --strip-emoji-glue unless the user requests aggressive normalization and accepts possible changes to multilingual text, emoji, directionality, or typography.

The scripts support plain text, source text, Markdown, and HTML source as text. For mixed Markdown or HTML, inspect hit positions first. If a hit falls inside protected code, attributes, or another non-prose span, do not run whole-file cleanup; clean only the prose segments or leave that hit unchanged. Do not pass binary containers such as PDF, DOCX, images, or archives.

For a chat-only response that is not written to a file, perform the rewrite workflow directly. Do not claim that the chat response received a deterministic post-send Unicode filter.

Code boundary

When prose and code are mixed, rewrite prose only. Never rename variables, alter string literals, reformat code, or change executable output as part of this skill. If a Markdown or HTML file contains executable snippets, preserve those spans byte-for-byte whenever practical.

Reporting

When the user asks for an audit, distinguish:

  • Verifiable: Unicode characters removed or replaced, with script counts.
  • Best-effort: prose was rewritten to alter token and syntax patterns.
  • Not established: official detector evasion, human authorship, or removal of a vendor's secret-key watermark.

For technical background, read references/watermark-notes.md. For misuse or disclosure questions, read references/responsible-use.md.

Version History

  • fcebf53 Current 2026-08-16 15:39

Same Skill Collection

skills/remove-ai-marks/SKILL.md

Metadata

Files
0
Version
fcebf53
Hash
424b8f9b
Indexed
2026-08-16 15:39

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 20:45
浙ICP备14020137号-1 $Map of visitor$