deslop

deslop is a skill for Claude Code, Codex from MrZoyo/deslop-GPT. It costs 49 tokens per session (2,733 once invoked), scanned A, original, MIT.

A cleanup guide for reducing unnecessary tests, verification steps, error-handling paths, and fallback code created during repeated agent edits.

In plain words
What is it for?
Removing duplicate or obsolete tests, examining checks that repeat the same information, and trimming broad error catches or compatibility branches without changing external behavior.
Why use it?
It helps simplify a codebase when extra safeguards or tests add complexity without checking independent user-visible behavior.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the deslop plugin — 1 skill shipped together

Good fit Removing duplicate or obsolete tests, examining checks that repeat the same information, and trimming broad error catches or compatibility branches without changing external behavior.

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

Made for: Claude Code, Codex.

Or install deslop, the plugin that ships this one along with the rest of its 1 skill.

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/mrzoyo/deslop-gpt/deslop/github.svg)](https://agentmods.dev/skills/mrzoyo/deslop-gpt/deslop)
Your own site
<a href="https://agentmods.dev/skills/mrzoyo/deslop-gpt/deslop"><img src="https://agentmods.dev/badge/skills/mrzoyo/deslop-gpt/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/mrzoyo/deslop-gpt/deslop"><img src="https://agentmods.dev/badge/skills/mrzoyo/deslop-gpt/deslop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,733 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00049 $0.02733
Opus 5 $0.00024 $0.01367
Sonnet 5 $0.00010 $0.00547
Haiku 4.5 $0.00005 $0.00273

Measured 6d ago against content hash 3c0d4a317916, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 6d 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 · 127 lines

How it starts

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

Deslop

Deslop removes complexity accumulated during repeated coding-agent implementation and correction cycles. It is a semantic cleanup policy, not a beautifier, dead-code sweeper, generic refactoring tool, or redesign assistant.

Priority order

Work in this order. Do not let an easy dead-code deletion displace a higher-priority cluster.

  1. Test-suite bloat. Treat tests as production code that can accumulate after every agent correction. Remove duplicate, self-referential, implementation-detail, and obsolete tests while retaining a minimum sufficient set of independent behavioral evidence.
  2. Verification theater. Investigate checksums, receipts, manifests, validators, recomputation, and result envelopes whose producer and verifier share the same information and failure domain.
  3. Defensive and fallback bloat. Investigate broad catches, catch-and-fallback paths, speculative compatibility branches, repeated validation, and recovery machinery that masks errors without a current contract.

Generic dead code, wrappers, abstractions, comments, and ordinary duplication are secondary. Touch them only when they belong to one of the three target clusters or have direct high-confidence evidence.

Reduce test surface, not behavior surface. Evidence that a test is redundant or accumulated test-suite bloat justifies deleting or consolidating that test; it is not independent evidence for changing the production behavior the test exercises. When test-suite bloat is the active target, keep distinct externally observable production semantics—including public success, rejection, error, edge-case, and supported compatibility behavior—outside the deletion target unless the production construct is separately justified for removal by another target cluster, or direct evidence from current requirements, real callers, specifications, or history establishes that the behavior is obsolete or incorrect. Do not reclassify tested behavior as defensive or validation bloat merely because deleting its test leaves nothing else requiring it; the test may be its clearest executable specification.

Read the full file on GitHub · 127 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed · +2 lines 3c0d4a317916
  2. 7d ago Changed · +26 lines · +5 tokens per session 0ebc15ab4640
  3. 11d ago First seen · 99 lines · 44 tokens per session scan A ddf4518a2ee4

Subscribe to this mod's changes

deslop is a skill published in the GitHub repository MrZoyo/deslop-GPT (125 stars, last pushed 7d ago), licensed MIT. It adds 49 tokens to every session and 2,733 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

report-repair

Repair invalid local report.json files by inserting required report fields.

astandrik/my_instructions · 16 tokens

local-validator

Validate a local report.json file with a deterministic check-only script and no network access.

astandrik/my_instructions · 20 tokens

learning-from-experience

Turns incidents, near misses, bad handoffs, review surprises, escaped bugs, and signals from real use into lasting fixes to your safeguards. Use after something went wrong or nearly did and a future safeguard should change. Do not use during a live incident, which comes first, or to blame someone.

FlyFission/nuclear-grade-context-engineering · 65 tokens

reporting-shared-defects

Routes a defect found in a shared or supplied artifact (a shared prompt, skill, dependency, model, eval, or template) to the downstream teams, agents, and releases that depend on it, not just a local fix. Use when a discovered defect affects others who consume the same artifact. Do not use for a defect local to your…

FlyFission/nuclear-grade-context-engineering · 93 tokens

responding-to-incidents

Runs a live incident the stabilize-first way — name a commander, separate facts from hypotheses, prefer reversible actions, communicate on a cadence, and drive corrective actions to closure. Use when production is broken, data is at risk, or an agent action caused harm. Do not use for routine non-incident work, or as…

FlyFission/nuclear-grade-context-engineering · 80 tokens

add-plugin

Use when installing, disabling, enabling, or troubleshooting a third-party octomux plugin — the manifest row shape, octomux plugins list/disable/enable, reading octomux doctor output, and recovering a broken boot with --safe-mode.

ShreyPaharia/octomux · 53 tokens