npx skills add ...
npx skills add zc277584121/marketing-skills --skill remove-ai-style
Aggressively rewrite Chinese or English prose to remove AI-generated patterns. Use for de-AI polishing, natural-language rewrites, robotic or formulaic writing, and publication cleanup. Always run the bundled deterministic Markdown analyzer first, remove every editable exclamation mark, dash, and formulaic binary contrast, inspect every other reported location, then read the full article for semantic patterns the rules cannot enumerate.
npx skills add zc277584121/marketing-skills --skill remove-ai-style
Use a two-layer workflow:
Apply one strong default. Fix confirmed findings at every severity, rewrite awkward passages, and remove unflagged formulaic rhythm while preserving facts, meaning, required structure, and the author's intended voice. Do not ask the user to choose an intensity and do not offer light, moderate, heavy, or full modes.
Most analyzer hits still require contextual judgment. Three rule families are hard publication constraints in editable prose:
The post-edit analyzer counts for zh-exclamation or en-exclamation, zh-dash or en-dash, and zh-binary-contrast or en-binary-contrast must be zero. The only exceptions are protected regions such as code, URLs, Markdown targets, and source text that must remain verbatim. Do not treat brand enthusiasm, casual tone, or a writer's habitual punctuation as reasons to keep these patterns.
Prefer an absolute Markdown file path. If the user provides text only, pass it to the analyzer through stdin.
Detect Chinese or English from the article. Override auto-detection only when the result is wrong or the user explicitly specifies a language.
Load the matching reference completely:
Run before editing:
The report contains:
Do not replace this command with copied grep snippets. The bundled script is the single owner of deterministic detection logic.
Rewrite every editable finding from the hard-constraint rule families. Do not classify these findings as intentional or false positives merely because the usage is grammatically valid.
Classify every other reported item as one of:
confirmed: rewrite itintentional: keep it because the genre or voice requires itprotected: leave it because it belongs to code, source material, structure, or another preserved regionfalse_positive: no changesemantic_review: the local hit is real, but the correct fix depends on wider contextRead the reported context, then inspect the surrounding paragraph before deciding. Do not bulk-replace phrases across the document.
Always read the complete article unless the user explicitly asks to process only an excerpt. The analyzer cannot reliably detect:
Use the language reference to perform this semantic pass. The report is a navigation aid, not a substitute for reading.
Before editing, record the structures that must survive:
VISUAL_TODO blocksDo not change facts, numbers, URLs, code, image paths, TODO IDs, or citation targets merely to make prose sound more natural.
Make contextual edits rather than phrase substitution:
When invoked as a Subagent on a file, edit the file directly, then return a concise change report. Do not delegate the rewrite to another agent.
After editing, rerun the same command and compare before/after summaries.
Use the hard-constraint gate for the final rescan:
Exit status 2 means at least one exclamation mark, dash, or formulaic binary contrast remains in scanned prose. Rewrite it unless inspection confirms that the match belongs to source text that must remain verbatim.
Review every remaining finding individually. A remaining non-hard-constraint hit is acceptable when it is intentional, protected, required for accuracy, or a documented false positive. A remaining hard-constraint hit is acceptable only when it is protected or must remain verbatim.
Finally, read the full revised article once more for continuity and voice. A lower finding count does not prove the rewrite is good.
Return:
python3 <skill-root>/scripts/analyze_ai_style.py \
<article-path> \
--language auto \
--format json \
--fail-on-hard-constraints