PlugWiki

deslop Skill (Cursor) for Claude: Remove AI Code Slop and How to Install It

Makes Claude check your branch against main and remove the clutter AI tools tend to leave in code, for developers cleaning up before a pull request.

Installs
9.7K
on skills.sh
Stars
15K
on GitHub
Updated
Nov 2026
last repo commit

deslop has Claude read the diff against main and remove "AI-generated slop" the branch introduced. It looks for five things: extra comments, defensive checks and try/catch blocks that are abnormal for trusted code paths, casts to any used only to dodge type errors, deeply nested code that early returns would flatten, and anything else out of step with the file around it.

The skill sets three guardrails. Behavior stays unchanged unless there is a clear bug, edits stay small and focused, and the final summary is 1 to 3 sentences. It is one short SKILL.md and bundles no scripts. It works on your local git branch, so run it inside the repo.

Good for

  • Developers about to open a pull request on AI-assisted code
  • Reviewers who keep flagging needless comments and defensive checks
  • Teams that want a short, repeatable cleanup pass

Install deslop

Claude Code

  1. 1

    Copy this prompt.

    Install the deslop skill in Claude Code. Run this command:
    
    npx skills add https://github.com/cursor/plugins --skill deslop
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

The repo's Claude marketplace file lists other plugins and not cursor-team-kit, so there is no plugin route for Claude Code.

Built from the package data we hold. Not yet tested by us. Source.

What's in the skill

When it loads

Remove AI-generated code slop and clean up code style

Sections in SKILL.md

  1. Focus Areas
  2. Guardrails

Key facts

Installs on skills.sh
9,738 (Nov 2, 2026)
Last commit
Nov 1, 2026

What it includes

  • Reads what your branch changed relative to main

    The skill's one instruction: check the diff against main and remove slop introduced in the branch.

    Files · Diff against main

  • Removes comments that are unnecessary or off from the local style

    First of five focus areas.

    Write · Extra comments

  • Removes try/catch and checks that are abnormal for trusted code paths

    Second focus area.

    Write · Defensive checks

  • Removes `any` casts used only to get past type errors

    Third focus area.

    Write · Casts to any

  • Flattens deeply nested code with early returns

    Fourth focus area.

    Write · Deep nesting

  • Fixes other patterns that do not match the file and its surroundings

    Fifth focus area.

    Write · Local consistency

  • Keep behavior, make minimal edits, summarize in 1 to 3 sentences

    Behavior changes only to fix a clear bug.

    Guardrails

From the official docs

Permissions

Low risk

The skill edits files on your branch. Commit your work first so you can review or undo its changes.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It edits your code without a preview step

    SKILL.md tells Claude to remove the slop itself. Commit or stash your work first, then review the result with git diff. github.com

  • The plugin route adds more than this skill

    The Cursor Team Kit plugin also installs 17 other skills, 2 agents and 2 rules. The tree shows no hooks or MCP server in that plugin folder. github.com

Technical details
Turning on read-onlyNo read-only mode. The skill removes code, so review the diff afterwards.
Sign-in and keysSKILL.md names no key or token.
Scopes
  • Edits files that changed on your current branch

Questions

What does deslop do?

It makes Claude check your branch against main and remove AI-generated clutter. That means needless comments, odd defensive checks, any casts, deep nesting and other code that does not match the file.

Is deslop made by Cursor?

It sits in Cursor's own cursor/plugins repo, inside the Cursor Team Kit plugin. The plugin manifest lists Eric Zakariasson as author.

How do I install deslop?

Use the install box above. In Cursor, the plugin command adds the whole Cursor Team Kit. For Claude Code, install the skill with the skills CLI.

How do I run it?

Ask Claude to deslop your branch or to remove AI slop from your diff. The skill compares the branch with main, so run it inside the git repo.

Will it change what my code does?

The skill says to keep behavior unchanged unless fixing a clear bug, and to prefer minimal, focused edits over broad rewrites. Review the diff afterwards anyway.

Does it need an API key or Node?

SKILL.md names no key and bundles no scripts. Node is needed only for the skills CLI install.

Is deslop safe?

It edits files on your branch, so commit or stash first and check the result with git diff. SKILL.md has no scripts and names no network use.

Does it work in the Claude app?

There is no Claude app upload tab, because the skill works on a git diff in your local repo. Use it in Claude Code with the repo checked out. The README documents the Cursor plugin install; it does not name Codex.

Information

updated Nov 2, 2026

Repository
cursor/plugins
Folder
cursor-team-kit/skills/deslop

cursor/pluginsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 7
  1. cursor/plugins README · github.com
  2. cursor/plugins Claude marketplace.json · github.com
  3. Cursor Team Kit README · github.com
  4. cursor marketplace.json · github.com
  5. SKILL.md · github.com
  6. cursor-team-kit plugin.json · github.com
  7. skills.sh listing · skills.sh

Updated Nov 2, 2026.