Paper Polisher
by @docsor1212
Detect and quantify AI writing traces, rewrite to remove AI style and reduce similarity while preserving terminology, data, and academic rigor in bilingual p...
clawhub install paper-polisher-proπ About This Skill
paper-polisher-pro β AI Detection & Academic Paper Polishing
> π― AI Detection Β· De-AI Rewriting Β· Paraphrase Β· Terminology Check Β· Quality Report > Bilingual (CN/EN) Β· 100% Local Β· Zero Upload Β· Zero Setup
Why paper-polisher-pro?
Most AI detectors only catch ChatGPT. This is the only open-source tool that fingerprints Chinese LLMs β DeepSeek V4, GLM-5/5.1, Qwen 3.5/3.6, Kimi K2.5/K2.6, MiniMax M2.5, and Step β alongside GPT, Claude, and Gemini.
Benchmark (2026 flagship models, long-form academic text):
Trigger Words
"polish paper", "deai", "reduce ai detection", "check ai writing", "paper polish", "rewrite paper", "humanize paper", "AI paper detector", "academic writing assistant", "AI writing checker", "remove AI traces", "humanize AI text", "thesis polishing", "dissertation polish", "detect AI writing", "AI writing score", "SCI paper editing", "manuscript polishing"
Quick Start
Detect AI Traces
python3 {{SKILL_DIR}}/scripts/ai_detector.py your_paper.txt --lang auto
Output:
π your_paper.txt
AI Risk Score: 68.5 / 100 π΄ HIGH
Paragraphs analyzed: 12
Top patterns: "it is worth noting" (Γ3), "plays a crucial role" (Γ2)
Suggestion: Rewrite paragraphs 2, 5, 8
Check Terminology
python3 {{SKILL_DIR}}/scripts/term_check.py your_paper.txt
Quality Report
python3 {{SKILL_DIR}}/scripts/quality_report.py your_paper.txt --format json
AI Detection Engine (v1.1.0)
9-Layer Scoring System
| Layer | Weight | What it detects | |-------|--------|-----------------| | Pattern matching | 50 | 1,002 model-specific AI patterns (ZH 663 + EN 339) | | Burstiness | 20 | 3-component variance analysis (human writing is uneven) | | TTR (Type-Token Ratio) | 15 | Vocabulary diversity | | Perplexity | 15 | Statistical predictability | | Info density | 15 | Content density vs filler ratio | | Sentence templates | 10 | Formulaic sentence structures | | Opener patterns | 10 | Predictable paragraph starters | | Length distribution | 5 | Unnatural uniformity | | RLHF alignment | +bonus | Sycophantic/aligned phrasing |
Supported AI Models (2026 Tested)
Chinese LLMs (exclusive fingerprinting): DeepSeek V4 Β· V3.2 Β· R1 Β· GLM-5 Β· GLM-5.1 Β· GLM-4.7 Β· Qwen 3.5-397B Β· Qwen 3.6 Β· Kimi K2.5 Β· K2.6 Β· MiniMax M2.5 Β· Step
International models: ChatGPT Β· Claude Β· Gemini
Pattern Library
| Language | Patterns | Categories | |----------|----------|------------| | Chinese | 663 | 18 categories (transition words, structural markers, medical templates, RLHF alignment, Kimi/DeepSeek/GLM fingerprints, etc.) | | English | 339 | 9 categories (academic formal, filler phrases, markdown artifacts, RLHF alignment, etc.) |
Plus: 501 synonym groups, 25 Chinese sentence pattern templates.
Full Workflow
Step 1: AI Detection β Score + Pattern Breakdown
python3 {{SKILL_DIR}}/scripts/ai_detector.py --lang auto --format json --output report.json
Returns 0β100 AI risk score, risk level, matched patterns per paragraph.
Step 2: De-AI Rewriting (for paragraphs scoring β₯35)
Chinese: Remove filler ("εΌεΎζ³¨ζηζ―", "η»ΌδΈζθΏ°"), break symmetrical structures, replace vague praise with data, vary sentence length, use content-based transitions.
English: Ban AI tells (plays a crucial role, has gained significant attention, delve into, myriad, plethora), use active voice, mix sentence lengths 5β30 words.
Step 3: Smart Paraphrasing (5-layer)
1. Synonym replacement (501 groups, skip protected terms) 2. Voice transformation (active β passive) 3. Word order shift 4. Abstraction β expansion 5. Perspective shift
Step 4: Terminology Standardization
2,255 authoritative terms (National Terms Commission + MeSH 2026 + Drug Terminology). Flags non-standard usage and suggests corrections.
Step 5: Quality Report
Before/after comparison: AI score change, per-paragraph breakdown, terminology rate, readability metrics.
Discipline Adaptation
Constraints
1. Never alter data β numbers, statistics, citations preserved exactly 2. 2,255 professional terms auto-protected during paraphrasing 3. Semantic fidelity β no information added or removed 4. Paragraph-by-paragraph processing for logical flow 5. All changes presented for user confirmation
File Structure
paper-polisher/
βββ SKILL.md β This file (English, for ClawHub)
βββ SKILL_ZH.md β Chinese documentation (for SkillHub)
βββ scripts/
β βββ ai_detector.py β AI detection engine (v1.1.0, 9 layers, 1002 patterns)
β βββ perplexity.py β Perplexity scoring module
β βββ term_check.py β Terminology standardization (2,255 terms)
β βββ ngram_similarity.py β N-gram repetition analysis
β βββ quality_report.py β Comprehensive quality report
βββ references/
β βββ ai_patterns_zh.json β Chinese AI patterns (663 rules, 18 categories)
β βββ ai_patterns_en.json β English AI patterns (339 rules, 9 categories)
β βββ synonyms_general.json β Synonym dictionary (501 groups)
β βββ sentence_patterns_zh.json β Chinese sentence templates (25 patterns)
βββ data/
β βββ terminology.json β Standard terminology database (2,255 terms)
βββ templates/ β Prompt templates for rewriting
Version History
π‘ Examples
Detect AI Traces
python3 {{SKILL_DIR}}/scripts/ai_detector.py your_paper.txt --lang auto
Output:
π your_paper.txt
AI Risk Score: 68.5 / 100 π΄ HIGH
Paragraphs analyzed: 12
Top patterns: "it is worth noting" (Γ3), "plays a crucial role" (Γ2)
Suggestion: Rewrite paragraphs 2, 5, 8
Check Terminology
python3 {{SKILL_DIR}}/scripts/term_check.py your_paper.txt
Quality Report
python3 {{SKILL_DIR}}/scripts/quality_report.py your_paper.txt --format json
π Constraints
1. Never alter data β numbers, statistics, citations preserved exactly 2. 2,255 professional terms auto-protected during paraphrasing 3. Semantic fidelity β no information added or removed 4. Paragraph-by-paragraph processing for logical flow 5. All changes presented for user confirmation