Mac Maintenance

SkillAI & models

Lets your agent update Mac packages, pull clean git repos, and empty the Trash.

Then ask your AI: use the Mac Maintenance skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.

About this skill

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

What this skill tells your AI

The instructions your AI receives, as published by steipete/agent-scripts in skills/mac-maintenance/SKILL.md and read by Ahel’s review.

Use when Peter asks for Mac cleanup, maintenance, or package/repo refresh.

Run

  1. Homebrew:
brew update && brew upgrade
  1. Repos under ~/Projects:
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.

  1. Empty Trash:
osascript -e 'tell application "Finder" to empty trash'
  1. Finish with terse counts:
  • brew: upgraded / already current
  • repos: pulled / skipped / failed
  • trash: emptied / failed

Signals

GitHub stars
7k
Forks
635
Last commit
Oct 2026
Advanced
Item type
skill
Key
mac-maintenance
Source
github.com/steipete/agent-scripts