Massu Cleanup — Development skill for Claude Code
Dead code removal — unused imports, orphaned files, dead exports, and stale references.
How to install Massu Cleanup
Installs to ~/.claude/commands/massu-ai-massu-massu-cleanup.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/massu-ai/massu/HEAD/.claude/commands/massu-cleanup.md -o ~/.claude/commands/massu-ai-massu-massu-cleanup.md Restart Claude Code, or start a new session, for it to be picked up.
What Massu Cleanup does
name: massu-cleanup description: Dead code removal — unused imports, orphaned files, dead exports, and stale references allowed-tools: Bash(*), Read(*), Write(*), Edit(*), Grep(*), Glob(*)
name: massu-cleanup
**Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding. CR-9, CR-35 enforced.
CS Cleanup: Dead Code Removal
Objective
Identify and remove dead code across the codebase: unused imports, orphaned files, dead exports, and stale references. Chan
Alternatives in Development
- Claude API — Build apps with the Claude API or Anthropic SDK 94.1k ★
- Mempalace Mine — Mine projects and conversations into the MemPalace 58.6k ★
- Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Remove Deadcode
Find and remove dead code — unused exports, unreachable functions, orphaned files, and stale feature flags. Fi
Massu Dead Code
When user asks about unused code, says 'find dead code', 'clean up unused', or wants to reduce codebase size b
Dead Crusade
Unleash parallel Dead Code Purist agents to find and eliminate unused exports, orphaned files, commented-out b
Dead Code Sweep
Find unreachable code, unused exports, and orphaned files across the project
05 Cleanup
Safe dead code cleanup - detect and remove unused imports and dead files with auto-apply for Low/Medium risk
Hcloud Cleanup
Find and clean up unused or orphaned Hetzner Cloud resources
Related Agents
Dead Code Auditor
Internal dynos-work agent. Detects unused imports, dead exports, unreferenced files, dead functions, and orpha
Deadcode Reaper
Use this agent to clean up after code changes — removing the imports, helpers, exports, and files that THIS se
Dead Code Purist
The grim reaper of unused code. Use this agent to find and eliminate dead code, unreachable branches, unused e