360 Secure SkillHub
360 安全技能中心

Mac Maintenance

面向 macOS 的终端优先维护 Skill:先做只读检查,覆盖磁盘占用与大文件、后台进程/启动代理与登录项、pmset 电源与睡眠唤醒行为、网络接口与 DNS,以及 OpenClaw 网关与通道健康;把发现分为可立即报告、可安全处理、需确认三类,改动前征求确认,最后给出精简维护总结与下一步建议。

benboby
benboby
热度 16.59
最近更新 2026-06-05 23:40:36
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本 / 报告撰写 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mac-maintenance
Metadata
name
mac-maintenance
description
Inspect and maintain a Mac through repeatable terminal-first checks for disk usage, large files, launch agents, login items, power settings, sleep/wake behavior, networking, and OpenClaw health. Use when asked to clean up a Mac, diagnose slowness, inspect storage, review background processes, verify power or sleep settings, or produce a practical maintenance checklist for macOS.

Mac Maintenance

Use terminal-first inspection. Prefer read-only checks before making changes. Summarize findings, then propose the smallest useful set of actions.

Workflow

  1. Clarify the scope if the request is broad: storage, performance, startup items, battery/power, networking, or OpenClaw health.
  2. Run non-destructive inspection first.
  3. Group findings into:
    • safe to report immediately
    • safe to fix automatically
    • risky changes that need confirmation
  4. If making changes, prefer reversible actions and explain impact briefly.
  5. End with a short maintenance summary and next steps.

Common checks

Storage and large files

  • Inspect free space.
  • Find unusually large files and folders.
  • Separate cache/log growth from user documents.
  • Suggest archival or cleanup before deleting anything.

Background activity

  • Inspect running processes, launch agents, and login items.
  • Look for obvious resource hogs, crash loops, or stale helpers.
  • Distinguish system services from third-party items.

Power and sleep

  • Inspect pmset settings, assertions, and recent sleep/wake logs.
  • Use this path when diagnosing lid-close disconnects, overnight idle behavior, or caffeinate/disablesleep experiments.

Networking

  • Check interface status, local IPs, DNS, and reachability.
  • For OpenClaw issues, also inspect openclaw status and relevant logs.

OpenClaw-specific maintenance

  • Run openclaw status when relevant.
  • Check gateway health, channel state, update availability, and obvious warnings.
  • Surface security warnings but do not change security-sensitive configuration without confirmation.

Change policy

Safe without extra confirmation:

  • inspection commands
  • generating reports
  • creating maintenance notes/scripts in the workspace

Ask before:

  • deleting files outside obvious disposable caches
  • changing startup items or launch agents
  • changing power management settings
  • installing or removing software
  • changing firewall, SSH, or security settings

Output pattern

When reporting results, use this structure:

  • What I checked
  • What I found
  • Recommended actions
  • What I can do next

Keep it practical. Avoid long generic Mac advice if the issue is specific.