← 返回 Skills 市场
0xspeter

Humanize Chinese 2.0.0

作者 0xspeter · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
236
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install humanize-chinese-2-0-0
功能描述
Detect and humanize AI-generated Chinese text. 20+ detection categories, weighted 0-100 scoring with sentence-level analysis, 7 style transforms (casual/zhih...
使用说明 (SKILL.md)

Humanize Chinese AI Text v2.0

Comprehensive CLI for detecting and transforming Chinese AI-generated text. Makes robotic AI writing natural and human-like.

v2.0 highlights: weighted 0-100 scoring, sentence-level analysis, sentence restructuring (merge/split), context-aware replacement, rhythm variation, vocabulary diversification, 7 style transforms, external pattern config (patterns_cn.json).

Quick Start

# Detect AI patterns (20+ categories, 0-100 score)
python scripts/detect_cn.py text.txt
python scripts/detect_cn.py text.txt -v          # verbose + worst sentences
python scripts/detect_cn.py text.txt -s           # score only
python scripts/detect_cn.py text.txt -j           # JSON output

# Humanize text
python scripts/humanize_cn.py text.txt -o clean.txt
python scripts/humanize_cn.py text.txt --scene social
python scripts/humanize_cn.py text.txt --scene tech -a   # aggressive mode
python scripts/humanize_cn.py text.txt --seed 42         # reproducible

# Apply writing styles
python scripts/style_cn.py text.txt --style zhihu -o zhihu.txt
python scripts/style_cn.py text.txt --style xiaohongshu
python scripts/style_cn.py --list

# Compare before/after
python scripts/compare_cn.py text.txt --scene tech -a
python scripts/compare_cn.py text.txt -o clean.txt

Detection System

Scoring

Weighted 0-100 score with 4 severity levels:

Score Level Meaning
0-24 LOW Likely human-written
25-49 MEDIUM Some AI signals
50-74 HIGH Probably AI-generated
75-100 VERY HIGH Almost certainly AI

Detection Categories

🔴 Critical (weight: 8)

Category Examples
Three-Part Structure 首先...其次...最后, 一方面...另一方面, 其一...其二...其三
Mechanical Connectors 值得注意的是, 综上所述, 不难发现, 归根结底, 由此可见
Empty Grand Words 赋能, 闭环, 数字化转型, 协同增效, 全方位, 多维度

🟠 High Signal (weight: 4)

Category Examples
AI High-Frequency Words 助力, 彰显, 底层逻辑, 抓手, 触达, 沉淀, 复盘
Filler Phrases 值得一提的是, 众所周知, 毫无疑问
Balanced Arguments 虽然...但是...同时, 既有...也有...更有
Template Sentences 随着...的不断发展, 在当今...时代, 作为...的重要组成部分

🟡 Medium Signal (weight: 2)

Category Examples
Hedging Language 在一定程度上, 某种程度上, 通常情况下 (>5 occurrences)
List Addiction Excessive numbered/bulleted lists
Punctuation Overuse Dense em dashes, semicolons
Excessive Rhetoric 对偶/排比句过多

⚪ Style Signal (weight: 1.5)

Category Description
Uniform Paragraphs Low CV in paragraph lengths
Low Burstiness Monotonous sentence lengths
Emotional Flatness Lack of emotional/personal expressions
Repetitive Starters Same sentence starters >3 times
Low Entropy Low character-level entropy (predictable text)

Sentence-Level Analysis

With -v (verbose) mode, the detector identifies the most AI-like sentences:

── 最可疑句子 ──
  1. [16分] 随着人工智能技术的不断发展,在当今数字化转型时代...
     原因: 数字化转型, 深度融合, 模板: 随着.*?的(不断)?发展

Humanization Engine

Transforms (applied in order)

  1. Structure cleanup — Remove three-part structure (首先/其次/最后)
  2. Phrase replacement — Context-aware replacement of AI phrases (regex patterns first, then plain text, longest-first matching)
  3. Sentence merge — Merge overly short consecutive sentences
  4. Sentence split — Split long sentences at natural breakpoints (但是/不过/同时)
  5. Punctuation normalization — Reduce excessive semicolons, em dashes
  6. Vocabulary diversification — Replace repeated words (进行/实现/提供 etc.) with synonyms
  7. Paragraph rhythm — Vary uniform paragraph lengths (merge short, split long)
  8. Casual injection — Add human expressions (scene-dependent)
  9. Paragraph shortening — For social/chat scenes

Scenes

Scene Casualness Best For
general 0.3 Default, balanced
social 0.7 Social media, short posts
tech 0.3 Tech blogs, tutorials
formal 0.1 Formal articles, reports
chat 0.8 Conversations, messaging

Aggressive Mode (-a)

Adds +0.3 casualness, more colloquial expressions, stronger sentence restructuring. Typical score reduction: 60-80 points on heavily AI-generated text.

Reproducibility

Use --seed N for reproducible results (same input + seed = same output).


Writing Style Transforms

7 specialized Chinese writing styles:

Style Name Description
casual 口语化 Like chatting with friends — natural, relaxed
zhihu 知乎 Rational, in-depth, personal opinions
xiaohongshu 小红书 Enthusiastic, emoji-rich, product-focused
wechat 公众号 Storytelling, engaging, relatable
academic 学术 Rigorous, precise, no colloquialisms
literary 文艺 Poetic, imagery-rich, metaphorical
weibo 微博 Short, opinionated, shareable

Combine humanize + style

python scripts/humanize_cn.py text.txt --style xiaohongshu -o xhs.txt

This first humanizes (removes AI patterns) then applies the style transform.


External Configuration

All patterns, replacements, and scoring weights are in scripts/patterns_cn.json. Edit this file to:

  • Add new AI vocabulary patterns
  • Customize replacement alternatives
  • Adjust scoring weights per severity
  • Add regex patterns for template detection
  • Set thresholds for hedging language detection

Scripts Reference

detect_cn.py

python scripts/detect_cn.py [file] [-j] [-s] [-v] [--sentences N]
Flag Description
-j JSON output
-s Score only (e.g. "72/100 (high)")
-v Verbose: show worst sentences
--sentences N Number of worst sentences to show (default: 5)

humanize_cn.py

python scripts/humanize_cn.py [file] [-o output] [--scene S] [--style S] [-a] [--seed N]
Flag Description
-o Output file
--scene general/social/tech/formal/chat
--style casual/zhihu/xiaohongshu/wechat/academic/literary/weibo
-a Aggressive mode
--seed Random seed for reproducibility

style_cn.py

python scripts/style_cn.py [file] --style S [-o output] [--seed N] [--list]

compare_cn.py

python scripts/compare_cn.py [file] [-o output] [--scene S] [--style S] [-a]

Shows score diff, category changes, and metric comparison before/after humanization.


Workflow

# 1. Check AI score
python scripts/detect_cn.py document.txt -v

# 2. Humanize with comparison
python scripts/compare_cn.py document.txt --scene tech -a -o clean.txt

# 3. Verify improvement
python scripts/detect_cn.py clean.txt -s

# 4. Optional: apply specific style
python scripts/style_cn.py clean.txt --style zhihu -o final.txt

Batch Processing

# Scan all files
for f in *.txt; do
  echo "=== $f ==="
  python scripts/detect_cn.py "$f" -s
done

# Transform all markdown
for f in *.md; do
  python scripts/humanize_cn.py "$f" --scene tech -a -o "${f%.md}_clean.md"
done
安全使用建议
The skill appears to do what it claims: it detects AI-like Chinese patterns and rewrites text using locally bundled Python code and a JSON pattern file. Before installing, consider these points: - Source verification: the package metadata references a GitHub repo but the skill's homepage is missing and the registry ownerId differs from _meta.json ownerId — if provenance matters, review the repository and author history or run the code in a sandbox first. - Ethical/legal risk: this tool is explicitly designed to reduce AI-detection signals and 'make writing undetectable.' That capability can be misused (e.g., to evade detection policies or deceive readers). Ensure your usage complies with applicable rules and ethics. - Local execution: the scripts run local Python subprocesses and read/write files (patterns_cn.json and any input/output files). Do not feed sensitive or private content you cannot risk being transformed or persisted; compare_cn.py pipes input into subprocesses, so treat it like running any third-party script on your machine. - Customization risk: editing patterns_cn.json or replacements can change detection behavior. If you plan to modify these, review changes carefully. - Practical note: outputs are randomized unless you use --seed; aggressive mode can strongly change text and the claimed score reductions are empirical — test on known examples to confirm behavior. If you decide to proceed, run the package in an isolated environment (VM/container) and inspect the repository/patterns before trusting it with sensitive data.
功能分析
Type: OpenClaw Skill Name: humanize-chinese-2-0-0 Version: 1.0.0 The humanize-chinese skill bundle is a legitimate toolset for detecting and transforming AI-generated Chinese text. It implements complex logic for scoring text based on 20+ categories (e.g., mechanical connectors, empty grand words, and structural patterns) and provides scripts for humanizing text through sentence restructuring and stylistic transforms. While the skill requires 'exec' permissions to run its internal Python scripts (detect_cn.py, humanize_cn.py, etc.), the subprocess calls are handled safely without shell injection risks, and the project contains no external dependencies, obfuscation, or evidence of data exfiltration.
能力评估
Purpose & Capability
Name/description (detect & humanize Chinese AI text) match the included code (detect_cn.py, humanize_cn.py, style_cn.py, compare_cn.py) and the patterns JSON. No unrelated env vars, binaries, or external services are required. Minor metadata inconsistency: the top-level registry owner ID differs from _meta.json ownerId and the Skill lists a GitHub repo in package.json but homepage is 'none' and source is 'unknown' — that is an integrity/ provenance note but does not contradict capability.
Instruction Scope
SKILL.md instructions align with the scripts: they run local Python scripts to detect, transform, style, and compare text. The runtime behavior is limited to reading/writing local files, reading scripts/patterns_cn.json, and running subprocesses to call the other Python scripts. There are no instructions to read unrelated system files, environment secrets, or to contact external endpoints.
Install Mechanism
No install spec is provided (instruction-only install), and package.json only documents repository metadata. Nothing is downloaded or executed from remote URLs in the provided scripts. This is the lowest install risk.
Credentials
The skill requires no environment variables, no credentials, and no config paths. The code reads only its bundled patterns_cn.json (and optionally user-edited patterns file) and input text files. No unexpected secrets or unrelated service tokens are requested.
Persistence & Privilege
always:false (no forced installation) and disable-model-invocation is false (normal autonomous invocation). The skill does not modify other skills or system-wide agent settings; it only reads/writes local files it is given and runs local Python subprocesses. compare_cn.py uses subprocess.run to invoke bundled scripts (expected for a CLI-style package).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install humanize-chinese-2-0-0
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /humanize-chinese-2-0-0 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of v2.0.0 with comprehensive detection and humanization for Chinese AI-generated text. - Introduces weighted 0-100 scoring, sentence-level analysis, and 20+ detection categories. - Adds 7 writing style transforms (casual, zhihu, xiaohongshu, wechat, academic, literary, weibo). - Implements sentence restructuring, context-aware phrase replacement, vocabulary diversification, and rhythm variation. - Pure Python, no dependencies; external pattern and config via `patterns_cn.json`. - Provides CLI scripts for detection, humanization, style transfer, comparison, and batch processing.
元数据
Slug humanize-chinese-2-0-0
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Humanize Chinese 2.0.0 是什么?

Detect and humanize AI-generated Chinese text. 20+ detection categories, weighted 0-100 scoring with sentence-level analysis, 7 style transforms (casual/zhih... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 236 次。

如何安装 Humanize Chinese 2.0.0?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install humanize-chinese-2-0-0」即可一键安装,无需额外配置。

Humanize Chinese 2.0.0 是免费的吗?

是的,Humanize Chinese 2.0.0 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Humanize Chinese 2.0.0 支持哪些平台?

Humanize Chinese 2.0.0 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Humanize Chinese 2.0.0?

由 0xspeter(@0xspeter)开发并维护,当前版本 v1.0.0。

💬 留言讨论