← Open Source

Rules for an AI coding agent to filter out generic AI-generated UI designs, text, and code.

AI EngineeringTest & guardPrompt & ScaffoldPython
Momentum
+52stars in 24 hours+0.5%
10.9k
Stars
732
Forks
+545
This week
16
Contributors
Created 2026-08-07 · Updated 2026-12-05 · #296 today
Top developers
README

Rules for AI Coding Agents

npx antislop-ai

Website · Guide · Roadmap · Install · Skills · FAQ


antislop is a rulebook an AI coding agent reads when a task generates, edits, or reviews UI, web pages, user-facing copy, or code comments. It stops generic UI, text, and AI-shaped code, and it is a filter, not a style guide: no colors, fonts, or layouts prescribed, direction stays yours. Inside are 40 rules in three tiers, a Liveliness Toolkit, a mandatory PASS/FAIL report, and seven skills that load only when a task needs them. It cannot invent direction, so DESIGN.md supplies that, and antislop never beautifies on its own.

Before and after

Each pair below is one brief, run twice, so the difference is visible side by side.

UI

With /antislop-ui. antislop alone is not the after. It removes the slop and stops there; direction comes from DESIGN.md. For UI work you intend to ship, that file is mandatory: without it the result is labelled a draft without direction. The pair below is the result.

Before: without antislop After: antislop + DESIGN.md
This is what most AI output looks like: slop everywhere once you take a closer look. Much better. antislop kills the slop, and DESIGN.md gives it a real visual direction.

The two partial states are worth seeing, because each one shows why the other half matters:

Partial: antislop alone Partial: DESIGN.md alone
The slop is gone, but so is the direction. That is why antislop needs a DESIGN.md. The direction is there, but honestly it is still far from good: the slop still shows.

Click here for the other before and after examples

Copywriting

With /antislop-copywriting. One prompt, run twice.

Accessibility

With /antislop-human. One sign-in form, run twice.

Mobile layout

With /antislop-layoutmobile. One dashboard on a phone, run twice.

Code

With /antislop-code. One file, run twice.

Install

antislop ships as standard agent skills: one folder per skill, holding a SKILL.md. Installation differs per agent, so pick the section for the one you use. Each route is walked through from zero, with update and removal, in GUIDE.md.

The installer (recommended)

One command, then answer the prompts. It asks which skills you want, where to install them (this project or everywhere), and which agents you use, then copies the folders and writes the pointer that reloads antislop every session.

npx antislop-ai

The skills directory

antislop is listed on skills.sh, the open directory for agent skills. This copies the same folders as the installer and nothing else, so antislop reloads by description alone.

npx skills add miqdadbadjuber/anti-slop

Claude Code - Plugin

/plugin marketplace add https://github.com/miqdadbadjuber/anti-slop
/plugin install antislop@anti-slop

Antigravity - Plugin

agy plugin install https://github.com/miqdadbadjuber/anti-slop

Codex - Plugin

codex plugin marketplace add miqdadbadjuber/anti-slop
codex plugin add antislop@anti-slop

Cursor - Plugin

agent plugin marketplace add https://github.com/miqdadbadjuber/anti-slop

Then open Customize, find antislop, and select Install.

Kimi Code - Plugin

/plugins install https://github.com/miqdadbadjuber/anti-slop

DeepSeek Harness - Plugin

Open Plugins, choose Add plugin, paste this package name, and select Install:

antislop-ai

That is the desktop route. From a terminal instead, name the profile you use:

dsh plugin --profile desktop add antislop-ai

Cline - Plugin

cline plugin install https://github.com/miqdadbadjuber/anti-slop.git

This door covers the Cline CLI. For the VS Code or JetBrains extension, use the installer.

Muse Code - Plugin

Muse Code keeps its plugin system behind an opt-in flag, so set it first. On macOS and Linux:

export MUSE_EXPERIMENTAL_PLUGINS=1
muse plugins marketplace add anti-slop miqdadbadjuber/anti-slop
muse plugins install antislop@anti-slop

On Windows, set $env:MUSE_EXPERIMENTAL_PLUGINS = "1" in PowerShell first, then run the two muse lines unchanged.

Skills load without another step. Run muse plugins approve antislop to enable the contrast MCP server.

Qoder - Plugin

Qoder imports a plugin from a local folder, so clone this repository first:

git clone https://github.com/miqdadbadjuber/anti-slop.git

Then open Settings > Plugins in Qoder, click + Create Plugin, and choose the import-from-local-folder option. Qoder reads .qoder-plugin/plugin.json, which points at the same skills/ folder as every other door.

Qoder's own documentation also names the skills directory route, with its agent flag: npx skills add miqdadbadjuber/anti-slop -a qoder. Pick one route, not both.

Oh My Pi - Plugin

