avoid-ai-writing

avoid-ai-writing is a skill for Codex from PracticalSwan/agent-skills. It costs 42 tokens per session (5,168 once invoked), scanned A, a copy of avoid-ai-writing, MIT.

A writing review and rewriting aid that finds patterns often associated with machine-generated text and helps remove them.

In plain words
What is it for?
Use it to audit text, rewrite it in place, apply a chosen voice or context profile, and repeat the review until the unwanted patterns are reduced.
Why use it?
It helps make drafts sound more natural while treating detected patterns as signals rather than proof that a person or machine wrote them.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to audit text, rewrite it in place, apply a chosen voice or context profile, and repeat the review until the unwanted patterns are reduced.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/avoid-ai-writing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PracticalSwan/agent-skills --skill avoid-ai-writing
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for avoid-ai-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/practicalswan/agent-skills/avoid-ai-writing.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/avoid-ai-writing)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/avoid-ai-writing"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/avoid-ai-writing.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,168 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.05168
Opus 5 $0.00021 $0.02584
Sonnet 5 $0.00008 $0.01034
Haiku 4.5 $0.00004 $0.00517

Measured today against content hash 7d49b95e012d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

avoid-ai-writing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 21 executable files (detector/categories.test.js, detector/patterns.js, detector/patterns.test.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to avoid-ai-writing — 734 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

avoid-ai-writing/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Avoid AI Writing — Audit & Rewrite

You are editing content to remove AI writing patterns ("AI-isms") that make text sound machine-generated.

What this skill is and isn't

This is a writing-quality tool, not a verdict. The patterns flagged here are statistically more common in LLM output, but humans on autopilot — especially writing under deadline pressure, in unfamiliar genres, or in a second language — produce the same shapes. Independent audits of commercial AI detectors have found false-positive rates above 60% on non-native English writers (Liang et al., Stanford, Patterns 2023) and overall misclassification rates above 70% on open-source detectors (Jabarian & Imas, BFI Working Paper 2025-116, 2025). Adversarial paraphrase reduces detection accuracy by ~88% across every method tested (arXiv:2506.07001, 2025).

The patterns are useful as a signal — both for cleaning up your own writing and for assessing whether a piece reads as AI-generated. Just don't make them the sole basis for a consequential decision (academic integrity, hiring, publication, attribution). Several rules here also fire on second-language writing, deadline-pressed humans, and technical genres that compress vocabulary by design. Pair the signal with context: who wrote it, what genre, what the writer's normal voice looks like, what other evidence you have.

In short: signals, not proof. Worth acting on; not worth ruining someone's day over.

Before auditing or rewriting any text, read references/patterns.md in full. It contains the word tiers, pattern catalog, and context/voice profiles. These rules and their exceptions are required for quick passes as well as full audits. Resolve bundled command and example paths from this skill directory.

Modes

This skill operates in one of three modes:

rewrite (default) — Flag AI-isms and rewrite the text to fix them.

detect — Flag AI-isms only. No rewriting. Use this mode when:

  • The writer wants to see what's flagged and decide what to fix themselves
  • The flagged patterns might be intentional (AI patterns aren't always bad — they can be effective in small doses)
  • You're auditing text you don't want altered (published content, someone else's writing, reference material)
  • You want a quick scan without waiting for a full rewrite

Read the full file on GitHub · 269 lines

Files

What ships with it

40 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -646 lines 7d49b95e012d
  2. yesterday Changed · +24 lines 7ced3c698776
  3. 4d ago Changed 853b46d81f20
  4. 8d ago First seen · 891 lines · 42 tokens per session scan A ab0baaddafa5

Subscribe to this mod's changes

avoid-ai-writing is a skill published in the GitHub repository PracticalSwan/agent-skills (13 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 5,168 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to avoid-ai-writing, differing in 734 lines, and is treated as a copy.