⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
deslop
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 behavior. Invoke explicitly for semantic simplification, not generic refactoring.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
deslop audits and, when explicitly authorized, removes complexity accumulated through repeated coding-agent implementation and correction cycles. Those cycles often leave overlapping regression tests, producer-verifies-producer checks, and fallback layers that hide failures instead of handling a current contract.
This is semantic subtraction, not source beautification. deslop is not a formatter, style humanizer, test-count minimizer, blanket ban on defensive code, or automatic permission to edit a repository. It follows justification chains to independent evidence and preserves behavior whose contract remains real or uncertain.
Reduce test surface, not behavior surface.
What it targets
The percentages below are design priorities, not measured prevalence.
| Priority | Target | Question |
|---|---|---|
| ~50% | Test-suite bloat | Does each test protect a distinct failure domain with a current owner and an independent oracle? |
| ~25% | Verification theater | Can the verifier fail independently from the producer, or do both share the same information and failure domain? |
| ~25% | Defensive / fallback bloat | Does the recovery path implement a current contract, or merely mask an unexpected internal error? |
Generic dead code, wrappers, abstractions, and comments are secondary. They matter only when they belong to one of these clusters or have direct high-confidence deletion evidence.
Subtract machinery. Preserve behavior.
| Remove | Preserve |
|---|---|
| Self-justifying or duplicate tests | Distinct success, rejection, error, and edge-case behavior |
| Checksums, receipts, or validators with no independent consumer | Persistence and corruption checks across a real failure boundary |
| Speculative or obsolete fallback chains | Supported compatibility and documented protocol behavior |
| Repeated defenses inside trusted call graphs | Real handling at external and untrusted boundaries |
| Wrapper/test clusters with no independent purpose | Security, transactions, concurrency, resource, and scientific invariants |
Resemblance to a smell is a lead, not a verdict. Security and trust boundaries, supported callers, persisted formats, and numerical constraints are preserved by default when evidence is incomplete.
Quick Start
Codex: install v0.3.4 as a standalone Skill
Invoke the bundled installer with this GitHub Skill URL:
$skill-installer
Install the Skill from:
https://github.com/MrZoyo/deslop-GPT/tree/v0.3.4/skills/deslop
For a reviewable local checkout, symlink the runtime directory into Codex's canonical user Skill location:
git clone --branch v0.3.4 --depth 1 https://github.com/MrZoyo/deslop-GPT.git "$HOME/.local/share/deslop-GPT"
mkdir -p "$HOME/.agents/skills"
ln -s "$HOME/.local/share/deslop-GPT/skills/deslop" "$HOME/.agents/skills/deslop"
After installation, confirm that the selected Skill path points to the intended release; see the discovery checks in Getting Started. The tagged v0.3.4 path is the current released, pinned standalone Skill; main is the development branch and may contain unreleased changes.
Claude Code: install the Plugin from GitHub
Inside Claude Code, add this repository as a marketplace and install the Plugin:
/plugin marketplace add MrZoyo/deslop-GPT
/plugin install deslop@deslop
The canonical Plugin command is /deslop:deslop. The v0.3.4 catalog uses an explicit HTTPS Git source pinned to the release tag. For a local checkout, run claude --plugin-dir . from the repository root. 0.3.4 release notes describe the narrow persistence-policy change and mixed evaluation results; historical evidence remains tied to its exact payload.
One checkout, standalone discovery on both hosts
The same released runtime payload can be linked into each host's user Skill directory:
mkdir -p "$HOME/.agents/skills" "$HOME/.claude/skills"
ln -s "$HOME/.local/share/deslop-GPT/skills/deslop" "$HOME/.agents/skills/deslop"
ln -s "$HOME/.local/share/deslop-GPT/skills/deslop" "$HOME/.claude/skills/deslop"
Use only the link for the host you need, and run each ln command only when its destination does not already exist. A standalone Claude Code installation invokes the Skill as /deslop. See Getting Started for installation scope, v0.1.0 migration, updates, removal, and a safer review-first workflow. deslop is an independent community project, not an OpenAI or Anthropic product.
Distribution status
The shared skills/deslop/ payload follows the open Agent Skills structure and is used unchanged by Codex and Claude Code. .claude-plugin/plugin.json and .claude-plugin/marketplace.json provide Claude Code packaging. This release distributes a standalone Skill for Codex and does not include Codex Plugin metadata. The historical Plugin experiment does not describe current platform support. See the distribution compatibility note.
Invoke it explicitly
| Host and distribution | Command name |
|---|---|
| Codex standalone Skill | $deslop |
| Claude Code standalone Skill | /deslop |
| Claude Code Plugin | /deslop:deslop |
Append the same mode and scope arguments to the command name for each host:
| Arguments | Effect |
|---|---|
| none | Read-only audit of the established scope |
audit | Explicit read-only audit |
apply | Apply reviewed cleanup within scope |
tests apply | Prioritize test signal and mutual-support test/code clusters |
current branch apply | Clean current work relative to its actual merge base |
deep | Repository-wide read-only audit |
deep apply | Repository-wide cleanup without redesign |
Only apply authorizes edits. Staging, commits, pushes, branch changes, resets, and fetching still require separate permission.
Example workflow
Start with evidence, not edits:
$deslop deep
HIGH
- two fallback layers handle the same internal parse failure;
current callers and history show no supported legacy input
- a local receipt is produced and verified by the same workflow;
no external consumer or persisted trust boundary exists
PRESERVE
- a persisted readback detects truncated output across a write/read boundary
- a compatibility branch is required by a documented external protocol
Review each evidence chain and preservation decision. Apply only the s
// HOW IT'S BUILT
KEY FILES