omp plugin marketplace add miqdadbadjuber/anti-slop
omp plugin install antislop@anti-slop

Pi - Package

pi install git:github.com/miqdadbadjuber/anti-slop

Qwen Code - Skills

antislop ships no Qwen extension manifest, so Qwen Code uses the installer or the skills directory. The installer writes .qwen/skills/ in a project and the shared ~/.agents/skills/ for a global install, and its session pointer goes into QWEN.md, which Qwen loads beside AGENTS.md.

Qwen reads the allowedTools frontmatter field and ignores an allowed-tools field written for another agent, so the shipped field stays inert there. The markdown skills need no adaptation, and the local Python helpers in antislop-human and antislop-pixel run as ordinary scripts.

The single file

antislop.md on its own is a complete filter you can paste into any chat window, with no packaging and no folders.

curl -o antislop.md https://raw.githubusercontent.com/miqdadbadjuber/anti-slop/main/antislop.md

Skills

Skill Covers Pick it for
antislop The core filter: rules, tiers, the Delivery Gate, liveliness Everything on UI, copy, and code comments
antislop-ui Layout, color, components, decoration, motion, structure, performance UI and visual work
antislop-copywriting Headlines, CTAs, tone, fake stats, anti-AI writing, markdown hygiene Copy and text
antislop-human Contrast, keyboard, focus, states, interaction affordances Accessibility
antislop-layoutmobile Reflow across screen widths, breakpoints, grids, overflow, tap targets Responsive work
antislop-code AI-slop comments: which to remove, which to keep Comment cleanup
antislop-pixel Reference measurement: screenshot, link, or recording into HTML and CSS, or a measured design.md Pixel clones and design specs

Install one, several, or the core alone.

Usage modes

antislop runs one of two ways, and by default the agent asks which on the first UI, web, or copy task in a session.

  • During guides the work while it is built, and closes with the Delivery Gate report.
  • After audits work that already exists: a numbered findings list, you approve what to fix, then a follow-up report.

To skip the question, save a preference once:

npx antislop-ai --mode during

Use after for the other mode. Everything else, from --mode ask to where the setting lives, is in GUIDE.md.

Update

antislop does not update itself. If you installed through the installer, one command replaces what is already there, in this project and under your home directory, and prints the release it replaced:

npx antislop-ai --update

A plugin keeps its own copy under the agent that installed it, so it updates through its own manager, and the Pi package updates through Pi. Every route is listed in GUIDE.md. Skills load when a session starts, so start a new one afterwards.

FAQ

Is antislop a style guide? No, a filter. It rejects technique without purpose and requires liveliness. Direction is yours.

Which agents does it work with? Claude Code, Codex, Antigravity, OpenCode, Cursor, Cline, Amp, Gemini CLI, Hermes, GitHub Copilot, Kimi Code, DeepSeek Harness, Muse Code, Kilo Code, Qoder, Pi, Qwen Code, and Oh My Pi. The installer covers seventeen of them and detects which ones you have, and the plugin doors install from this same repository. GUIDE.md lists the folder each agent reads.

What is a skill? A folder that goes deeper into one concern, holding a SKILL.md with its rules. Skills reference the core rules by number and never duplicate them, so adding one does not change the core.

Roadmap

v4.0.2 keeps antislop on UI work and joins it with antislop-pixel:

  • Scoped core. The rules load for UI, web pages, and user-facing copy only. Backend, data, infrastructure, and test-only tasks stay untouched, and the mode question appears on the first UI task of a session instead of every session.
  • Direction first. antislop-ui asks once for a DESIGN.md or a reference. If the user provides one and agrees, antislop-pixel builds a new page or section, or extracts a design.md for a redesign. If the user declines, the result stays a draft without direction under R-37.
  • URL renders. render.py now accepts http(s) and file:// URLs as given, while local paths and query strings still resolve on disk.

Every earlier release, and what comes next, is in ROADMAP.md.

Star History

Contributors

Thanks to everyone who helps make antislop better. The full list is on the contributors graph.

Found a new slop pattern, a rule that missed something, or a bug in the installer? Open an issue. What a pull request has to carry is in CONTRIBUTING.md, and behavior in issues and pull requests is covered by CODE_OF_CONDUCT.md.


“antislop is a filter, not magic.
It clears the slop from your UI, text, and code.
A beautiful UI is DESIGN.md's job, and yours.”


Disclaimer

Get antislop from miqdadbadjuber/anti-slop, antislop.ai.id, or the antislop-ai npm package. The npm name antislop belongs to a different package, so npx antislop does not install this project.

There is no antislop coin, token, or fundraising. Any crypto coin, token, NFT, or fundraising that uses the antislop name was not created by this project and is a scam. antislop accepts donations only through the Sponsor button on this repository and Saweria; anyone collecting money in its name anywhere else is not authorized.

License

MIT: LICENSE

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store