Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /genie:cleanup still runs it.
Debt reduction workflow: diagnose → tidy (batched).
scope - Area to clean: module, directory, or "full" (optional, defaults to full)--continue - Continue from previous cleanup session--priority [high/medium/low] - Focus on specific priority items/cleanup src/services
│
├─→ /diagnose src/services
│ └─→ Architect scans for issues
│ └─→ Produces prioritized cleanup list
│
└─→ /tidy [diagnose-report]
└─→ Tidier executes batches
└─→ Tests after each batch
└─→ Progress tracked
Cleanup maintains state in docs/cleanup/defrag-progress.md:
# Defrag Progress
## Current Cleanup: services
- **Started:** 2024-12-03
- **Status:** In Progress
- **Batches:** 3/7 complete
## Completed
- [x] Dead code removal - 2024-12-03
- [x] Import cleanup - 2024-12-03
- [x] Naming consistency - 2024-12-03
## Remaining
- [ ] Dependency updates
- [ ] Test coverage gaps
- [ ] Documentation
## Blocked
- [ ] Config refactor - needs Architect input
/cleanup
> Starting cleanup workflow (full codebase)
>
> [Architect diagnosing...]
> Health score: 72/100
> Issues found: 15
> Priority breakdown:
> - High: 2 items
> - Medium: 8 items
> - Low: 5 items
>
> Proceeding to tidy...
>
> [Tidier executing...]
> Batch 1: Complete (tests pass)
> Batch 2: Complete (tests pass)
> Progress: 2/6 batches
>
> Session saved. Continue with /cleanup --continue
/cleanup --continue
> Resuming cleanup workflow
> Progress: 2/6 batches complete
> Continuing with Batch 3...
Cleanup can span multiple sessions:
--continue to resume--continueWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
31 commands in this plugin
/arch/arch [shaped-contract] --workshopActivate Architect genie for interactive architecture workshops — approach comparison, technical decisions, interface design, and risk prioritization./arch-init/arch:initActivate Architect genie to bootstrap architecture artifacts (ADR-000 and C4 diagrams) for an existing project./brand/brand [input]Activate Designer genie to create, evolve, or activate a brand guide via an interactive design workshop.npx claudepluginhub elmmly/genie-team --plugin genieOther plugins' commands for the same job