All projects

Mole

Mole is an open-source CLI that bundles deep cleanup, smart uninstall, disk analysis, and live system monitoring for macOS into a single Go binary.

Category
Developer Tool
Availability
Open source
Role
Fork Maintainer
Year
2026

Context

On this page

Product focus#

Mole is a macOS maintenance toolkit distributed as a single Go binary. It folds the everyday utilities of CleanMyMac, AppCleaner, DaisyDisk, and iStat Menus into one CLI, with safety-first defaults and a strong dry-run story.

What it does#

  • Deep cleanup: removes caches, logs, browser leftovers, and orphaned app data.
  • Smart uninstall: strips launch agents, preferences, and hidden remnants on top of the app bundle.
  • Disk insights: visualizes usage and surfaces large files.
  • Live monitoring: real-time CPU, GPU, memory, disk, and network stats.
  • Docker hygiene: prunes containers, images, and build cache while leaving volumes untouched.
  • AI agents cleanup: rotates session transcripts and sandbox VMs for Claude Code/Desktop, Codex CLI, and Cursor without losing auth, memories, or installed skills.

Engineering approach#

Written in Go, with Bubble Tea for the interactive TUI, lipgloss for styling, and gopsutil for system metrics. Safety-first defaults: path validation, protected-directory rules, explicit confirmation on destructive actions, signed releases with SHA256 verification.

My role#

I maintain a personal fork of the upstream project (tw93/Mole), focused on the cleanup flows I rely on day to day across multiple AI coding agents.

Skills

  • Go
  • Bubble Tea
  • lipgloss
  • gopsutil
  • CLI
  • macOS

Interested in something similar?

Next project: agentic-swe