# Antislop code

> Antislop code is an open-source agent skill for developer tools. Strips generic AI-style code comments while keeping the ones that carry real information. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/antislop-code
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** antislop-code
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [writing style](https://ai-powered.com/categories/writing-style)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/antislop-code)
- [Asks for: Read, Write, Edit, Glob, Grep](https://github.com/smartworldarafath/REA_Skill/blob/HEAD/.agents/skills/antislop-code/SKILL.md)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/antislop-code)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Lean comments](https://ai-powered.com/skills/lean-comments): Lean comments is an open-source agent skill for developer tools.
- [Deslop](https://ai-powered.com/skills/deslop): Deslop is an open-source agent skill for developer tools.
- [No comments](https://ai-powered.com/skills/no-comments): No comments is an open-source agent skill for developer tools.
- [Code simplifier](https://ai-powered.com/skills/code-simplifier): Code simplifier is an open-source agent skill for developer tools.
- [Antislop](https://ai-powered.com/skills/antislop): Antislop is an open-source agent skill for developer tools.
- [Antislop UI](https://ai-powered.com/skills/antislop-ui): Antislop UI is an open-source agent skill for design and media.
- [Add educational comments](https://ai-powered.com/skills/add-educational-comments): Add educational comments is an open-source agent skill for developer tools.
- [Antislop copywriting](https://ai-powered.com/skills/antislop-copywriting): Antislop copywriting is an open-source agent skill for writing style.

---
Source: https://ai-powered.com/skills/antislop-code
