deslop

deslop is a skill for Claude Code from emaballarin/ccplugins. It costs 50 tokens per session (861 once invoked), scanned A, original, MIT.

A cleanup process for the code changes currently under review that removes unnecessary comments, checks, fallbacks, and style drift without changing behaviour.

In plain words
What is it for?
It helps tidy changed lines in commits, branches, or uncommitted work before a code review.
Why use it?
It keeps a proposed change focused and avoids adding unrelated or hard-to-maintain code before review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ws plugin — 5 skills shipped together

Good fit It helps tidy changed lines in commits, branches, or uncommitted work before a code review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emaballarin/ccplugins/deslop
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add emaballarin/ccplugins --skill deslop
Clone the repo
git clone --depth 1 https://github.com/emaballarin/ccplugins

Made for: Claude Code.

Or install ws, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deslop

README.md
[![agentmods](https://agentmods.dev/badge/skills/emaballarin/ccplugins/deslop/github.svg)](https://agentmods.dev/skills/emaballarin/ccplugins/deslop)
Your own site
<a href="https://agentmods.dev/skills/emaballarin/ccplugins/deslop"><img src="https://agentmods.dev/badge/skills/emaballarin/ccplugins/deslop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deslop

Your own site · 80×15
<a href="https://agentmods.dev/skills/emaballarin/ccplugins/deslop"><img src="https://agentmods.dev/badge/skills/emaballarin/ccplugins/deslop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 861 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00861
Opus 5.5 $0.00020 $0.00344
Sonnet 5.5 $0.00010 $0.00172
Haiku 4.5 $0.00005 $0.00086

Measured 1mo ago against content hash 918fb22556ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deslop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/whetstone/skills/deslop/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/ws:deslop — clean the diff before review

Clean only the change under review. Preserve behaviour absolutely.

1. Scope

Take the first that applies, and state it in one line before starting:

  1. What the operator named — a commit range, a branch, a set of files.
  2. On a branch other than the default (origin/HEAD, else main): everything since the merge base, git diff $(git merge-base HEAD <default>).
  3. Otherwise the uncommitted work: git diff HEAD.

Add untracked files (git ls-files --others --exclude-standard) to cases 2 and 3 as wholly new hunks — git diff never shows them. Changed hunks are the only targets. The lines around a hunk are the standard it is judged against; the pass never runs repo-wide.

2. Checklist

Inspect every changed hunk for:

  1. Comment slop — comments a human maintainer would not write: narration of the next line, syntax explanation, prose that merely restates the code, history in comments ("now uses X instead of Y"). Docstrings and status comments on unfinished work are outside this item; the project's documentation conventions govern them.
  2. Defensive slop — checks, try/except or try/catch blocks, None guards, getattr/hasattr/.get(key, default) on attributes and keys that always exist — abnormal for the surrounding module, or protecting only imagined states. Validation at a system boundary (user input, I/O, external APIs) and guards against silent data corruption are not slop. In numerical code this includes guards that mask an upstream fault instead of fixing it: nan_to_num, a clamp to eps, a broad except around a step that produces NaNs.
  3. Type laundering — casts that assert a type rather than establish it: as any, as unknown as T, typing.cast(Any, …), widen-to-Any-then-narrow flows, and # type: ignore, # noqa or @ts-ignore with no code and no reason.
  4. Needless indirection — intermediate variables and one-use helpers that add no domain meaning, remove no duplication, and simplify no control flow.
  5. Unrequested fallbacks — compatibility shims, aliases, retries and fallback branches with no named contract that needs them and no plan to remove them.
  6. Style drift — naming, control flow, imports, formatting and idiom that conflict with the surrounding file.

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 918fb22556ac
  2. 2mo ago First seen · 73 lines · 50 tokens per session scan A 680cc4f03f2a

Subscribe to this mod's changes

deslop is a skill published in the GitHub repository emaballarin/ccplugins (4 stars, last pushed 11d ago), licensed MIT. It adds 50 tokens to every session and 861 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-27.

Related

deslop compared with skills from other repositories

deslop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deslopemaballarin/ccpluginsSkill411d agoMITA50Claude Code
security-architecture-reviewcbrock84/headcountSkill2.6ktodayMITA78Claude Code
auditoliver-kriska/claude-elixir-phoenixSkill579todayMITA35Claude Code
boundariesoliver-kriska/claude-elixir-phoenixSkill579todayMITA33Claude Code
triageoliver-kriska/claude-elixir-phoenixSkill579todayMITA32Claude Code
critical-code-reviewerposit-dev/skillsSkill57618d agoMITA67Claude Code
pr-threads-addressposit-dev/skillsSkill57618d agoMITA48Claude Code