avoid-ai-writing README

项目的 README,来自 github.com/conorbronsdon/avoid-ai-writing。合并为一个 markdown 文件:README.md。

avoid-ai-writing

Audit & rewrite content to remove AI writing patterns. A practical skill for any AI agent. Supports detect-only and edit-in-place modes, plus voice profiles.

GitHub stars License: MIT npm version detector Podcast X

The bundled detector engine flagging 13 AI-writing patterns by category in a sample paragraph, then scoring the clean rewrite 0/100

A portable writing skill for Claude Code, Codex, OpenClaw, Hermes, and any other agentskills.io-compatible agent. Audits and rewrites content to remove AI writing patterns ("AI-isms").

The rules and bundled detector are calibrated for English. See community language adaptations for independently maintained versions in other languages.

Signals, not proof. This is a writing-quality tool, not a verdict on who wrote something. The patterns it flags are more common in AI output, but people produce them too, especially under deadline, in an unfamiliar genre, or in a second language. Don't use its findings or score as the sole basis for a decision about a person: grading, academic integrity, hiring, publication, or attribution. See What this skill is and isn't.

Four modes:

Use --iterate 1|2 to set the editing-pass ceiling. --iterate 1 allows the initial rewrite only. --iterate 2 uses the default maximum of an initial rewrite plus one correction or preservation repair, and stops early when no justified in-scope edit remains. Checks do not consume a pass, but any change they prompt does. The skill reports how many editing passes it used and any intentional, protected, or unresolved finding.

An optional voice profile (casual / professional / technical / warm / blunt) sets how the prose should sound, independent of the audience context profile.

The glossary defines the terms these docs use: word tiers, severity tiers, modes, profiles, and detector options.

Table of contents

Quick demo

Input:

Certainly! Acme Analytics, a vibrant startup nestled in the heart of Boulder's thriving tech ecosystem, has secured $40M in Series B funding — marking a watershed moment for the observability landscape. The platform serves as a unified hub, featuring real-time dashboards, boasting sub-second queries, and presenting a seamless integration layer. Moreover, experts believe Acme is poised to disrupt the market. In conclusion, the future looks bright!

Final rewrite:

Acme Analytics, a Boulder-based startup, raised a $40M Series B. Its observability platform has real-time dashboards, runs queries in under a second, and includes an integration layer.

Verification: One editing pass. Review found no further justified in-scope edit; no deterministic preservation check ran in this prose-only demo.

What it caught: the chatbot opener ("Certainly!"), promotional modifiers, inflated significance, roundabout verbs, vague attribution, and the generic conclusion. The rewrite keeps the funding, location, and three product capabilities. It removes the unsupported market prediction without inventing an investor or an integration mechanism.

Why a skill, not just a prompt

A one-shot "make this sound human" prompt catches the obvious stuff. This skill is different:

Installation & Usage

Install the complete skill directory

Use a plugin install or clone the repository into your agent's skills directory. Keep SKILL.md with references/patterns.md: the entry file loads the catalog before auditing. Don't copy the entry file alone. The commands below are the quickest path for each host; docs/install.md has the full steps, including a single-file version for rules fields.

Claude Code

git clone https://github.com/conorbronsdon/avoid-ai-writing ~/.claude/skills/avoid-ai-writing

Then invoke it with /avoid-ai-writing <your text>. For a versioned plugin you can update with /plugin marketplace update, use the marketplace commands under Cowork below instead. Claude Code options also cover a self-contained file and a slash-command alias.

Claude Cowork — install as a plugin

Cowork loads skills only from installed plugins, so install this repository's marketplace plugin:

/plugin marketplace add conorbronsdon/avoid-ai-writing
/plugin install avoid-ai-writing@conorbronsdon-skills
/reload-plugins   # or restart the session, to activate the skill

In the Cowork desktop app, use Customize → Plugins → Add marketplace from GitHub (conorbronsdon/avoid-ai-writing), then install avoid-ai-writing. The same plugin works in Claude Code. Plugin details cover updates and the plugin-directory version.

OpenAI Codex

git clone https://github.com/conorbronsdon/avoid-ai-writing .agents/skills/avoid-ai-writing

Run it from your repository's root. Clone into ~/.agents/skills/ instead to use it across all your projects.

