Mac optimizer
Skill ChuluuMGL/mac-optimizer
Use when a user wants to diagnose or safely optimize macOS storage, caches, startup items, logs, developer-tool residue, or routine Mac maintenance with risk-aware recommendations.From its SKILL.md
npx -y skills add ChuluuMGL/mac-optimizerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 7 commands, including `bash ./01-检查脚本/full-check.sh` and 6 more.
SKILL.md
3.8 KB, 972 tokens by cl100k_base, as published. Nobody here has run it
Mac Optimizer
Created and maintained by Chuluu.
Overview
Mac Optimizer 是一个诊断报告优先的 macOS 维护 Skill。核心原则是:先只读诊断,再输出可选优化建议;低/中风险动作必须先预览,高风险动作只提示,不自动执行。
When to Use
Use this skill when the user asks to:
- 检查 Mac 是否还有优化空间。
- 清理缓存、日志、下载目录旧文件、废纸篓或开发工具缓存。
- 生成 Mac 健康诊断报告。
- 按风险等级给出优化建议。
- 做日常或月度 Mac 维护。
- 判断某个优化动作是否安全。
Operating Rules
| Rule | Required behavior |
|---|---|
| 诊断报告优先 | Always run or request bash ./01-检查脚本/full-check.sh before cleanup. |
| 建议可选 | Treat recommendations as options, not commands. |
| Dry-run first | Use --dry-run before any cleanup unless the user explicitly confirms after seeing the plan. |
| 高风险只提示 | Never include high-risk actions in quick or one-click automatic flows. |
| 明确确认 | Ask before deleting files, changing settings, or running admin actions. |
| 保守默认 | Prefer --safe when the user wants minimal risk. |
| 隐私保护 | Do not expose private file contents, secrets, or personal paths beyond what is needed for the report summary. |
Workflow
- Clarify scope: routine check, storage pressure, slow startup, developer cache, or monthly maintenance.
- Run diagnostics:
bash ./01-检查脚本/full-check.sh. - Summarize the report: health score, free space, main pressure points, and low/medium/high risk suggestions.
- Offer optional next steps. Keep high-risk items as manual warnings.
- Preview safe maintenance:
bash ./04-自动化脚本/one-click-optimization.sh --dry-run. - Execute only after confirmation. Use
--safefor conservative mode. - Verify with
bash ./04-自动化脚本/verify.shor a fresh diagnostic report.
Risk Model
| Risk | Examples | Automation policy |
|---|---|---|
| Low | Browser cache, old logs, package-manager caches, DNS refresh | Can be previewed and optionally executed. |
| Medium | Trash cleanup, old downloads, Dock/animation preference changes | Requires clear confirmation and rollback notes when relevant. |
| High | Time Machine snapshots, Docker volumes, simulator data, system services, power policy | Report and explain only; do not auto-run. |
See references/risk-model.md, references/report-review-checklist.md, and references/safety-policy.md before expanding cleanup behavior.
Commands
bash ./01-检查脚本/full-check.sh
bash ./04-自动化脚本/one-click-optimization.sh --dry-run
bash ./04-自动化脚本/one-click-optimization.sh --safe
bash ./04-自动化脚本/quick-optimization.sh --dry-run
bash ./04-自动化脚本/rollback.sh
bash ./04-自动化脚本/verify.sh
bash ./05-维护计划/monthly.sh --dry-run
Common Mistakes
| Mistake | Correction |
|---|---|
| Running cleanup before diagnostics | Stop and generate the diagnostic report first. |
| Treating all report suggestions as mandatory | Present them as optional recommendations. |
| Bundling high-risk cleanup into one-click mode | Keep it out of automatic flows. |
| Skipping dry-run because the action sounds safe | Preview first unless the user has already confirmed. |
Final Handoff
When responding to the user, report:
- Where the diagnostic report was generated.
- The key low/medium/high risk findings.
- Which actions were previewed or executed.
- What was intentionally skipped as high risk.
- Any manual review items the user should decide on.
What ships with it: 43 files
145.6 KB alongside SKILL.md, 16 of them executable
00-系统概览/
- Index.md945 B
- Quick-Start.md981 B
- README.md1.1 KB
01-检查脚本/
- full-check.shruns11.0 KB
03-优化方案/
- ai-tools-cleanup.shruns10.8 KB
- deep-storage-cleanup.shruns12.8 KB
- power-optimization.shruns8.1 KB
- startup-manager.shruns7.7 KB
- system-services-optimization.shruns6.3 KB
04-自动化脚本/
- one-click-optimization.shruns4.1 KB
- quick-optimization.shruns3.4 KB
- rollback.shruns2.0 KB
- verify.shruns1.4 KB
05-维护计划/
- monthly.shruns1.9 KB
agents/
- openai.yaml576 B
examples/
lib/
- common.shruns10.6 KB
references/
- diagnostic-report-contract.md1.0 KB
- distribution.md2.0 KB
- release-guide.md834 B
- report-review-checklist.md1.4 KB
- risk-model.md1.2 KB
- safety-policy.md1.0 KB
scripts/
- check_release_ready.pyruns3.1 KB
- install.shruns3.1 KB
- package_runtime_skill.pyruns2.2 KB
- CHANGELOG.md2.5 KB
- .gitignore41 B
- Index.md1.3 KB
- INSTALL.md1.1 KB
- LICENSE1.0 KB
- Mac优化系统-快速开始.md962 B
- NOTICE556 B
- Obsidian-Integration-Guide.md1.0 KB
- package.json943 B
- README.md6.2 KB
- README.zh-CN.md5.7 KB
3 more files not listed here. See all 43 in the repository.