deep-cleanlisted
Install: claude install-skill opencue/claude-code-skills
# Deep Clean — Full Configuration Consolidation for AI Coding Agents
> Dream cleans your memory. Deep Clean cleans **everything**.
Most dream/consolidation skills only touch memory files. Your context files, rules, and skills rot just as fast — stale file paths, rules for a stack you don't use, duplicated directives, vague instructions no agent can follow. Deep Clean fixes all of it.
Works with: Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, Windsurf, and any agent supporting the SKILL.md standard.
---
## What It Does
```
Phase 0: DETECT → Identify which agent is running, resolve paths
Phase 1: AUDIT → Scan everything, report problems
Phase 2: CONTEXT → Consolidate the main context file
Phase 3: RULES → Clean up rules directory
Phase 4: SKILLS → Audit installed skills
Phase 5: MEMORY → Standard dream consolidation
Phase 6: VERIFY → Validate all changes
```
---
## How to Run
Run `/deep-clean` manually, or say "run deep clean" in any session. First run always does a **dry run** (report only, no changes) unless you explicitly say "run deep clean and apply changes".
---
## Phase 0: DETECT AGENT
**Goal:** Identify which agent is running and set paths for the rest of the process.
### Agent detection
Check which directories exist to determine the active agent:
```bash
# Detect agent by directory presence
ls .claude/ 2>/dev/null && echo "AGENT: claude-code"
ls .cursor/ 2>/dev/null && echo "AGENT: cursor"
ls .gemini/ 2>/dev/n