Brew update
A portable, shareable collection of AI agent skills — structured instruction packs that teach coding agents how to perform specific tasks consistently.
npx -y skills add ebal/AI-Skills --skill brew-updateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- 22 days oldThe repository was created 22 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Run Homebrew update, upgrade, and cleanup. Use when the user says "brew update", "homebrew update", "update homebrew", "brew upgrade", "brew cleanup", or "update packages".
SKILL.md
1.8 KB, as published. Nobody here has run it
Brew Update
Runs a full Homebrew maintenance cycle: update, upgrade outdated packages, and cleanup old caches.
Locating the script
Commands below use ${SKILL_DIR} for the folder that contains this skill. Set it to wherever the skill is installed, for example:
SKILL_DIR="$HOME/.claude/skills/brew-update" # Claude Code
# SKILL_DIR="$HOME/.config/opencode/skills/brew-update" # OpenCode / OpenWork
# On Claude Code you can also reuse the injected variable: SKILL_DIR="$CLAUDE_SKILL_DIR"
Quick Start
Run the helper script:
bash "${SKILL_DIR}/brew-update.sh"
What It Does
- Update — Runs
brew updateto fetch the latest formulae - Upgrade — Upgrades all outdated packages (skipped if
--no-upgradeflag is passed) - Cleanup — Removes old versions, downloads, and caches
- Report — Prints a summary of what changed
Options
| Flag | Effect |
|---|---|
--no-upgrade | Only update and cleanup, skip upgrades |
--dry-run | Show what would be upgraded without doing it |
--quiet | Suppress verbose output |
Example:
bash "${SKILL_DIR}/brew-update.sh" --dry-run
Notes
- The script locates the
brewbinary viacommand -v brew, so it works with both/opt/homebrew(Apple Silicon),/usr/local(Intel), and customHOMEBREW_PREFIXinstalls. Ifbrewis not onPATH, setBREWbefore running:BREW=/path/to/brew bash "${SKILL_DIR}/brew-update.sh" - Logs are written to a
logs/directory next to the script - If a formula's post-install step fails (e.g.
fontconfig), suggest runningbrew postinstall <formula>