Official agent skill

Deslop

by sanity-io in sanity-io/sanity

Remove AI-generated code slop and clean up code style. An agent skill from sanity-io/sanity.

OfficialMITAuto-check passedWriting & Content

Install Deslop

skills CLI
$ npx skills add sanity-io/sanity --skill deslop -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sanity-io/sanity deslop --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sanity-io/sanity.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/deslop .claude/skills/deslop && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
deslop
GitHub stars
6.4k
Used in
6 other repos
Token cost
~180 tokens
SKILL.md length
92 words
Files
1
Skills in repo
34
Repo updated
First seen
Licence
MIT

At a glance

Remove AI-generated code slop and clean up code style. An agent skill from sanity-io/sanity.

  • Tasks that involve Humanizing AI text
  • SKILL.md covers Focus Areas and Guardrails
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Refactoring

What it does

Deslop is an agent skill from sanity-io/sanity, published by the product's own GitHub organization. Remove AI-generated code slop and clean up code style

Its SKILL.md is about 180 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Writing & Content, covering Humanizing AI text and Refactoring. The repository describes itself as: Sanity Studio – Rapidly configure content workspaces powered by structured content. The licence is MIT.

When your agent uses it

  • Tasks that involve Humanizing AI text
  • Tasks that involve Refactoring

Example prompts

  • “/deslop”

What it can do on your machine

Read from SKILL.md and the folder at commit 982525c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Deslop loads about 180 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 92 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~180

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sanity-io/sanity at commit 982525c, republished under its MIT licence (© sanity-io). 92 words, ~180 tokens.

Download SKILL.mdSave it as .claude/skills/deslop/SKILL.md (or your agent's skills folder).
name
deslop
description
Remove AI-generated code slop and clean up code style

Remove AI code slop

Check the diff against main and remove AI-generated slop introduced in the branch.

Focus Areas

  • Extra comments that are unnecessary or inconsistent with local style
  • Defensive checks or try/catch blocks that are abnormal for trusted code paths
  • Casts to any used only to bypass type issues
  • Deeply nested code that should be simplified with early returns
  • Other patterns inconsistent with the file and surrounding codebase

Guardrails

  • Keep behavior unchanged unless fixing a clear bug.
  • Prefer minimal, focused edits over broad rewrites.
  • Keep the final summary concise (1-3 sentences).

© sanity-io, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/deslop of sanity-io/sanity.

Open the folder on GitHubat commit 982525c

Used in 7 other repositories

We found 10 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 6 other GitHub owners. This page covers the copy in sanity-io/sanity, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Deslop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Deslop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deslop this skillsanity-io/sanity6.4k6 repos~180Automated safety check: PassMIT
DeslopMrZoyo/deslop-GPT136—~4kAutomated safety check: PassMIT
Prism Maintainirfndi/prism-liquidity-agent122—~1kAutomated safety check: PassMIT
AI Slop Cleaneryangyuan-zhen/PolyWeather315—~2.2kAutomated safety check: PassAGPL-3.0
Deslopmillionco/react-doctor15k—~1.2kAutomated safety check: PassCustom licence
Clean AI Sloptmdgusya/engineering-discipline125—~1.9kAutomated safety check: PassNone

Similar skills

  • Deslop

    MrZoyo/deslop-GPT

    Audit or apply evidence-backed, test-first subtractive cleanup for accumulated agent-created test bloat, verification theater, and defensive or fallback bloat while preserving independent external…

    136 GitHub stars~4k tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Prism Maintain

    irfndi/prism-liquidity-agent

    Maintain the Prism codebase: measure cyclomatic complexity, refactor hotspots, and enforce the anti-slop type discipline.

    122 GitHub stars~1k tokensUpdated 9 days ago
    Writing & ContentAuto-check passed
  • AI Slop Cleaner

    yangyuan-zhen/PolyWeather

    [OMX] Run an anti-slop cleanup/refactor/deslop workflow. An agent skill from yangyuan-zhen/PolyWeather.

    315 GitHub stars~2.2k tokensUpdated 17 days ago
    Writing & ContentAuto-check passed
  • Deslop

    millionco/react-doctor

    Simplify and refine recently modified code while preserving functionality.

    15k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Clean AI Slop

    tmdgusya/engineering-discipline

    Corrective cleanup of AI-generated code — removes LLM-specific patterns while preserving behavior.

    125 GitHub stars~1.9k tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Omh AI Slop Cleaner

    rlaope/oh-my-hermes

    [omh] Messy or AI-generated code to clean up: delete AI-generated slop, dead code, and duplication while observable behavior stays identical.

    3.2k GitHub stars~2.7k tokensUpdated today
    DevelopmentAuto-check passed

More from sanity-io/sanity

All 34 skills in this repo
  • Playwright CLI

    sanity-io/sanity

    Official

    Automates browser interactions for web testing, form filling, screenshots, and data extraction.

    6.4k GitHub starsUsed in 18 repos~1.9k tokens
    Auto-check passed
  • Find Skills

    sanity-io/sanity

    Official

    Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities.

    6.4k GitHub starsUsed in 67 repos~1.2k tokens
    Auto-check passed
  • Official

    React and Next.js performance optimization guidelines from Vercel Engineering.

    6.4k GitHub starsUsed in 130 repos~1.6k tokens
    Auto-check passed
  • Before And After

    sanity-io/sanity

    Official

    Add existing screenshots or screen recordings to a GitHub pull request as a before/after or preview block.

    6.4k GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • React Devtools

    sanity-io/sanity

    Official

    React DevTools CLI for AI agents. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 3 repos~2.1k tokens
    Auto-check passed
  • TDD

    sanity-io/sanity

    Official

    Test-driven development with red-green-refactor loop. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 20 repos~1k tokens
    Auto-check passed

Questions about Deslop

What does Deslop do?

Remove AI-generated code slop and clean up code style. An agent skill from sanity-io/sanity. Deslop is an agent skill from sanity-io/sanity, published by the product's own GitHub organization.

When should I use Deslop?

Deslop fits situations like: tasks that involve Humanizing AI text; tasks that involve Refactoring.

How do I install Deslop in Claude Code?

Run `npx skills add sanity-io/sanity --skill deslop -a claude-code`. Or copy the skill folder (.agents/skills/deslop in sanity-io/sanity) into .claude/skills/deslop in your project. Claude Code loads it when a task matches its description.

How do I install Deslop in Codex?

Run `npx skills add sanity-io/sanity --skill deslop -a codex`. Or copy the skill folder (.agents/skills/deslop in sanity-io/sanity) into .agents/skills/deslop in your project. Codex loads it when a task matches its description.

Can I use Deslop in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sanity-io/sanity --skill deslop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deslop, .gemini/skills/deslop, .github/skills/deslop and .opencode/skills/deslop in your project.

What does Deslop need to run?

SKILL.md names no scripts, command-line tools or credentials: Deslop is instructions for the agent only.

Does Deslop access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Deslop safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Deslop use?

Deslop is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Deslop use?

About 180 tokens (SKILL.md is roughly 720 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Deslop?

Skills that share tags, products or a category with Deslop: Deslop (MrZoyo/deslop-GPT, 136 stars), Prism Maintain (irfndi/prism-liquidity-agent, 122 stars), AI Slop Cleaner (yangyuan-zhen/PolyWeather, 315 stars) and Deslop (millionco/react-doctor, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deslop?

sanity-io (a GitHub organization, an official publisher) maintains it in sanity-io/sanity, which has 6,352 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on October 7, 2026.

Source: sanity-io/sanity on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.