manaflow-ai

Cleanup Builds — Development skill for Claude Code

Development community

Cleanup Dev Builds.

How to install Cleanup Builds

Installs to ~/.claude/commands/manaflow-ai-cmux-cleanup-builds.md

Terminal
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

  1. **Preview first.**

    ./scripts/cleanup-dev-builds.sh

    Shows what would be deleted, what is skipped, and total reclaimable bytes. Dry-run by default; nothing is deleted yet.

  2. **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 Repository