deslop

deslop is a skill for Claude Code, Codex from nortonx/ai-tooling-free. It costs 42 tokens per session (303 once invoked), scanned A, original, MIT.

A code-cleanup skill that reviews the current branch's changes against its base branch. It removes unnecessary comments, checks, casts, imports, and other style inconsistencies while preserving intended changes.

In plain words
What is it for?
Use it to clean source-code diffs before review, including excess defensive code, unnecessary try/catch blocks, and Python imports placed inside functions.
Why use it?
It helps remove clutter often introduced during automated coding without applying the same process to prose or documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to clean source-code diffs before review, including excess defensive code, unnecessary try/catch blocks, and Python imports placed inside functions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nortonx/ai-tooling-free/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 nortonx/ai-tooling-free --skill deslop
Clone the repo
git clone --depth 1 https://github.com/nortonx/ai-tooling-free

Made for: Claude Code, Codex.

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/nortonx/ai-tooling-free/deslop/github.svg)](https://agentmods.dev/skills/nortonx/ai-tooling-free/deslop)
Your own site
<a href="https://agentmods.dev/skills/nortonx/ai-tooling-free/deslop"><img src="https://agentmods.dev/badge/skills/nortonx/ai-tooling-free/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/nortonx/ai-tooling-free/deslop"><img src="https://agentmods.dev/badge/skills/nortonx/ai-tooling-free/deslop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 303 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.00042 $0.00303
Opus 5.5 $0.00017 $0.00121
Sonnet 5.5 $0.00008 $0.00061
Haiku 4.5 $0.00004 $0.00030

Measured 7d ago against content hash 4fa97916723a, 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 7d 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.

skills/deslop/SKILL.md · 26 lines

What it actually says

Remove AI Code Slop

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

Scope: source code only. For prose (reports, docs, specs, ADRs, PR descriptions) use deslop-prose. Nothing below applies to a Markdown document, so running this skill on one does almost nothing.

What to Remove

  • Extra comments that a human wouldn't add or are inconsistent with the rest of the file
  • Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted/validated codepaths)
  • Casts to any to get around type issues
  • Inline imports in Python (move to top of file with other imports)
  • Any other style that is inconsistent with the file

Process

  1. Get the branch diff: git diff <base>...HEAD, with <base> from git symbolic-ref --short refs/remotes/origin/HEAD, else origin/main, else origin/master. If none resolves, ask.
  2. Review each changed file for slop patterns
  3. Remove identified slop while preserving legitimate changes
  4. Report a 1-3 sentence summary of what was changed
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. 7d ago First seen · 26 lines · 42 tokens per session scan A 4fa97916723a

Subscribe to this mod's changes

deslop is a skill published in the GitHub repository nortonx/ai-tooling-free (1 stars, last pushed 8d ago), licensed MIT. It adds 42 tokens to every session and 303 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-10-10.

Related

Other skills, from other repositories

adapter-audit

Use this skill to audit CLI adapter projects (like opencli) for missing output fields, then batch-generate fixes and submit PRs. Turns AI agents into adapter quality reviewers.

AllenS0104/skill-browser · 40 tokens

security-audit

Deep adversarial security audit engine for full-stack web applications. Use this skill when the user wants to audit a codebase for security vulnerabilities, broken access control, injection risks, authentication weaknesses, payment security, file upload exploits, IDOR, CSRF, SSRF, RLS bypass, business logic abuse…

Heet-P/skills · 184 tokens

roblox-code-review

Use to review Luau / Roblox code for server-authority holes, anti-slop violations, replication mistakes, and Roblox-specific bugs before merge. Use when the user says "review this code", "code review", "review the PR", "audit this script", "is this server-safe", or after roblox-forge ships a non-trivial change.

schmusch/roblox-ai-workflow · 77 tokens

roblox-anti-slop

Use to strip enterprise jargon (Controller, Service-as-non-engine-service, Repository, DTO, Manager, Handler) out of Luau code and rewrite it as Roblox-native. Use when reviewing generated code that looks like Java enterprise architecture, when the user complains it doesn't "feel like Roblox", or as a final pass after…

schmusch/roblox-ai-workflow · 76 tokens

spec-kitty-runtime-review

Review runtime-owned outputs using the Spec Kitty review workflow surface, then direct approval or rejection with structured feedback. Triggers: "review this work package", "check runtime output", "approve this step", "review WP", "is this WP ready to approve", "check this implementation". Does NOT handle: setup-only…

Priivacy-ai/spec-kitty · 85 tokens

superlint

This skill describes the mandatory standard operating procedure for using our internal SuperLint tool. Use this when tasks require fixing code quality issues according to corporate standards.

mgechev/skillgrade · 0 tokens