macos-health-check
Check a Mac used as a work computer: memory pressure, CPU load, disk use, startup items, app leftovers, backup state. Read-only commands, cleanup only as…
от korbenzhang226 установок в других каталогах
Установить macos-health-check в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
macOS Health Check
Measure first, then propose, then act only after the owner approves. Every command in the
section "Measurements" below is read-only, needs no sudo, and stays out of privacy-protected
folders. Cleanup is always a proposal with benefit, risk and rollback (section "Cleanup proposals").
Everything this skill needs is in this one file.
Works in two modes:
- Shell on the Mac (a paired macOS node, or an agent running on the Mac): run the commands yourself, one block at a time.
- No shell on the Mac: give the owner the command block to paste into Terminal and read the pasted output. Never ask for screenshots of private windows; ask for command output instead.
This skill has no os filter on purpose, so an agent on a Linux gateway can use it in paste mode.
Boundaries
- Read-only measuring. No
sudo, notmutilwrites, nodefaults write, nolaunchctlload/unload/bootout, nokill, nomdutil -i/-E, nomemory_pressure -l(it simulates pressure instead of reading it). - Protected places stay closed. Do not list, size or search Desktop, Documents, Downloads,
iCloud Drive (
~/Library/Mobile Documents),~/Library/CloudStorage, the Photos library, Mail, Messages, Safari data, removable or network volumes, or other apps' containers (~/Library/Containers,~/Library/Group Containers). Reading them either fails silently, opens a macOS privacy dialog, or downloads cloud-only files. Do not useosascript/System Events,sfltool, orsecurity. When a number from such a place matters, ask the owner to read it in Finder or System Settings → General → Storage. - Never grant privacy permissions (Full Disk Access, Accessibility, Screen Recording, Automation) to the process that runs your commands, and never suggest it as a shortcut.
- Announce dialogs. If a step can open an admin or privacy dialog, say so before running it, prefer a variant without one, and let the owner decide.
- Delete only to the Trash. Use
trash <path>(/usr/bin/trash, built into current macOS) or Finder, neverrm,rm -rf,unlink,srm, or tools that empty the Trash. Check the path still exists before and is gone after ([ -e "<path>" ]). Iftrashfails, stop and ask. - Backup before larger cleanup. Before removing anything beyond caches, confirm a recent backup (Time Machine or the owner's own) exists; if unknown, ask the owner first.
- No secrets. Do not read the keychain, password stores, tokens, browser profiles or private files. Leave out user names, host names and serial numbers when quoting output.
- No OS upgrade or firmware change. Report available updates; never start them.
- No scratch files by default. The measurement blocks write nothing to disk. If a step really
needs a scratch file, create it only with
mktemp(never a fixed, predictable name), tell the owner its path in the report, and propose moving it to the Trash when done. - Extensions stay untouched. Never remove or disable system or network extensions (VPN, firewall, antivirus, endpoint security, content filters) and never give removal steps; report them and leave the decision to the owner.
- Approval is per step. An approval covers exactly the item and command shown; if the item, path, or command changes, ask again. Measurement output with personal data (file or account names) stays with the owner and goes nowhere else without their explicit consent.
- Leave other tools alone. Do not remove the agent runtime, package managers, their taps or launch agents, or developer checkouts without the owner naming them explicitly.
Workflow
- Intake. Ask what feels wrong (slow, full disk, fan, battery, beach balls), since when, and what changed (new app, update, uninstall). Note macOS version and RAM from section 1.
- Measure. Run the blocks of section "Measurements" that fit the complaint; for a general check run all. Record each value with date, time and the exact command. Old measurements are not evidence for today: measure again.
- Interpret. Name what a number counts (Chrome renderer processes are not tabs; compressed memory is not swap). Separate measured facts from guesses.
- Propose. Build a numbered list of actions, each with benefit (expected effect, measured size), risk, rollback, and whether a dialog or admin password is needed (section "Cleanup proposals"). Biggest effect first.
- Approval. Wait for the owner's explicit choice per action. No approval, no change.
- Act. One action at a time, with
trashfor anything removed. Stop at the first surprise. - Measure again. Repeat the measurement that motivated the action and show before/after.
- Log. Keep a short log: date, action, command, before/after, rollback. Keep open findings in a list so nothing is lost.
Done when
- Every value in the report names its command and tim
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл macos-health-check?
Check a Mac used as a work computer: memory pressure, CPU load, disk use, startup items, app leftovers, backup state. Read-only commands, cleanup only as proposals with a rollback, deletes only to the Trash.
Как установить скилл macos-health-check?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл macos-health-check запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…