From boochtek
Update Homebrew and all installed packages, with a summary of changes
How this command is triggered — by the user, by Claude, or both
Slash command
/boochtek:brew-updateThe summary Claude sees in its command listing — used to decide when to auto-load this command
Update Homebrew and all installed packages. Provide a summary of what was updated. ## Steps 1. **Check for concurrent brew processes.** Before anything else, check for stale lock files: - If `.incomplete` files exist, check whether a `brew upgrade` process is actually running (`pgrep -f 'brew upgrade'`). - If a process IS running: **abort** and tell the user another upgrade is in progress. - If NO process is running: the locks are stale. Clean them up with `find ~/Library/Caches/Homebrew/downloads/ -name "*.incomplete" -delete` and continue. 2. Run `brew update` to update Ho...
Update Homebrew and all installed packages. Provide a summary of what was updated.
Check for concurrent brew processes. Before anything else, check for stale lock files:
find ~/Library/Caches/Homebrew/downloads/ -name "*.incomplete"
.incomplete files exist, check whether a brew upgrade process is actually running (pgrep -f 'brew upgrade').find ~/Library/Caches/Homebrew/downloads/ -name "*.incomplete" -delete and continue.Run brew update to update Homebrew itself and fetch the latest formulae/cask definitions.
Run brew outdated --verbose to capture the list of outdated packages BEFORE upgrading. Save this list — you'll need it for the summary.
Before running brew upgrade, warn the user:
HEADS UP: The upgrade may trigger a Touch ID or sudo password prompt. Some cask upgrades require elevated privileges.
Run brew upgrade to upgrade all outdated formulae and casks. Use a 10-minute timeout.
Run brew cleanup to remove old versions.
Run brew services list and check if any upgraded packages have running services that should be restarted. Use brew services restart <service> as needed.
Produce a summary:
Report any errors or warnings from the upgrade process.
npx claudepluginhub boochtek/ai-skills --plugin boochtek