Skip to main content

mac-maintenance

Mac upkeep: brew update/upgrade, pull clean repos, empty Trash.

Source facts

Repository
steipete/agent-scripts
Last source activity
May 23, 2026 at 08:13
Detected SKILL.md language
English
Stars
7,473
Forks
652

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
mac-maintenance
description
Mac upkeep: brew update/upgrade, pull clean repos, empty Trash.
# Mac Maintenance Use when Peter asks for Mac cleanup, maintenance, or package/repo refresh. ## Run 1. Homebrew: ```bash brew update && brew upgrade ``` 2. Repos under `~/Projects`: ```bash for repo in ~/Projects/*/.git; do dir=${repo:h} git -C "$dir" status --short --branch git -C "$dir" pull --ff-only done ``` Skip dirty repos unless Peter explicitly asked to handle them. Report skipped paths. 3. Empty Trash: ```bash osascript -e 'tell application "Finder" to empty trash' ``` 4. Finish with terse counts: - brew: upgraded / already current - repos: pulled / skipped / failed - trash: emptied / failed
View on GitHub