Removes unnecessary code, files, and prose, consolidates related logic, and retires obsolete behavior while preserving required contracts. Use when asked to deslop or clean up AI-generated material.
Ships in paulrberg-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Remove material that creates work without serving a supported purpose. Consolidate concepts that belong together. Leave the selected system easier to understand, operate, and maintain.
Slop is unnecessary, redundant, speculative, or stale material with a demonstrated cost: misleading guidance, competing authority, avoidable indirection, repeated investigation, or maintenance without useful behavior. AI origin, age, size, file count, and personal taste alone do not establish that cost. Preserve sound design and useful documentation regardless of who created them.
User instructions take precedence over this skill's defaults. Apply existing authorization without asking again.
--dry-run, inspect and report without editing files.Before edits, state the selected boundary, material assumptions, and verification target. Resolve discoverable facts yourself. Do not add a default approval checkpoint after planning.
Inspect authors' sources with bounded searches. Exclude dependency, build, cache, vendor, and generated directories from broad discovery. Follow relevant consumers and execution paths beyond the first search hit.
Build a compact system map from entry points, code, tests, documentation, agent guidance, manifests, scripts, and configuration:
| Concern | Establish |
|---|---|
| Purpose | User outcomes, domain vocabulary, constraints, and required behavior. |
| Ownership | Responsible modules, interfaces, dependencies, and owners of invariants. |
| Behavior | Entry points, data flow, state, persistence, side effects, and failure paths. |
| Operation | Available actions, current-state sources, verification, interruption, and recovery. |
| Knowledge | Authoritative guidance, generated copies, audiences, load scope, and update responsibilities. |
Distinguish observed behavior, documented intent, and proposed changes. Attach paths, symbols, or command evidence to material claims. For connected repositories, identify producer and consumer contracts, versions, and ordering.
For a whole-repository request, account for selected areas as reviewed or excluded with a reason. Use chat by default. Do not create a custom ledger, persistent report, or helper artifact merely to document routine progress.
Judge the system through these outcomes:
Preserve product goals and human usability. Optimize total cost across repeated tasks, including future maintenance. Do not optimize token, line, or file counts at the expense of correctness.
Walk a routine change, a failure and recovery path, and continuation by another worker when applicable:
Record concrete friction against these tasks. Examples include conflicting authority, hidden dependencies, opaque state, ambiguous names, and repeated manual investigation. Do not infer a defect from unfamiliar structure alone.
For each candidate, establish required behavior before judging its implementation. Ask what can disappear entirely. Then simplify what remains. Prefer deletion over simplification when deletion preserves the required contracts.
Identify the demonstrated cost, responsible owner, affected consumers, preservation requirements, and proving check. For a material structural decision, compare the current design with the simplest viable alternative.
Preserve inputs, outputs, side effects, errors, ordering, security, telemetry, performance-sensitive behavior, and operational guards. Do not remove boundary validation because happy-path tests pass. Retain compatibility and migration logic while supported consumers require it. Remove it only with evidence that those requirements have ended.
Use one canonical domain term per concept and different terms for distinct concepts. Align filenames, exports, and responsibilities. Rename only when the result removes ambiguity. Avoid synonym churn.
Update all relevant references in the same change. Preserve public names, persisted strings, and external contracts unless an authorized migration covers their consumers.
For documentation-only work, update existing design documents and plans in place. Keep dependency order and observable acceptance checks in proposed implementation steps. Do not present proposed commands or runtime behavior as available.
Treat runtime prompt wording, ordering, and output schemas as behavior. Preserve repetition justified by evaluations. Validate edits through the owning evaluation workflow, comparing baseline and candidate on matched inputs and model settings. Static string checks prove wiring or required text, not answer quality. Do not run paid inference or consequential evaluation without existing authorization. If evaluation is unavailable, leave the runtime prompt unchanged and report the exact gap while continuing independent cleanup.
Identify the behavior each affected test protects. Remove tautologies that cannot detect a plausible implementation defect. Remove obsolete implementation-only assertions when no supported requirement depends on them.
Inspect which checks each test runner invokes. If a runner repeats enforcement that its own tests already provide, consolidate the checks by contract and coverage. For source-text assertions, name the invariant and a plausible failure. Replace incidental source or command spelling constraints with behavior checks when they prove the same contract and fit the existing authority. Preserve exact-text contracts, independent layer checks, and intentional validation tiers. Do not bypass required checks or remove guards to make a suite pass.
Check that successful fixtures can come from the real producer and that mocks do not bypass or copy the invariant under test. Keep malformed fixtures that verify rejection. Repair weak fixture or contract assertions instead of deleting useful integration tests.
Before deleting a test, prove that its behavior is obsolete or identify the retained test that covers it. Merge equivalent cases into the owning suite only while preserving distinct behavioral assertions, input cases, and diagnosable failures. Use coverage or a focused defect experiment when overlap remains unclear.
Never remove a failing or flaky test merely to make checks pass. Add proportionate regression coverage for meaningful changed behavior. Do not add tautological content tests for reversible prose edits.
Before deleting source, behavior, or artifacts, inspect their actual consumers as applicable:
Classify an artifact by its role before removing it: authoritative input, raw evidence, generated derivative, published snapshot, fixture, or disposable output. Similar contents or a completed migration do not make provenance, audit, or recovery records disposable. Follow the owning lifecycle and preserve original evidence. Generated copies can be intentional when separate consumers require them.
Missing text references alone do not prove deadness. If usage remains unknown, retain the candidate until resolved. Report the exact uncertainty and the evidence needed to resolve it.
Execute small coherent changes in dependency order. Re-read current files before editing. Preserve unrelated work. Update owned producers, consumers, links, metadata, examples, and tests together. Change generated artifacts through their authoritative source and existing generator.
Reuse existing task tooling. Do not add a speculative framework, documentation system, or cleanup process. For repeated evidenced invariant failures, prefer a proportionate mechanical check over more reminders. Keep the required contract explicit in guidance even when tooling enforces it.
Keep work sequential unless the user or applicable instructions authorize delegation. If authorized, assign independent bounded scopes and one owner for aggregate validation. Do not require full companion audits.
Give brief factual progress updates. Continue through authorized edits and checks. Do not stop at an inventory, proposal, or milestone. Once the fixed scope is complete, do not start another audit without new evidence.
Run existing required checks and the narrowest behavior or interface checks that prove the selected changes. Verify paths, commands, references, and intentional remnants against their owners. Inspect command definitions before executing them. Do not run consequential operations merely to verify prose.
Repeat representative task loops against the revised system. Compare how a worker finds state, authority, actions, success signals, recovery, and durable knowledge. Check that local simplification did not move complexity to consumers.
Finish when selected areas are accounted for, authorized cleanup is complete, and required checks pass. If required work remains blocked, report the exact obstacle and needed input. Tie claims to observed results. Disclose failed, skipped, and unrun checks. Do not invent savings or impose cleanup quotas.
Lead with the outcome. Summarize changes and reasons, important preserved boundaries, exact checks and outcomes, and unresolved items. Distinguish document changes from proposed runtime work. Report a verified no-op when no cleanup is warranted.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
45 skills in this plugin
/agents-brainMaintain README.md, AGENTS.md/CLAUDE.md, skills, and repo context. Create, scaffold, or initialize AGENTS.md files and project-local agent skills. Use task evidence to delete obsolete skills, merge overlapping skills, and capture recurring workflows./agents-docsUse for current official documentation about Codex, Codex CLI, or Claude Code behavior, configuration, prompting, skills, permissions, tools, surfaces, capabilities, troubleshooting, hooks, app-server, or hook trust. Consult the relevant official source before answering./agents-introspectionUse local Codex/Claude Code transcripts to assess recurrence risk for agent behavior. Recommend durable fixes to AGENTS.md or skills from that evidence. Not for routine post-success skill-evolution or agent self-improvement reviews./ai-prunePrune agent scratch directories on macOS. Move clearly outdated `.ai/` files into `.ai/archive/YYYY-MM-DD/` and trash clearly outdated `.cache/` entries. Leave `.ai/todos` untouched./apple-device-integrationUse for device or simulator UI verification through Apple's Xcode MCP after UI changes or an explicit device check. Inspect screenshots and UI hierarchies, exercise controls, and report functional or visual defects./brainstorm-with-meBrainstorm with the user to generate, combine, and refine non-obvious ideas into a promising concept. Use when the user wants to brainstorm, ideate, explore possibilities, escape obvious approaches, or find a creative solution./paulrberg-agent-skills:deslop [path ...] [--dry-run]from paulrberg-agent-skills
paulrberg-agent-skills@cascade-code-general-misc-1 is listed by joshuarweaver/cascade-code-general-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin paulrberg-agent-skillsOther plugins' skills for the same job