Agent skill · Code Review & Quality

deslop

Use when user wants to clean AI slop from code. Use for cleanup, remove debug statements, find ghost code, repo hygiene.

agent-sh404★ · +29/wk · 2 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add agent-sh/agentsys --skill deslop --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 6 KB
Bundled scripts: none
Version: 5.1.0
Path: .kiro/skills/deslop/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 923
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# deslop Clean AI slop from code with certainty-based findings and auto-fixes. ## Parse Arguments ```javascript const args = '$ARGUMENTS'.split(' ').filter(Boolean); const mode = args.find(a => ['report', 'apply'].includes(a)) || 'report'; const scope = args.find(a => a.startsWith('--scope='))?.split('=')[1] || 'all'; const thoroughness = args.find(a => a.startsWith('--thoroughness='))?.split('=')[1] || 'normal'; ``` ## Input Arguments: `[report|apply] [--scope=<path>|all|diff] [--thoroughness=quick|normal|deep]` - **Mode**: `report` (default) or `apply` - **Scope**: What to scan - `all` (default): Entire codebase - `diff`: Only files changed in current branch - `<path>`: Specific directory or file - **Thoroughness**: Analysis depth (default: `normal`) - `quick`: Regex patterns only - `normal`: + multi-pass analyzers - `deep`: + CLI tools (jscpd, madge) if available ## Detection Pipeline ### Phase 1: Run Detection Script The detection script is at `../../scripts/detect.js` relative to this skill. **Run detection** (use relative path from skill directory): ```bash # Scripts are at plugin root: ../../scripts/ from skills/deslop/ node ../../scripts/detect.js . --thoroughness normal --

What's inside
Steps it walks through
  1. Parse Arguments
  2. Input
  3. Detection Pipeline
  4. Phase 1: Run Detection Script
  5. Phase 2: Repo-Map Enhancement (Optional)
  6. Phase 3: Aggregate and Prioritize
  7. Phase 4: Return Structured Results
  8. Output Format
  9. Certainty Levels
  10. Pattern Categories
  11. HIGH Certainty (Auto-Fixable)
  12. MEDIUM Certainty (Review Required)
  13. LOW Certainty (Flag Only)
  14. Fix Types
Commands it runs
Scripts are at plugin root: ../../scripts/ from skills/deslop/
node ../../scripts/detect.js . --thoroughness normal --compact --max 50
Use newline-separated list to safely handle filenames with special chars
git diff --name-only origin/${BASE}..HEAD | \
xargs -d '\n' node ../../scripts/detect.js --thoroughness normal --compact
More from agentsys
All skills →
About this skill
What does the deslop skill do?

Use when user wants to clean AI slop from code. Use for cleanup, remove debug statements, find ghost code, repo hygiene.

How do I install it?

Run `npx skills add agent-sh/agentsys --skill deslop --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From agent-sh/agentsys, a repository with 923 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going