Anti-Slop: The Open-Source Repo That Stops Claude and Cursor from Generating Fake-Looking Websites

anti-slop uses 40 tiered rules to constrain AI coding agents and strip the "AI flavor" from generated websites.
anti-slop is an open-source repo with nearly 9,000 stars that tackles the pervasive "AI flavor" in websites generated by AI coding assistants—emoji abuse, fabricated data, hype badges, and redundant comments. Its core mechanism is 40 rules across three tiers embedded in the Agent's workflow rather than applied as a post-hoc filter, requiring the Agent to follow each rule when generating or modifying code. Before delivery, the Agent must also write a pass/fail self-check report, moving quality checks upstream. The tool supports real-time enforcement during builds or auditing existing projects, installs with a single command, and is compatible with Claude Code, Codex, Cursor, and other mainstream tools. The author is explicit about its boundary: it only subtracts AI flavor—it doesn't beautify—and style remains a human decision.
AI coding assistants are rapidly changing how websites get built, but a common pain point has emerged: the generated sites always have a strong "AI flavor." Overflowing emoji lists, fabricated statistics, exaggerated badges, comments that just repeat the code—stacked together, these elements make a site instantly recognizable as a machine product. An open-source repo called anti-slop is trying to solve this problem, and it has already garnered nearly 9,000 stars on GitHub.

Core Mechanism: 40 Rules Across Three Tiers to Constrain the Agent
anti-slop's design philosophy is straightforward: don't give the AI room to freestyle—constrain its output with an explicit rule list. The repo ships 40 rules divided into three tiers, which the Agent must follow item by item when generating or modifying code and copy.
These rules target exactly the most typical sources of "plastic feel" in AI-generated content: no fabricated statistics, no exaggerated marketing badges, no emoji as bullet points. The copy layer gets cleaned up too, stripping out templated clichés. Code has its own requirements—no useless comments that merely restate what the code already says.

You might not have noticed, but these rules aren't a post-hoc filter—they're constraints embedded in the Agent's workflow. That means from the very first step of generation, output is confined to a more restrained range of expression, rather than being polluted first and cleaned up later.
Agentic Workflow refers to the process in which an LLM-driven agent, upon receiving a high-level goal, autonomously plans steps, invokes tools (such as file I/O, code execution, web scraping), iterates, and verifies results—distinct from single-turn Q&A generation. In AI coding scenarios, the Agent sequentially reads the project structure, generates code, runs tests, and fixes errors. anti-slop embeds its rules into every step of this loop rather than filtering only at final output, leveraging the Agent's ability to self-correct repeatedly: each rule becomes an immediate constraint at decision time, so the model avoids prohibited expressions during planning, reducing downstream rework costs.
Mandatory Pass/Fail Report Moves Quality Checks Upstream
anti-slop has another clever mechanism: before delivering anything, the Agent must write a pass-or-fail report. This effectively adds a self-check gate—the AI must explicitly assess whether its output complies with the rules and leave a written conclusion.

This approach shifts quality awareness from "human review" to "Agent self-check." The report itself can't guarantee quality, but it forces the model to conduct a structured review before output, reducing the probability that obviously violating content slips through. For team collaboration, the report can also serve as a reference during code review.
Structured Self-Check is a prompt engineering method that has the model evaluate its own output along preset dimensions and produce a written conclusion before finalizing results. Common forms include checklist-style scoring, item-by-item pass/fail rule judgments, or requiring the model to restate constraints before answering. Its effectiveness stems from the separation of "generation" and "evaluation": when asked to explicitly judge "did I fabricate statistics?" the model re-examines context and is more likely to catch violations than under implicit rule-following. anti-slop's pass/fail report is an engineering implementation of this idea, and the report text also serves as a traceable audit log for teams to quickly locate risk points during code review.
Two Usage Modes: Build-Time Enforcement or Post-Hoc Audit
anti-slop offers flexible usage scenarios. You can enable it in real time during the build process, letting the rules constrain the entire generation flow; or point it at an existing project to run a "de-AI-flavor" audit on current code and copy.

Installation is extremely lightweight—a single command does it. For compatibility, it supports multiple mainstream AI coding tools including Claude Code, Codex, and Cursor, giving it broad coverage.
One naming trap to note during installation: you must enter anti-slop-ai, not anti-slop—the latter is someone else's package. The repo's documentation specifically calls out this detail; careless users can easily install the wrong one.
Claude Code, Codex, and Cursor represent the three main forms of AI coding tools today. Claude Code is Anthropic's terminal-based agentic coding assistant that can directly read/write files and execute commands; Codex originally referred to OpenAI's code generation model series and now also denotes its cloud coding agent; Cursor is an AI-first editor deeply rebuilt on VS Code, supporting inline completion and conversational code editing. The three differ in how they support "rule injection": some load constraints through project-level config files (e.g., CLAUDE.md, .cursorrules), while others rely on system prompts or plugin mechanisms. anti-slop's cross-tool usability shows it has packaged the rules as a universal checklist decoupled from any specific IDE, lowering migration costs.
Clear Boundaries: Removing Slop Isn't the Same as Making It Beautiful
anti-slop's positioning is notably restrained. Its author explicitly states that the tool is only responsible for removing "slop" (low-quality AI-generated content)—style is still up to you. In other words, it won't make your site pretty, but it will stop it from looking AI-made.
This boundary is actually important. Many AI site builders try to do everything, and end up producing a cookie-cutter template feel. anti-slop chooses to only subtract—removing the fake, the exaggerated, the redundant—and leaves aesthetic and brand tone decisions to humans. For developers with some design ability who are dragged down by AI-generated content, this positioning is actually more practical.
A Brief Observation
anti-slop's popularity reflects a transitional contradiction: the more capable AI coding tools become, the more "average-quality" content they produce—and average quality is exactly what's easiest to spot. Behind nearly 9,000 stars is a collective distaste among developers for the "AI flavor." Whether this type of rule-constraint tool becomes a standard part of AI site-building workflows is worth watching.
Related articles

Prospero: A Lightweight Native AI Coding Tool Built with ImGui
Prospero is a bloat-free native AI coding tool built with ImGui, emphasizing lightweight design, high performance, and low dependencies. This article analyzes its design philosophy, technical choices, and the divergence between platformization and toolization in AI coding tools.

WebRTC Abused: New Variant of Credit Card Skimming Scripts on Shopping Sites
Security researchers found skimming scripts on popular shopping sites using WebRTC data channels to exfiltrate credit card data. This article analyzes the technical原理, differences from traditional Magecart attacks, and defense strategies for e-commerce platforms in third-party script governance and CSP policies.

Single GB10 Card Hits 101 tok/s: Inkling 2 Mini Performance Tested on vLLM
A developer shared on Hacker News running Inkling 2 Mini with vLLM on a single GB10 at 101 tok/s. This article analyzes the technical context, the significance of vLLM with small models on single cards, and caveats for interpreting tok/s metrics.