Brew Audit
/install brew-audit
Homebrew Audit Skill
Quickly audit your Homebrew installation for outdated packages, cleanup opportunities, and health issues.
Usage
# Full audit (outdated + cleanup + doctor + summary)
bash scripts/brew-audit.sh
# Specific sections
bash scripts/brew-audit.sh --section outdated
bash scripts/brew-audit.sh --section cleanup
bash scripts/brew-audit.sh --section doctor
# JSON output (outdated only)
bash scripts/brew-audit.sh --json --section outdated
What It Checks
📦 Outdated Packages
Lists all formulae and casks with newer versions available, with current → available version info.
🧹 Cleanup Opportunities
Shows how many old versions/downloads can be removed and estimated disk savings. Run brew cleanup to reclaim.
🩺 Health Check
Runs brew doctor to detect:
- Formulae with no source (orphaned kegs)
- Deprecated/disabled packages needing replacement
- Permission issues, broken symlinks, config problems
📊 Summary
Total formulae, casks, and Homebrew prefix.
When to Use
- Periodic system maintenance (weekly/monthly)
- Before major upgrades
- When disk space is low
- After noticing build failures (doctor check)
Updating Packages
After reviewing the audit:
brew upgrade # upgrade all outdated
brew upgrade \x3Cformula> # upgrade specific package
brew cleanup # remove old versions
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install brew-audit - After installation, invoke the skill by name or use
/brew-audit - Provide required inputs per the skill's parameter spec and get structured output
What is Brew Audit?
Audit Homebrew installation — outdated packages, cleanup opportunities, and health checks. Use when asked about brew updates, system maintenance, or package... It is an AI Agent Skill for Claude Code / OpenClaw, with 722 downloads so far.
How do I install Brew Audit?
Run "/install brew-audit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Brew Audit free?
Yes, Brew Audit is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Brew Audit support?
Brew Audit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Brew Audit?
It is built and maintained by rogue-agent1 (@rogue-agent1); the current version is v1.0.0.