Command Palette

Search for a command to run...

Назад к скиллам
скилл № 87358

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…

БесплатноБез исполняемых скриптов
korbenzhangот 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

  1. Read-only measuring. No sudo, no tmutil writes, no defaults write, no launchctl load/unload/bootout, no kill, no mdutil -i/-E, no memory_pressure -l (it simulates pressure instead of reading it).
  2. 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 use osascript/System Events, sfltool, or security. When a number from such a place matters, ask the owner to read it in Finder or System Settings → General → Storage.
  3. 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.
  4. 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.
  5. Delete only to the Trash. Use trash <path> (/usr/bin/trash, built into current macOS) or Finder, never rm, rm -rf, unlink, srm, or tools that empty the Trash. Check the path still exists before and is gone after ([ -e "<path>" ]). If trash fails, stop and ask.
  6. 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.
  7. 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.
  8. No OS upgrade or firmware change. Report available updates; never start them.
  9. 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.
  10. 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.
  11. 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.
  12. 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

  1. 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.
  2. 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.
  3. Interpret. Name what a number counts (Chrome renderer processes are not tabs; compressed memory is not swap). Separate measured facts from guesses.
  4. 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.
  5. Approval. Wait for the owner's explicit choice per action. No approval, no change.
  6. Act. One action at a time, with trash for anything removed. Stop at the first surprise.
  7. Measure again. Repeat the measurement that motivated the action and show before/after.
  8. 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
Полный SKILL.md на ClawHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить macos-health-check с