Projects Blog Tools Music Contact

anti-slop

Flags comments that narrate the edit and drops stock openers like “You’re absolutely right”. English and Russian.

Scroll
Claude Code plugin Comments Stock phrases EN · RU v0.2.0 Claude Code plugin Comments Stock phrases EN · RU v0.2.0 Claude Code plugin Comments Stock phrases EN · RU v0.2.0 Claude Code plugin Comments Stock phrases EN · RU v0.2.0 Claude Code plugin Comments Stock phrases EN · RU v0.2.0 Claude Code plugin Comments Stock phrases EN · RU v0.2.0 Claude Code plugin Comments Stock phrases EN · RU v0.2.0 Claude Code plugin Comments Stock phrases EN · RU v0.2.0 Claude Code plugin Comments Stock phrases EN · RU v0.2.0 Claude Code plugin Comments Stock phrases EN · RU v0.2.0
// Install

Install

/plugin marketplace add padezhnov/claude-code-mods
/plugin install anti-slop@padezhnov
Source on GitHub ↗
Version
0.2.0
License
MIT
Needs Claude Code
2.1.287+
Works in
terminal · desktop app · VS Code
// The problem

The problem

Claude often writes comments that tell the story of the change instead of explaining the code, and keeps doing it after you ask it to stop. A month later “Added null check as requested” explains nothing. Stock openers have the same problem in replies: once Claude says one, it keeps echoing it.

// Before and after

Before and after

Without the plugin
// Added null check as requested
if (!user) return

The comment narrates the edit and says nothing about why.

After the note
// The webhook can arrive before the user exists
if (!user) return

Claude rewrites it to say why the check is there.

// How it works

How it works

  1. 01 After an edit succeeds, the comment lines it added are checked for ones that tell the history of the change: “Added…”, “as requested”, “used to…”, “Добавил…”, “по просьбе…”.
  2. 02 Claude gets a short note right then to describe the code as it is now. At most one note per file and three per session. The edit is never refused.
  3. 03 Openers like “You’re absolutely right” are dropped from the reply as the conversation stores it, so Claude stops echoing them. A short system-prompt section asks it to avoid the listed phrases.
// Settings

Settings

Change them in /plugin → configure.

What it leaves alone

Quoted text, comments that describe what the code does, tool directives such as eslint-disable, prose files like .md, scratch files in /tmp, code spans and JSON in replies.

comments narration · density · off
density also flags edits that add several short one-line captions above code.
phrases list
phrase=>replacement, phrase=> to drop an opener, a bare phrase only to avoid.
rewrite on · off
Whether to clean stored replies.
beforeNow on · off
Also count Russian “раньше… / теперь…” history comments.
// Measured on real sessions

Replayed against 2,816 of my own edits it sent 3 notes, so treat it as a light guard rather than a cleaner. It helps most when Claude writes “// Added X” comments often.

// FAQ

FAQ

Does anti-slop change my code?+

No. It only sends Claude a note after an edit. Claude decides how to fix the comment in its next edit.

Can it block an edit?+

Never. Refusing edits would only cost tokens and time.

Why do I still see “You’re absolutely right” on screen?+

The phrase may already have streamed to your screen. The plugin cleans the stored copy that Claude reads on later turns, so the habit does not repeat.

Which languages does it understand?+

English and Russian comments and replies, in common programming languages.

// Other tools

Other tools

// GitHub

All code on GitHub