remove-ai-patterns

remove-ai-patterns is a skill for Claude Code from pchalasani/claude-code-tools. It costs 132 tokens per session (1,362 once invoked), scanned A, original, MIT.

A writing tool for finding and removing common patterns associated with AI-generated text. It includes checking modes and a bundled catalog of patterns for consistent, offline review.

In plain words
What is it for?
Use it to audit text for AI-style patterns, edit files to remove them, and repeat the review until the text meets the desired standard.
Why use it?
It helps identify wording that can make text sound generic or machine-written. This is useful when you need a repeatable review instead of relying only on personal judgment.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the writing plugin — 4 skills shipped together

Good fit Use it to audit text for AI-style patterns, edit files to remove them, and repeat the review until the text meets the desired standard.

Compare 6 skills from other repositories ↓
About the project

pchalasani/claude-code-tools is a collection of command-line tools, skills, agents, hooks, plugins, and commands for improving work with Claude Code, Codex-CLI, and similar coding agents. It is used by developers who want reusable productivity features and workflows for terminal-based AI coding assistants. The catalogue entries are components of, or extensions for, these coding-agent workflows.

pchalasani/claude-code-tools · 2,042 stars · on GitHub

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add pchalasani/claude-code-tools
Claude Code
/plugin install writing

Made for: Claude Code.

Or install writing, the plugin that ships this one along with the rest of its 4 skills.

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 remove-ai-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/pchalasani/claude-code-tools/remove-ai-patterns/github.svg)](https://agentmods.dev/skills/pchalasani/claude-code-tools/remove-ai-patterns)
Your own site
<a href="https://agentmods.dev/skills/pchalasani/claude-code-tools/remove-ai-patterns"><img src="https://agentmods.dev/badge/skills/pchalasani/claude-code-tools/remove-ai-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for remove-ai-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/pchalasani/claude-code-tools/remove-ai-patterns"><img src="https://agentmods.dev/badge/skills/pchalasani/claude-code-tools/remove-ai-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,362 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 original No closer match found 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.00132 $0.01362
Opus 5.5 $0.00053 $0.00545
Sonnet 5.5 $0.00026 $0.00272
Haiku 4.5 $0.00013 $0.00136

Measured 3mo ago against content hash b7901e75c671, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

remove-ai-patterns 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 3mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/detect.js, upstream/detector/patterns.js, upstream/detector/validate.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.

plugins/writing/skills/remove-ai-patterns/SKILL.md · 112 lines

How it starts

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

remove-ai-patterns

Thin wrapper around Conor Bronsdon's avoid-ai-writing skill (MIT licensed). A pinned snapshot of the upstream catalog and detector is vendored at upstream/ inside this skill directory (commit recorded in upstream/UPSTREAM-PIN), so the skill works offline and deterministically.

How to run

  1. Read upstream/SKILL.md (the full pattern catalog, tiered word lists, and mode definitions) and follow it. It defines the modes: detect-only, edit-in-place for files, optional voice profile, and an iterate-to-convergence pass.

  2. For a deterministic, machine-checkable audit, run the bundled detector (requires Node.js, no npm install needed). Resolve it by the skill's own absolute path, NOT a bare relative path: the command runs from the user's current working directory, so node scripts/detect.js would fail with MODULE_NOT_FOUND. You already know this skill's directory (you just read this SKILL.md from it), so set it once and reuse it. Under a Claude Code plugin install ${CLAUDE_PLUGIN_ROOT} gives the plugin root; under Codex (where that variable is unset) or a direct skill install, substitute the absolute path of the directory holding this file:

    # Claude Code plugin install:
    SKILL_DIR="${CLAUDE_PLUGIN_ROOT}/skills/remove-ai-patterns"
    # Codex plugin or direct skill install: the absolute path of the
    # directory this SKILL.md lives in (it ends in skills/remove-ai-patterns;
    # the plugin root already is the writing plugin, so there is no extra
    # plugins/writing segment). Direct installs are simpler, e.g.
    #   SKILL_DIR="$HOME/.local/share/agent-skills/remove-ai-patterns"
    
    node "$SKILL_DIR/scripts/detect.js" FILE
    

    Pass a context mode as the second argument when the text is technical documentation. In this detector, technical has one concrete effect: it skips the title-case-header check (Title Case section headings are legitimate in technical docs). It does not broadly relax vocabulary checks, and it is not the same as selecting the skill's technical VOICE profile (context and voice are separate axes); the wider technical-prose word exceptions live in the upstream skill's rewrite rules, not in the detector.

Read the full file on GitHub · 112 lines

Files

What ships with it

8 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. 3mo ago First seen · 112 lines · 132 tokens per session scan A b7901e75c671

Subscribe to this mod's changes

remove-ai-patterns is a skill published in the GitHub repository pchalasani/claude-code-tools (2,042 stars, last pushed yesterday), licensed MIT. It adds 132 tokens to every session and 1,362 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

remove-ai-patterns compared with skills from other repositories

remove-ai-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
remove-ai-patternspchalasani/claude-code-toolsSkill2.0kyesterdayMITA132Claude Code
tinyjsmomozi1996/momo-codeSkill1.1k1mo agononeA75Claude Code, Codex
datamolsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A67Claude Code, Codex
clinicaltrials-databasesynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A47Claude Code, Codex
glycoengineeringsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A75Claude Code, Codex
esmsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A86Claude Code, Codex
pysamsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A47Claude Code, Codex