Community研究與資料分析github.com

steipete/mac-maintenance

Mac 系統維護:執行 brew update/upgrade、拉取乾淨的儲存庫、清空垃圾桶。

mac-maintenance 是什麼?

這是一個 Mac 維護技能,用於執行常見的系統清理與更新任務。當 Peter 要求進行 Mac 清理、維護或套件/儲存庫刷新時,此技能會自動執行 Homebrew 更新與升級、在 ~/Projects 目錄下拉取所有 Git 儲存庫(僅針對無未提交變更的乾淨儲存庫,以免造成衝突),並清空垃圾桶。它支援所有搭載 Homebrew 與 macOS 的 Mac 系統,步驟清晰且會報告結果(如 brew 已升級或已是最新、儲存庫已拉取或跳過、垃圾桶已清空或失敗),方便使用者快速掌握執行狀態。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/steipete/agent-scripts/tree/main/skills/mac-maintenance

Installed? Explore more 研究與資料分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Mac 維護

當 Peter 要求進行 Mac 清理、維護或套件/儲存庫刷新時使用。

執行

  1. Homebrew:
brew update && brew upgrade
  1. 位於 ~/Projects 下的儲存庫:
for repo in ~/Projects/*/.git; do
  dir=${repo:h}
  git -C "$dir" status --short --branch
  git -C "$dir" pull --ff-only
done

跳過有未提交變更的儲存庫,除非 Peter 明確要求處理它們。報告跳過的路徑。

  1. 清空垃圾桶:
osascript -e 'tell application "Finder" to empty trash'
  1. 以簡潔計數結束:
  • brew:已升級 / 已是最新
  • 儲存庫:已拉取 / 已跳過 / 失敗
  • 垃圾桶:已清空 / 失敗

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

steipete/agent-transcript

GitHub PR/issue agent transcripts: redact, preview, and insert safely.

steipete/beeper

Beeper cache: contact hints, room lookup, WhatsApp/iMessage traces, FTS.

steipete/browser-use

Existing Chrome automation: Chrome plugin first, mcporter fallback.

steipete/clawsweeper-status

ClawSweeper status: URLs, workflow health, active workers, ops snapshot.

steipete/clickclack

ClickClack ops: chat app, Hetzner deploy, DNS/docs/app, Docker rollout.

steipete/cloudflare-registrar

Cloudflare Registrar: domain availability, prices, registration via mcporter.

steipete/codex-debugging

Codex debugging: codex-rs core/tui/exec/cli/app-server/config.

steipete/create-cli

CLI UX/spec: args, flags, help, output, errors, config, dry-run.

steipete/discord-clawd

Discord-backed OpenClaw agent/session relay; not archive search.

steipete/domain-dns-ops

DNS/domain ops: registrars, zones, redirects, DNS/HTTP verify, manager truth.

steipete/frontend-design

Frontend UI: pages, apps, components, polished non-generic design.

steipete/github-author-context

GitHub contributor context: identity, activity, trust, company/team signal.

steipete/github-cache-hygiene

GitHub quota/cache hygiene: gh, ghx, xcache, gitcrawl, mirrors, limits.

steipete/github-deep-review

GitHub deep review: bugs, PRs, best fix, stale-or-real, read code first.

steipete/github-project-triage

GitHub issue/PR triage: queues, CI, blockers, risk, proof, next actions.

steipete/hopper-debugger

Hopper debugging: macOS/iOS binaries, ObjC/Swift symbols, dyld, LLDB.

steipete/instruments-profiling

Instruments/xctrace profiling: macOS/iOS traces, binaries, args, exports.

steipete/maintainer-orchestrator

Open-source maintainer orchestration: Codex app workers, work recovery, dependencies, vision, releases.

steipete/markdown-converter

Markdown conversion: PDF, Office, HTML, data, OCR, audio, ZIP, YouTube.

steipete/nano-banana-pro

Nano Banana/Gemini image gen/edit: text/image input, 512-4K workflows.

相關技能