Skip to content
Back to skills

Brew Audit

ASecurity

Audit Homebrew installation — outdated packages, cleanup opportunities, and health checks. Use when asked about brew updates, system maintenance, or package health on macOS.

  • 16 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 7, 2026
databash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 7, 2026

npx -y skills add modbender/skill-library-mcp --skill brew-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Brew Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Brew Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-brew-audit/badge)](https://www.skillsdirectory.com/skills/modbender-brew-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: brew-audit
version: 1.0.0
description: Audit Homebrew installation — outdated packages, cleanup opportunities, and health checks. Use when asked about brew updates, system maintenance, or package health on macOS.
metadata: {"clawdbot":{"emoji":"🍺","homepage":"https://brew.sh","requires":{"bins":["brew"],"os":["darwin"]}}}
---

# 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
```

Files in this skill

  • SKILL.md1.8 KB
  • scripts/brew-audit.sh2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.