Native ChatGPT and Codex plugin package

Published in the OpenAI Plugins Directory; install it there for ChatGPT or Codex. The install guide lists the package's seven Skills and build commands.

OpenClaw

npx clawhub install avoid-ai-writing

Run it from your OpenClaw workspace: it installs into ./skills under the current directory. OpenClaw details cover a global clawhub install, other target directories, and the clone option.

Google Antigravity

With the Antigravity CLI, run agy plugin install ./plugins/avoid-ai-writing from a clone. Without the CLI, copy the plugins/avoid-ai-writing folder into .agents/plugins/ in a workspace or ~/.gemini/config/plugins/ for every workspace. Antigravity details cover validation and enabling the plugin.

Cursor

mkdir -p .cursor/rules
curl -o .cursor/rules/avoid-ai-writing.mdc \
  https://raw.githubusercontent.com/conorbronsdon/avoid-ai-writing/main/cursor-rules/avoid-ai-writing.mdc

The port has no detector or scripts, so audits are model-only (Cursor details).

Hermes

git clone https://github.com/conorbronsdon/avoid-ai-writing ~/.hermes/skills/writing/avoid-ai-writing

It then appears as /avoid-ai-writing.

Other agents

The install guide has each tool's size limit and documentation link.

Triggering the skill

Once installed, ask your assistant to clean up AI writing:

In rewrite mode (default), the skill completes its review and available verification before returning the rewritten text exactly once:

  1. Final rewrite — the verified or honestly qualified final version
  2. Changes — a short summary when edits were made and the summary is useful
  3. Verification — editing passes used, checks that ran, stop reason, and any intentional, protected, source-blocked, or unresolved findings

Ask for a detailed or exhaustive audit to add quoted findings before the final rewrite. The response still contains one full version. Clean input can be returned unchanged with zero editing passes.

In detect mode, the skill returns two sections:

  1. Issues found — every AI-ism identified, grouped by severity (P0/P1/P2)
  2. Assessment — which flags are clear problems vs. patterns that may be intentional or effective in context

Trigger detect mode with: "detect," "flag only," "audit only," "just flag," "scan," or similar.

In structure mode (--mode structure), the skill returns the numbered Skeleton, Findings from five checks (beat order, thesis statements, threads, tangents, named versus vague references), and an Assessment. A check with no problem says so. It never edits the text. The tolerance matrix sets which context profiles it applies to.

Pattern reference

