← 返回 Skills 市场
dongsheng123132

Mac AI Optimizer

作者 dongsheng123132 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
410
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install mac-ai-optimizer
功能描述
Optimize macOS for AI workloads (OpenClaw, Docker, Ollama). Turn an 8GB Mac into a lean AI server node with near-16GB performance by disabling background ser...
使用说明 (SKILL.md)

Mac AI Optimizer

Optimize macOS for AI workloads (OpenClaw, Docker, Ollama). Turn an 8GB Mac into a lean AI server node with near-16GB performance for Agent tasks.

Tools

optimize_memory

Reduce macOS idle memory from ~6GB to ~2.5GB by disabling Spotlight indexing, Siri, photo analysis, and other background services.

Usage: "Optimize this Mac's memory for AI workloads"

reduce_ui

Lower GPU and RAM usage by disabling animations, transparency, and Dock effects.

Usage: "Reduce UI overhead on this Mac"

docker_optimize

Configure Docker Desktop resource limits to prevent it from consuming all available memory. Sets CPU, RAM, and swap to balanced values.

Usage: "Optimize Docker for this Mac"

enable_ssh

Enable remote login (SSH) so this Mac can be managed remotely as an AI compute node.

Usage: "Enable SSH on this Mac"

system_report

Show current memory, CPU, swap usage, and running service count. Helps decide what to optimize.

Usage: "Show system resource report"

full_optimize

Run all optimizations in sequence: system report -> memory -> UI -> Docker -> SSH. One command to turn a Mac into an AI server node.

Usage: "Full optimize this Mac for OpenClaw"

Trigger

When the user asks to optimize Mac for AI, reduce memory usage, set up Mac as AI server, improve OpenClaw performance, or run AI workloads on low-memory Mac.

Example prompts

  • "Optimize this Mac for running OpenClaw"
  • "My Mac only has 8GB RAM, make it run AI better"
  • "Turn this Mac mini into an AI server"
  • "Reduce memory usage so Docker runs better"
  • "Set up this Mac as a remote AI node"
安全使用建议
This plugin appears coherent with its stated purpose, but it makes system-level changes. Before running: (1) Review the bundled scripts yourself (they are included) to confirm you accept each change. (2) Understand admin requirement: several steps use sudo (mdutil, purge, systemsetup) and will either fail without a password or require you to grant privileges. (3) Enabling SSH opens remote access—only enable it if you trust the network and plan to secure accounts (strong passwords / SSH keys, firewall). (4) Test incrementally: run system_report.sh, then individual optimizations (optimize_memory.sh, reduce_ui.sh, docker_optimize.sh) rather than full_optimize.sh on first use. (5) Keep the revert_all.sh command handy to restore defaults. If you are uncertain about granting an agent the ability to run these tools autonomously, require explicit user confirmation before executing any optimization (especially enable_ssh).
功能分析
Type: OpenClaw Skill Name: mac-ai-optimizer Version: 1.0.0 The bundle performs high-risk system modifications to optimize macOS, including enabling remote SSH access (enable_ssh.sh), disabling system-wide services like Spotlight indexing and Siri (optimize_memory.sh), and killing various background daemons. While these actions are consistent with the stated goal of resource optimization for AI workloads, they significantly alter the system's security posture and require elevated privileges (sudo). No evidence of intentional malice, data exfiltration, or hidden backdoors was found, but the capabilities provided are inherently risky.
能力评估
Purpose & Capability
The plugin's name/description match the implemented behavior: shell scripts disable background services, tweak UI defaults, advise/configure Docker limits, and enable SSH. All requested actions are coherent with optimizing a Mac for AI workloads.
Instruction Scope
SKILL.md and the scripts instruct the agent to run local shell scripts that change system settings and stop processes. These actions are within the declared purpose, but they are system-level changes (Spotlight, Siri, iCloud daemons, purge, defaults writes, systemsetup for SSH). The scripts only read and display local network addresses and system info; they do not transmit data externally.
Install Mechanism
There is no remote install/download. This is an instruction-only skill with bundled local shell scripts and a small JS wrapper that executes them. No external URLs or package installs are used.
Credentials
The skill requires no environment variables, credentials, or config paths. The system modifications it performs are justified by the stated goals (reducing background services, enabling SSH, Docker cleanup).
Persistence & Privilege
The skill does not request always:true and does not change other skills. However, many operations require administrative privileges (sudo) and will modify system settings (including enabling Remote Login/SSH). If invoked, these changes persist until reverted; the skill includes a revert_all script to undo changes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mac-ai-optimizer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mac-ai-optimizer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: optimize macOS for AI workloads, reduce idle memory from 6GB to 2.5GB
元数据
Slug mac-ai-optimizer
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Mac AI Optimizer 是什么?

Optimize macOS for AI workloads (OpenClaw, Docker, Ollama). Turn an 8GB Mac into a lean AI server node with near-16GB performance by disabling background ser... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 410 次。

如何安装 Mac AI Optimizer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install mac-ai-optimizer」即可一键安装,无需额外配置。

Mac AI Optimizer 是免费的吗?

是的,Mac AI Optimizer 完全免费(开源免费),可自由下载、安装和使用。

Mac AI Optimizer 支持哪些平台?

Mac AI Optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Mac AI Optimizer?

由 dongsheng123132(@dongsheng123132)开发并维护,当前版本 v1.0.0。

💬 留言讨论