LaunchKit · 2026
Back to Skills

brew-audit

Audit Homebrew installation — outdated packages, cleanup opportunities, and health checks.

0
474 downloads
by @rogue-agent1

Setup & Installation

openclaw skills install @rogue-agent1/brew-audit

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install brew-audit

What This Skill Does

Audits a Homebrew installation on macOS for outdated packages, unused downloads, and configuration issues. Runs a single script combining brew outdated, cleanup dry-run, and brew doctor checks. Outputs a summary of total formulae and cask counts.

Combines outdated listing, cleanup estimates, and brew doctor diagnostics into one command instead of running three separate brew commands and interpreting their output manually.

When to use it

  • Finding which packages need updates before a macOS upgrade
  • Estimating disk space recoverable from old Homebrew downloads
  • Diagnosing broken symlinks or permission errors after a system update
  • Checking cask versions after returning to a development machine
  • Running a monthly maintenance check on installed formulae and casks

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Are any of my Homebrew packages outdated, and how much disk space can I free up?

AGENT
  1. 1Runs brew-audit.sh to collect outdated formulae and casks with current and available version info
  2. 2Checks cleanup opportunities and calculates estimated reclaimable disk space
  3. 3Runs brew doctor to surface permission issues, broken symlinks, or orphaned kegs
  4. 4Compiles a summary with total formulae count, cask count, and Homebrew prefix
OUTPUT

A structured report listing outdated packages, estimated reclaimable disk space, and any health warnings from brew doctor

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Homebrew installed on macOS