deslop
Use when user wants to clean AI slop from code. Use for cleanup, remove debug statements, find ghost code, repo hygiene.
npx skills add agent-sh/agentsys --skill deslop --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 --
- Parse Arguments
- Input
- Detection Pipeline
- Phase 1: Run Detection Script
- Phase 2: Repo-Map Enhancement (Optional)
- Phase 3: Aggregate and Prioritize
- Phase 4: Return Structured Results
- Output Format
- Certainty Levels
- Pattern Categories
- HIGH Certainty (Auto-Fixable)
- MEDIUM Certainty (Review Required)
- LOW Certainty (Flag Only)
- Fix Types
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 --compactWhat 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.