Representative examples from the catalog — not the exhaustive list (that's references/patterns.md). The skill's human-facing prose catalog and the detector engine use different counts on purpose: the engine implements 58 type categories because it splits the vocabulary tiers and adds stylometric/fingerprint signals (punctuation distribution, function-word entropy, bypass-trick detection) that work as math over a document rather than as a rule you'd look up. The two are mapped in detector/CATEGORIES.md; don't "fix" one count to match the other.

Content Patterns

# Pattern Before After
1 Significance inflation "marking a pivotal moment in the evolution of..." State the supported event; do not invent a date or purpose
2 Notability name-dropping "cited in NYT, BBC, and Wired" Keep supported citations; remove claims that they prove importance
3 Superficial -ing analyses "symbolizing... reflecting... showcasing..." Replace with specific facts or cut
4 Promotional language "nestled within the breathtaking region" Keep the supplied location; remove promotional modifiers
5 Vague attributions "Experts believe it plays a crucial role" Request the source, or flag the claim for verification
6 Formulaic challenges "Despite challenges... continues to thrive" Name the challenge and the response
7 Novelty inflation "He introduced a term I hadn't heard before" Keep the personal observation if it matters; do not invent an explanation

Language Patterns

# Pattern Before After
8 Word/phrase replacements (3 tiers) "leverage... robust... seamless... utilize" "use... reliable... smooth... use"
9 Copula avoidance "serves as... features... boasts" "is... has"
10 Synonym cycling "developers... engineers... practitioners... builders" "developers" (repeat the clear word)
11 Template phrases "a [adj] step towards [adj] infrastructure" Describe the specific outcome
12 Filler phrases "In order to," "Due to the fact that" "To," "Because"
13 False ranges "from the Big Bang to dark matter" List the actual topics
14 Parenthetical hedging "tools (like X and Y)" Name them directly or cut

Structure Patterns

# Pattern Before After
15 Formatting Em dashes (— and --), bold overuse, emoji headers, bullet-heavy Commas/periods, prose paragraphs
16 Sentence structure "It's not X, it's Y" + hollow intensifiers + hedging Direct positive statements
17 Structural issues Uniform paragraphs, formulaic openings, too-clean grammar Varied length, lead with the point
18 Transition phrases "Moreover," "Furthermore," "In today's [X]" "and," "also," or restructure
19 Inline-header lists "Speed: Speed improved by..." Write the point directly
20 Title case headings "Strategic Negotiations And Partnerships" "Strategic negotiations and partnerships"
21 Numbered list inflation "Here are 7 reasons why..." Cut to the 2-3 that matter
22 False concession "While X has limitations, it's still remarkable" State the real tradeoff
23 Rhetorical question openers "What if there were a better way to...?" Lead with the claim

Communication Patterns

# Pattern Before After
24 Chatbot artifacts "I hope this helps! Let me know if..." Remove entirely
25 "Let's" constructions "Let's explore," "Let's break this down" Just start with the point
26 Cutoff disclaimers "While details are limited in available sources..." Find sources or remove
27 Generic conclusions "The future looks bright," "Only time will tell" Specific closing thought or cut
28 Stock reaction framing "What surprised me most," "I was fascinated to discover" Keep specific, authentic reactions; cut empty stock framing or make the reaction concrete
29 Reasoning chain artifacts "Let me think step by step," "Breaking this down" State conclusion, then evidence
30 Sycophantic tone "Great question!", "You're absolutely right!" Remove entirely
31 Acknowledgment loops "You're asking about," "To answer your question" Just answer directly
32 Confidence calibration "It's worth noting," "Interestingly," "Surprisingly" Let the fact speak for itself

Meta Patterns

# Pattern Before After
33 Excessive structure 5 headers in 200 words, "Overview:", "Key Points:" Merge sections, use specific headers
34 Rhythm and uniformity All sentences 15–25 words, all paragraphs same length Mix short/long, fragments, questions
35 Over-polishing Every irregularity sanded away, perfectly uniform prose Keep natural disfluency, varied rhythm
36 Rewrite-vs-patch threshold 5+ vocabulary flags + 3+ pattern categories + uniform rhythm Advise full rewrite, not patching

Structural Detection (v3.4)

Added in v3.4 to catch LLM output that sidesteps the vocabulary tables by substituting synonyms but still leans on structural shapes detectors can identify. Crypto/web3/AI-infra content is where these patterns concentrate most heavily, but the rules generalize to any social-length post.

# Pattern Before After
37 Tier 3 phrases (multi-word boilerplate) "the integration of," "decentralized compute," "community-driven," "long-term sustainability" stacked across a piece Replace the repeated phrase with a specific claim, or vary genuinely. Flagged per-phrase at ≥2 hits, or as a cluster when ≥3 distinct phrases appear
38 Future-narrative closers "may become one of the most important narratives of the next market cycle" Pick the falsifiable version. "X may exceed Y by 2027" is a prediction; the template form is not
39 Hedge-stacked predictions "could potentially create," "may eventually unlock" Pick one. Each hedge cancels the next
40 "Real/actual" adjective inflation "real on-chain tokenomics," "actual reward sustainability" Drop the empty intensifier and add the specific claim. Carve-out: "real on-chain settlement, not bridged IOUs" is honest contrastive writing — the AI tell is the unsaid contrast
41 Hashtag stuffing 15-tag trailing block: #AI #Crypto #Web3 #Innovation #FutureTech… 2-3 specific tags max, or none. Empirical threshold: 6+ tags is near-universal in LLM social output, rare in thoughtful human posts
42 Bullet lists of bare noun phrases * Stable mining efficiency / Reliable pool connectivity / Optimized RandomX performance / Low failed share rates / Effective hardware utilization / Consistent thermal stability Convert to prose, or rewrite each item as a full claim with a verb and a number. Carve-out: genuine list content (changelogs, parameter docs, ingredient lists) where bare NPs are correct

AI-tool fingerprints & later additions (v3.5–3.8)

# Pattern Before After
43 Unfilled placeholders [Your Name], [INSERT SOURCE], 2025-XX-XX Fill in with real content or delete — shipped placeholders are a near-definitive tell
44 Chatbot citation markup citeturn0search0, oai_citation, contentReference[oaicite:0] Strip the markup token entirely
45 AI-tool URL parameters utm_source=chatgpt.com, utm_source=copilot.com Strip the tracking parameter; keep the URL if the link matters
46 Speculative gap-filling "maintains a low profile," "likely began his career" Cut the guess, or replace with a sourced fact
47 Hyphenated modifier stacking "a high-quality, well-architected, future-proof solution" Cut to the modifier that matters; the individual hyphens may be correct
48 Infomercial engagement hooks "The catch?", "The kicker?", "Here's the thing." Delete the hook, state the thing
49 Vocabulary diversity (low TTR) Narrow, repetitive word range across 200+ words Broaden the what — name specific things, cite specific cases
50 Self-labeling significance "That last move is the contrarian one," "This is the interesting part" Cut the label; let the explanation carry the weight, or reposition the item so it stands out on its own
51 List-label periods - **Intros.** Years of conferences and operator network. (also unbolded: - Intros. Years of...) Use a colon, not a period, on a list label: - **Intros:** years of conferences and operator network.

Conversational-register patterns (v3.15)

Added after a real-world exchange in which a maintainer called out an assisted-sounding GitHub issue reply with "I prefer to talk human to human." Both are judgment calls rather than regex-detectable (an ordinary human paragraph and an AI-generated one can look structurally identical; the tell is the register and the redundant context, not a fixed shape) — see the detector/CATEGORIES.md §C note for why a first attempt at a wall-of-text detector was reverted.

# Pattern Before After
52 Wall-of-text replies A 4+ sentence, sub-150-word reply delivered as one unbroken paragraph with no line breaks — the shape LLMs default to in issue/PR comments, chat, and DMs Break at thought boundaries. One idea per line-group, the way a person actually types a reply
53 Recap-flattery opener "Thanks for all the legwork here — the migration script and the rollback plan you worked through are what made this possible." Substance first. If thanks is warranted, one plain clause without the recap: "Thanks for the legwork — this looks right to me"

Share-post framing (v3.20)

# Pattern Before After
54 Lingering-attention claims "The line I keep coming back to:", "I can't stop thinking about this," "this has been rattling around in my head all week" Open on the thing itself. Carve-out: keep the frame when a reason follows ("I keep coming back to exit-voice because it predicts who quits")

Narrated candor (v3.21)

# Pattern Before After
55 Narrated candor "Two caveats I would rather flag than let you discover later:", "I want to be upfront:" State the caveats. Judgment-only: the same words carry real content in conflict-of-interest disclosure ("in the interest of full disclosure, I own shares in…"), which a regex cannot separate from the empty frame

Unnecessary hyphenation (v3.24)

# Pattern Before After
56 Unnecessary hyphenation "research-impact aggregator," "code-base," "in real-time," "works out-of-the-box" "research impact aggregator," "codebase," "in real time," "works out of the box." Preserve legitimate modifiers such as "real-time analytics"

Two writer-side tests round out the catalog (judgment checks, not auto-detected): paragraph-reshuffle immunity (can you swap two body paragraphs without breaking the piece?) and the treadmill effect ("what's actually new in this paragraph?").

Full Example

Before (AI-generated):

Certainly! Here's a comprehensive overview of Acme's Series B.

Acme Analytics, a vibrant startup nestled in the heart of Boulder's thriving tech ecosystem, has secured $40M in Series B funding — marking a watershed moment for the company and the observability landscape at large. The round was led by Sequoia, with participation from Andreessen Horowitz, Y Combinator, and Index Ventures, underscoring the robust investor confidence in Acme's vision.

The platform serves as a unified hub for engineering teams, featuring real-time dashboards, boasting sub-second query performance, and presenting a seamless integration layer. It's not just another monitoring tool — it's a paradigm shift in how organizations navigate complex distributed systems. Experts believe Acme is poised to disrupt the $15B observability market. Studies show that companies utilizing comprehensive monitoring solutions can ascertain issues 40% faster.

  • 🚀 Performance: The platform streamlines incident response, empowering engineers to resolve issues faster.
  • 💡 Scale: Acme fosters collaboration across teams, from frontend developers to SRE practitioners to platform builders to infrastructure engineers.
  • ✅ Adoption: Customer adoption continues to accelerate, reflecting broader industry trends.

Moreover, Acme's approach showcases the potential of modern observability — symbolizing a shift toward proactive monitoring, reflecting years of R&D investment, and highlighting the intricate interplay between data collection and actionable intelligence. Despite challenges common in the crowded monitoring space, Acme continues to thrive. In order to fully capitalize on this momentum, the company plans to expand its go-to-market endeavors.

In conclusion, the future looks bright for Acme Analytics. Only time will tell how this game-changer will reshape the observability paradigm. Feel free to reach out if you'd like more details!

After (cleaned up):

Acme Analytics, a Boulder-based startup, raised a $40M Series B led by Sequoia, with participation from Andreessen Horowitz, Y Combinator, and Index Ventures.

Its observability platform gives engineering teams real-time dashboards, queries that run in under a second, and an integration layer. The platform helps engineers resolve incidents faster and supports collaboration across frontend, SRE, platform, and infrastructure teams. Customer adoption is accelerating. Acme has invested in R&D for years and plans to expand its go-to-market work in a crowded monitoring market.

Claims needing sources: The input attributes a prediction about a $15B market to unnamed experts and a 40% improvement in issue identification to unspecified studies. Verify those sources before publishing the claims. The rewrite leaves them out; it does not replace them with invented benchmarks, customers, or plans. The product and adoption statements above also remain supplied claims, not independently verified facts.

What the skill caught: chatbot framing, promotional modifiers, inflated significance, roundabout verbs, repeated role synonyms, empty contrast, list decoration, vague attribution, filler, and generic closing language. The rewrite preserves the named investors and supplied capabilities, consolidates the team list, and flags the unsupported market and study claims for verification.

That's 35+ AI tells.

Run the detector

The skill ships a deterministic, zero-dependency detection engine in detector/ — the same engine the rules above describe, as runnable code. It works in Node (>=18) and the browser with no build step.

It's also the single source of the numeric score: the skill itself (and detect mode) report which patterns are present and how severe (P0/P1/P2), and the engine is what turns those into one computed 0–100 score. There's deliberately no second, prose-estimated score in SKILL.md — one scorer, not two.

npm install avoid-ai-writing-detector

The npm package includes the detector runtime and CLI entry points, but not the repository's scripts/ utilities. Clone the repository to run those scripts.

const AIDetector = require("avoid-ai-writing-detector");
const { score, label, issues } = AIDetector.analyzeText("Your text here…");
console.log(score, label, issues.length);

Score a file or piped text from the command line

npx --package avoid-ai-writing-detector avoid-ai-writing draft.md

The CLI prints the analyzeText() result as JSON. The detector guide covers piped input, global install, and exit codes.

Gate prose in GitHub Actions or pre-commit

The gate fails a file whose deterministic finding count exceeds a threshold, as a GitHub Action or a pre-commit hook. The gate guide has the workflow and hook config, step outputs, the --json schema, threshold calibration, Markdown source masking, and ignore markers.

Use the detector over MCP

avoid-ai-writing-mcp wraps the published detector as a local stdio MCP server with two read-only tools and no rewrite tool. docs/mcp.md covers what it exposes and how it pins its detector version; the MCP repository owns the install steps.

Check protected content after a rewrite

detector/validate.js compares an original and a rewritten file and checks protected content and structure, such as code, frontmatter, URLs, and headings. A pass does not verify meaning. docs/preservation-validator.md has the commands and the advisory policy.

Does it pass its own pass? PROOF.md scores this repo's documentation with this repo's detector and publishes the result, including two defects the scan found in our own work. npm run self-scan reproduces it, and CI fails when a document drifts past its budget.

Pre-publish pipeline

This skill answers one question: does the draft sound like a model? Run fact-check first to answer the other one: are the claims true? It pulls out the specific claims it can check (numbers, dates, names, quotes, firsts), tries to refute each against a primary source, and returns a verdict per claim. It flags and never edits, and a claim it couldn't settle is marked unverified, not passed.

Run it before this skill, so the rewrite starts from claims you've already fixed. A rewrite can still change or add a claim, so check any claim that changed before you publish: the first pass covered the earlier draft, not the final text.

Install both as Claude Code plugins from this repo's marketplace:

/plugin marketplace add conorbronsdon/avoid-ai-writing
/plugin install avoid-ai-writing@conorbronsdon-skills
/plugin install fact-check@conorbronsdon-skills

For other agents, clone each repo into your skills directory, as in Installation & Usage.

For a second opinion, draft with one model family and audit with another: docs/cross-model-workflow.md explains why and how.

House style is a different job

This skill removes AI-writing tells. It doesn't enforce a published style guide and ships none; the optional --style input takes a house-style config you supply. docs/house-style.md covers that config, the quote normalizer, and why paywalled guides get no implementation here. For Google, Microsoft, Red Hat, or Salesforce style in CI, use Vale. This repository also generates a Vale style from the detector's pattern tables; vale/README.md covers it.

More from me

I run agents against my own email, money, and publishing, so I build the guardrails first.

Follow me on GitHub for new tools and practical examples from maintaining them.

Credits

Pattern research informed by:

Pull requests get an automated first-pass review from Qodo Merge, free through Qodo's open source program. Thanks to the Qodo team for supporting OSS maintainers.

Authored by Conor Bronsdon · LinkedIn · Chain of Thought podcast

Community / Multilingual

Independently maintained adaptations cover German, French, Italian, Romanian, Swedish, European Portuguese, and Russian. docs/community.md lists them with their maintainers and limitations, and explains how to get an adaptation linked.

Official sources and sponsorship

I publish this project through these channels only:

Skill directories and catalogs that copy SKILL.md from this repository are run by other people. They can fall behind the latest release, so compare the version in their copy's frontmatter with the latest release. I don't control those pages and can't sell space on them.

No paid placements. The skill, pattern catalog, detector, and docs contain no paid mentions, links, or product recommendations, and I decline requests to add them.

Sponsorship. If this project saves you or your team time, you can support it through GitHub Sponsors. Company sponsors get a disclosed acknowledgment in this README. Sponsorship buys no say over rules, categories, detector output, or recommendations. Products whose main purpose is AI-text detection or getting past detectors aren't a fit, because the skill's flags are signals, not proof of authorship.


Disclaimer

This is an independent personal project, not affiliated with, sponsored by, or endorsed by any company. All views expressed are my own.

License

MIT

avoid-ai-writing (conorbronsdon/avoid-ai-writing)

正在搜索数据库…

这是什么?一项可移植的写作技能,用于检查文本中的“AI 写作模式”(如套话、回避系动词、推销式措辞等 AI 腔),并将其改写得更像人写的,或只标出问题而不做任何改动。
这是提示词、插件,还是别的什么?它是基于目录的“智能体技能”(包含 SKILL.md、参考目录和脚本),而不是一次性提示词。它可以作为技能、插件或移植后的规则文件,在任何兼容 agentskills.io 的智能体中使用。
我该如何安装和使用?将仓库克隆到你的智能体 skills 目录(例如 Claude Code 的 skills 文件夹),或者对于不支持目录式技能的工具,使用单文件 dist/avoid-ai-writing.md。Claude Cowork、OpenClaw、Cursor、Hermes 和 Codex 各有自己的安装方式,详见 README。
支持哪些编程智能体?Claude Code、Claude Cowork(以插件形式)、OpenClaw、Cursor(以移植规则的形式)、Hermes、OpenAI Codex,以及通过生成文件支持的 Windsurf、Cline、GitHub Copilot、Claude.ai Projects 和 ChatGPT 自定义 GPT。
它能处理任何文件,比如代码吗?不能。源代码、配置文件和生成的数据会被拒绝处理,因为改写散文式内容可能会破坏结构化内容;它只处理文字类文件。
谁会用它?任何借助 AI 助手写作、希望输出读起来像人写的人——博主、营销人员、起草文档的开发者,或是想整理 AI 生成草稿的人。
改写、检测和编辑模式有什么区别?改写(默认)会标出并修正 AI 写作模式,并进行第二轮检查以捕获遗漏项;检测只标出模式而不改动文本,适用于某个标记可能是有意为之的情况;编辑则通过 Edit 工具对文字文件进行原地修改,只做最小范围的针对性改动,并返回报告,而不是整个文件。
大小
6.3 MB
星标
6.4K
时长
8个月
提交 · 90 天