Skip to content
AI & Agents
Skill

/mac-maintenance

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

BOOST
From plugin
agent-scripts
7.1k54 skills
Install
$ npx -y skills add steipete/agent-scripts --skill mac-maintenance --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/mac-maintenance

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

mac-maintenance.SKILL.md
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:

brew update && brew upgrade

2. 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.

3. Empty Trash:

osascript -e 'tell application "Finder" to empty trash'

4. Finish with terse counts:

  • brew: upgraded / already current
  • repos: pulled / skipped / failed
  • trash: emptied / failed
Ships withagent-scripts

Shared agent instructions, skills, and small portable helpers for Peter's local workspaces.

Get the whole plugin
Stats
7,208
Stars
617
Forks
Active
Maintenance
Shell
Language
MIT
License
19h ago
Last commit
10mo ago
Created
3h ago
Added

Repo: steipete/agent-scripts

Other skills on agent-scripts.