Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By agent-shv5.5.0MITIn 3 marketplaces
Finds leftovers of renamed or deleted code, docs out of sync with the code, duplicated code and oversized functions in a branch's changes, then applies confirmed fixes on request. A small model confirms each finding; it needs a configured small model for that step, which is optional.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
3 marketplaces, most starred first
code-cleanup, stale-references, doc-drift, duplicate-code, refactoring, pr-review, dead-code, cleanup ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
One cleanup pass over a change: leftovers of what it removed or renamed, docs that no longer match the code, duplicated code, functions grown too large, and agent-config errors. Software finds the candidates; a small model confirms each one; confirmed fixes are applied on request.
The slop changed. Current models do not leave debug prints, TODO stubs or empty catch blocks; in a study of 2,912 defects that reviewers found in agent-written pull requests, 6 were that kind. What they leave is text that was true before the change:
deslop 1.x looked for the old kind. Measured on 39 recent pull requests, 0.5% of its findings were real and it caught none of the 106 defects reviewers found, while a run cost 15 to 25K tokens. deslop 2 is a git-based detector: it costs nothing when the change is clean, and a small model reads only the lines it flags.
The same pass covers the cleanup that used to need separate tools: docs kept in sync with the code (changelog entries, CLI examples, versions), code copied instead of reused, functions a change pushed past a readable size, and agent configuration checked by agnix.
agentsys install deslop
/deslop # report on the current branch against its merge base
/deslop apply # apply the fixes the agent confirmed, run tests, commit
/deslop --base=release/2.x # another base
/deslop --scope=docs/ # every tracked file under docs/, no diff
The detector and the confirm step run on their own too:
node scripts/detect.js . # text report
node scripts/detect.js . --json --worktree # include uncommitted changes
gh pr view --json body -q .body | node scripts/detect.js . --pr-body=-
node scripts/detect.js . --json | node scripts/confirm.js # findings confirmed by the small model
| Check | Finds |
|---|---|
stale-mention | A file, flag, env var, function or value the change removed or replaced, still named elsewhere |
missing-path, broken-anchor | Cited paths and Markdown heading links that resolve to nothing |
scope-claim | PR text or commits claiming docs-only or test-only over a code change |
review-provenance | Review history in code comments |
test-cannot-fail, test-swallows-failure | Tests with no assertion, scripts with no failing exit, swallowed errors. The bundled Rust parser resolves local and same-crate helper calls. Unresolved receivers and opaque macros go to confirmation. |
displaced-doc-comment, duplicate-line | Code inserted between a doc comment and its item; lines written twice |
no-caller, unread-setting | Added code nothing calls, settings nothing reads |
dropped-rule | Rules and reasons a doc or prompt rewrite removed |
missing-companion | Files declared or historically changed together, where the change edited one side |
changelog-missing | A user-visible change (CLI flag, env var, command, skill or agent file, package bin, or a feat:/fix:/perf: commit over code) with no entry under Unreleased |
doc-example-stale | A docs example running a command the change removed: a slash command whose file it deleted or renamed, or a package bin it took out of package.json. Flags the change removed or renamed show up as stale-mention |
version-mismatch | A package version moved in one manifest and not in another manifest with the same exact package name (plugin.json, marketplace.json, Cargo.toml, pyproject.toml; @one/kit, kit, foo-bar and foo_bar are four different names), or a new docs line pinning another version |
duplicate-code | Added code of 60 tokens and 6 distinct lines or more that already exists elsewhere in the repo, or twice in the change |
complexity | A function the change made too complex, as the language's linter measures it, on a line the change added: ruff (C901, PLR0912, PLR0913, PLR0915) for Python; the repository's eslint (complexity 10, max-depth 4, max-params 5) for JS/TS when it has an eslint config; golangci-lint (gocyclo, nestif) for Go; clippy cognitive_complexity for Rust. A language whose linter is missing is named under skipped |
agent-config | agnix errors in instruction files, skills, agents, commands, plugin manifests, hooks and MCP configs the change touched, when agnix is installed |
merge-residue, secret, local-path, broken-file | Conflict markers, credentials, machine-local paths, unparseable JSON |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub agent-sh/deslop --plugin deslopPlugins from other owners that cover similar ground