Skip to content
Skill

Antislop code

Strips generic AI-style code comments while keeping the ones that carry real information

Antislop code is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
66
Last commit
License
MIT
Listing updated

Similar skills

About Antislop code

This skill guides an AI coding agent through cleaning up code comments. It flags decorative banners, comments that restate the next line, numbered workflow narration, vague TODOs, emoji markers and end-of-block labels, and removes or shortens them. Comments that explain business rules, security concerns, performance trade-offs, concurrency, protocol details, workarounds and licensing notices are kept.

The skill is meant to be loaded alongside a companion core file named antislop.md, which holds the shared rules and a final delivery check. Its own checklist covers comment density, line length and sentence-case wording. A hard scope limit applies: only comments may change, while identifiers, imports, formatting, whitespace and logic stay untouched.

It works with plain text reading and editing tools only and runs no scripts. It is distributed as a Claude Code plugin through the smartworldarafath marketplace, and the folder is published under an MIT license.

When your agent uses it

Code comment hygiene for AI coding agents: remove generic AI-slop comments, keep the valuable ones, never touch the code.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (9 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath

Or copy only this skill to ~/.claude/skills/antislop-code:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/antislop-code &&
cp -R "$tmp/.agents/skills/antislop-code" ~/.claude/skills/antislop-code &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/antislop-code inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/antislop-code to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/antislop-code &&
cp -R "$tmp/.agents/skills/antislop-code" ~/.agents/skills/antislop-code &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/antislop-code inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/antislop-code to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/antislop-code &&
cp -R "$tmp/.agents/skills/antislop-code" ~/.cursor/skills/antislop-code &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/antislop-code inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/antislop-code

Or copy the folder to ~/.gemini/skills/antislop-code yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/antislop-code:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/antislop-code &&
cp -R "$tmp/.agents/skills/antislop-code" ~/.copilot/skills/antislop-code &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/antislop-code inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git

Then copy REA_Skill/.agents/skills/antislop-code into your agent's skills folder as antislop-code. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Decorative comment removal
Replaces banner separators, ALL CAPS labels and emoji headers with plain text or removes them.
Redundant comment cleanup
Removes comments that repeat the next declaration or simply restate a signature.
Workflow narration trimming
Drops step-by-step numbered or first-next-finally comments that narrate control flow.
Valuable comment preservation
Keeps comments explaining intent, security, performance, concurrency, protocols and workarounds.
Comment density guidance
Aims for one concise comment per logical block and caps comments at two short lines.
Code-untouched guardrail
Restricts edits to comments, leaving executable code, identifiers and formatting unchanged.

Good for

  • Clean up AI-generated comments in a pull request
  • Remove banner separators from a source file
  • Shorten over-explained comments to the one constraint that matters
  • Delete vague TODO comments that name no task
  • Review a module's comments for redundant narration

Antislop code FAQ

What tools does Antislop code need?

It lists Read, Write, Edit, Glob and Grep as allowed tools. It includes no scripts.

Does Antislop code change my code?

No. The skill states that only comments may be modified and that code, identifiers, imports, formatting and logic must stay untouched.

Which comments does Antislop code keep?

It keeps comments explaining business logic, architecture decisions, security, performance trade-offs, concurrency, protocol details, API contracts, workarounds, edge cases and licensing notices.

Does Antislop code need another file to work?

Yes. The skill says it should be read together with antislop.md, which holds the core rules, and it references that file by rule number.

How do I install Antislop code in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/antislop-code to use it in all your projects, or to .claude/skills/antislop-code in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

Does Antislop code run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Antislop code?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Antislop code?

The closest alternatives to Antislop code are Lean comments, Deslop, No comments, Code simplifier and Antislop.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from smartworldarafath/REA_Skill

  1. Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android

    • Open source
    • 66 GitHub stars
    • Developer tools
  2. Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity

    • Open source
    • 66 GitHub stars
    • Developer tools
  3. Compare coding agents head-to-head on your own tasks by pass rate, cost and time

    • Open source
    • 66 GitHub stars
    • Developer tools
  4. Guides an agent to design tool sets, observations and error recovery for better completion

    • Open source
    • 66 GitHub stars
    • Developer tools
  5. Lets an AI agent make x402 payments within per-task budgets and spending policies

    • Open source
    • 66 GitHub stars
    • Finance and payments