What is AI slop? Generic writing and code from agents
By Flavio
AI slop is generic writing or code a model repeats until drafts sound the same. Claude Code, Codex, Cursor and Grok Build ship no filter for it.
AI slop is model-written prose or code that still carries generic default habits: bloated openings, forced lists of three, single-caller abstractions, or comments restating the next line.
Choosing anti-slop skills covers the review pass, while slop grenades covers sending unread drafts to someone else.
How AI slop shows up
First drafts from a coding agent are often useful yet generic, because those habits come from the model’s defaults rather than your repo.
An anti-slop skill is a second pass driven by a SKILL.md checklist that rewrites those generic stretches before you inspect the diff.
Slopsquatting is a different failure. That one is a package name the model invented, which someone else can register. Slop here is the prose and the code you already have in the file.
AI slop in each tool
None of the four product indexes uses the word slop, and none documents a mode that strips generic output for you. The cleanup that this site’s posts describe is a skill you add.
| Claude Code | Codex | Cursor | Grok Build | |
|---|---|---|---|---|
| A built-in slop filter | Not documented | Not documented | Not documented | Not documented |
| How a skill runs | The Skill tool, or a slash command the skill defines | $ plus the name, in the unslop post | / plus the skill name, in the unslop post | A user-invocable skill becomes /<skill-name>. The page does not name unslop |
Claude Code
Skills run through Claude Code’s built-in Skill tool without any separate slop filter, so /unslop (shown in How to use the unslop skill) comes from Cursor’s plugins repo rather than Claude Code itself. See the tools reference.
OpenAI Codex
Codex stores reusable instructions as skills without a built-in anti-slop mode, and the unslop post runs that same skill file via $unslop. See Skills in Codex.
Cursor
Cursor’s agent tools cover search, edits, and shell commands without a built-in slop filter, while /unslop ships inside pstack in Cursor’s plugins repository. See Cursor Agent.
Grok Build
Grok discovers skill folders under .grok/skills/ and ~/.grok/skills/ (exposing user-invocable skills as /<skill-name>, enabled by default) alongside Claude Code skills, without shipping a built-in unslop skill. See Skills, plugins, and marketplaces.
Details checked against each vendor’s documentation in November 2026.
A real example
The unslop post’s job is two steps: scan for the patterns, then rewrite while keeping the meaning and the tone. A prompt in that shape, after the draft exists:
Run the unslop skill on the paragraph I pasted below. Keep the meaning and the tone. Do not add a source I did not give you.
Skill Cabinet is the Mac app that shows which agents load a skill folder. The skills-folder tutorial is the map of those folders, so you can see whether the anti-slop skill is on the agent you are about to run.
When to use an anti-slop pass
The anti-slop post runs it after the draft, as its own pass, not while the agent is still deciding the structure. Use it when the writing or the patch is done and you want the repeated habits pulled out.
Skip it when the problem is a missing fact or a wrong command. The same post says a skill cannot supply a fact you never had, and it cannot make untested code work.
Slop grenades is the reason to read the result before you send the email or open the pull request. The pass does not replace that read.
Pitfalls
An anti-slop pass can still delete a sentence you liked, flatten an unusual phrase, or swap one habit for another, so always read the diff.
Keep project-specific rules inside your project instructions rather than stuffing them into a general anti-slop skill.
/unslop and $unslop only exist once you install that skill (for Cursor, Claude Code, Codex, or via Grok’s discovered skill folders).
Related on flaviocopes.com
- Choosing anti-slop skills ranks the skills and separates a writing pass from a code pass.
- How to use the unslop skill is the
SKILL.mdfile, the 28 rules, and the commands in Cursor, Claude Code, and Codex. - Slop grenades is what happens when the unread draft is sent to someone else.
- Skill Cabinet shows which agents load each skill. The folder tutorial lists the directories.
Related glossary entries
- Agent skills: An agent skill is a SKILL.md folder that teaches a coding agent one task. Where Claude Code, Codex, Cursor and Grok Build load it, and when to skip one.
- Slopsquatting: Slopsquatting is registering a package name a language model invented, so a later install of that name runs someone else's code. What a 2025 study measured.
All AI glossary entries → · AI for coding hub →
Want me to talk about your product? You can sponsor this site.