Cleanup Builds — Development skill for Claude Code
Cleanup Dev Builds.
How to install Cleanup Builds
Installs to ~/.claude/commands/manaflow-ai-cmux-cleanup-builds.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/manaflow-ai/cmux/HEAD/.claude/commands/cleanup-builds.md -o ~/.claude/commands/manaflow-ai-cmux-cleanup-builds.md Restart Claude Code, or start a new session, for it to be picked up.
What Cleanup Builds does
Cleanup Dev Builds
Reclaim disk space taken by tagged dev artifacts produced by `./scripts/reload.sh --tag `. Each tagged build is multi-GB of DerivedData plus per-tag sockets and logs.
Steps
**Preview first.**
./scripts/cleanup-dev-builds.shShows what would be deleted, what is skipped, and total reclaimable bytes. Dry-run by default; nothing is deleted yet.
**Read the preview to the user.** Confirm the active tag and any tag they care about appears
Alternatives in Development
- Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
- System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
- Feature Dev — Comprehensive feature development with specialized agents 14k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Worktree Cleanup
Remove worktrees and branches that have been merged: $ARGUMENTS
Git Cleanup
Trail of Bits security skill for git cleanup
Defensive Code Cleanup
Clean Defensive Try-Catch Blocks
Repo Cleanup
Hitta verkligt dödkött i repot och föreslå borttagning med bevis. Fas 1 rapporterar bara — radering kräver god
Cleanup Health Check
Execute the cleanup-health-inline skill for inline orchestration. You ARE the orchestrator. Do not spawn a sep
Grok Files
List, prune, or gc Grok (xAI) uploaded files. Cleanup for bridge-owned uploads only.
Related Agents
QA Comments Cleanup
QA subagent for comments cleanup. Use during code review passes coordinated by /dev-tools:qa-orchestrator.
Kernel Completeness Critic
Specialist critic for linux-kernel-dev answers · scores ONLY completeness — error handling, cleanup paths, the
Flow Git
Use this agent for git operations — atomic commits, rebase, history cleanup, and style detection. Flow detects