跳到正文
TakoAPI
返回技能列表

brew-audit

由 rogue-agent1 提供

iOS & macOS Development
474下载量由 clawskills.sh 提供
5浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  1. 1

    Runs brew-audit.sh to collect outdated formulae and casks with current and available version info

  2. 2

    Checks cleanup opportunities and calculates estimated reclaimable disk space

  3. 3

    Runs brew doctor to surface permission issues, broken symlinks, or orphaned kegs

  4. 4

    Compiles a summary with total formulae count, cask count, and Homebrew prefix

输出

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

前置要求

  • Homebrew installed on macOS

安装

clawhub install rogue-agent1/brew-audit

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接