cleanup

star 74

Bidirectional AI slop scanner — Claude + GPT independently analyze, then debate disagreements.

katarmal-ram By katarmal-ram schedule Updated 2/12/2026

name: cleanup description: Bidirectional AI slop scanner — Claude + GPT independently analyze, then debate disagreements. user-invocable: true

/cleanup — Bidirectional AI Slop Scanner

Usage

/cleanup [scope] where scope is: deps, unused-exports, hardcoded, duplicates, deadcode, or all

Description

Claude analyzes independently, then codemoot cleanup runs deterministic regex + GPT scans. 3-way merge with majority-vote confidence.

Instructions

Phase 1: Claude Independent Analysis

Scan the codebase yourself using Grep/Glob/Read. For each scope:

  • deps: Check package.json deps against actual imports
  • unused-exports: Find exported symbols not imported elsewhere
  • hardcoded: Magic numbers, URLs, credentials
  • duplicates: Similar function logic across files
  • deadcode: Declared but never referenced

Save findings as JSON to a temp file.

Phase 2: Run codemoot cleanup

codemoot cleanup --scope SCOPE --host-findings /path/to/claude-findings.json

Phase 3: Present merged results

Show summary: total, high confidence, disputed, adjudicated, by source.

Phase 4: Rebuttal Round

For Claude/GPT disagreements, optionally debate via codemoot debate turn.

Install via CLI
npx skills add https://github.com/katarmal-ram/codemoot --skill cleanup
Repository Details
star Stars 74
call_split Forks 4
navigation Branch main
article Path SKILL.md
More from Creator
katarmal-ram
katarmal-ram Explore all skills →