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"
Mac AI 优化器
针对AI工作负载(OpenClaw、Docker、Ollama)优化macOS。将8GB内存的Mac转变为轻量级AI服务器节点,为Agent任务提供接近16GB内存的性能表现。
工具
optimize_memory
通过禁用Spotlight索引、Siri、照片分析及其他后台服务,将macOS空闲内存占用从约6GB降至约2.5GB。
用法:优化此Mac的内存以适配AI工作负载
reduce_ui
通过禁用动画效果、透明效果和Dock特效,降低GPU和内存占用。
用法:降低此Mac的UI开销
docker_optimize
配置Docker Desktop资源限制,防止其消耗所有可用内存。将CPU、内存和交换空间设置为平衡值。
用法:为此Mac优化Docker
enable_ssh
启用远程登录(SSH),使此Mac可作为AI计算节点进行远程管理。
用法:在此Mac上启用SSH
system_report
显示当前内存、CPU、交换空间使用情况以及运行中的服务数量。帮助判断需要优化的内容。
用法:显示系统资源报告
full_optimize
按顺序运行所有优化:系统报告→内存→UI→Docker→SSH。一条命令将Mac转变为AI服务器节点。
用法:为此Mac进行全面优化以适配OpenClaw
触发条件
当用户要求为AI优化Mac、减少内存使用、将Mac设置为AI服务器、提升OpenClaw性能或在低内存Mac上运行AI工作负载时触发。
示例提示
- - 优化此Mac以运行OpenClaw
- 我的Mac只有8GB内存,让它更好地运行AI
- 将这台Mac mini转变为AI服务器
- 减少内存使用,让Docker运行更流畅
- 将此Mac设置为远程AI节点