isdou

WorktreeCleaner — AI skill for Claude Code

AI community

Native macOS Liquid Glass Git worktree inspector & safe cleaner for AI coding agents + Antigravity MCP App plugin.

How to install WorktreeCleaner

This entry records only its repository, not the path inside it, so there is no exact command to give. Open isdou/WorktreeCleaner and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What WorktreeCleaner does

Native macOS Liquid Glass Git worktree inspector & safe cleaner for AI coding agents + Antigravity MCP App plugin.

Alternatives in AI

  • Vibeproxy — Native macOS menu bar app to use your Claude Code & ChatGPT subscriptions with AI coding tools - no API keys n 3.3k ★
  • Claude Usage Tracker — Native macOS menu bar app for tracking Claude AI usage limits in real-time 2.2k ★
  • macOS App Skills — AI coding agent skills for building, shipping, and maintaining native macOS apps 657 ★

README

Worktree Cleaner

**A native macOS Liquid Glass inspector & safe cleaner for Git worktrees left behind by AI coding agents.**

*See what each worktree actually built, commit & push unfinished changes in one click, slim down `node_modules`, and move stale directories to Trash — without risking lost work.*

Release macOS 14+ Swift 6 MCP App MIT License

[简体中文](README_ZH.md) · [Download Release](https://github.com/isdou/WorktreeCleaner/releases) · [Report Bug](https://github.com/isdou/WorktreeCleaner/issues/new/choose) · [Discussions](https://github.com/isdou/WorktreeCleaner/discussions)


Why Worktree Cleaner?

AI coding agents (**Codex**, **Claude Code**, **Cursor**, **Trae**) spin up isolated Git worktrees under hidden directories like `~/.codex/worktrees` or `.claude/worktrees`. After a few days of parallel coding:

  • Dozens of mystery branches pile up and silently eat 10–50+ GB of SSD space.
  • git worktree list misses orphaned leftover folders whose .git metadata or main repo is gone.
  • You hesitate to run git worktree remove because you forgot what that worktree actually built, whether it holds uncommitted .env / code changes, or if a dev server or agent is still running inside it.

**Worktree Cleaner** turns cleanup into a calm, native macOS workflow: **Recall Context → Inspect Risk