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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install brew-audit - 安装完成后,直接呼叫该 Skill 的名称或使用
/brew-audit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Brew Audit 是什么?
Audit Homebrew installation — outdated packages, cleanup opportunities, and health checks. Use when asked about brew updates, system maintenance, or package... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 722 次。
如何安装 Brew Audit?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install brew-audit」即可一键安装,无需额外配置。
Brew Audit 是免费的吗?
是的,Brew Audit 完全免费(开源免费),可自由下载、安装和使用。
Brew Audit 支持哪些平台?
Brew Audit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Brew Audit?
由 rogue-agent1(@rogue-agent1)开发并维护,当前版本 v1.0.0。