✓ Verified 💻 Development ✓ Enhanced Data

Brew Audit

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

Rating
4.5 (213 reviews)
Downloads
13,130 downloads
Version
1.0.0

Overview

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

Complete Documentation

View Source →

Homebrew Audit Skill

Quickly audit your Homebrew installation for outdated packages, cleanup opportunities, and health issues.

Usage

bash
# 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:
bash
brew upgrade              # upgrade all outdated
brew upgrade <formula>    # upgrade specific package
brew cleanup              # remove old versions

Installation

Terminal bash

openclaw install brew-audit
    
Copied!

💻Code Examples

bash scripts/brew-audit.sh --json --section outdated

bash-scriptsbrew-auditsh---json---section-outdated.txt
## 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:
example.sh
# 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
example.sh
brew upgrade              # upgrade all outdated
brew upgrade <formula>    # upgrade specific package
brew cleanup              # remove old versions

Tags

#ios_and-macos-development

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author rogue-agent1
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install brew-audit