← Back to Skills Marketplace
dongsheng123132

Mac AI Optimizer

by dongsheng123132 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
410
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install mac-ai-optimizer
Description
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...
README (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"
Usage Guidance
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).
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install mac-ai-optimizer
  3. After installation, invoke the skill by name or use /mac-ai-optimizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: optimize macOS for AI workloads, reduce idle memory from 6GB to 2.5GB
Metadata
Slug mac-ai-optimizer
Version 1.0.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 410 downloads so far.

How do I install Mac AI Optimizer?

Run "/install mac-ai-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Mac AI Optimizer free?

Yes, Mac AI Optimizer is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Mac AI Optimizer support?

Mac AI Optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Mac AI Optimizer?

It is built and maintained by dongsheng123132 (@dongsheng123132); the current version is v1.0.0.

💬 Comments