Macbook optimizer
by @drg3nz0
MacBook system optimization, performance monitoring, and troubleshooting tools for macOS users.
clawhub install macbook-optimizerπ About This Skill
name: macbook-optimizer description: Complete MacBook optimization suite: monitoring, troubleshooting, cleanup, and performance tuning. Works on all Macs (Intel & Apple Silicon). No extra tools required. homepage: https://github.com/T4btc/macbook-optimizer metadata: { "openclaw": { "emoji": "π»", "os": ["darwin"], "requires": { "bins": ["system_profiler", "top", "ps", "df", "du"] }, }, }
π» MacBook Optimizer
_Complete MacBook health & performance suite - No installation required_
A comprehensive, user-friendly skill for monitoring, optimizing, and troubleshooting MacBook performance. Works on all Macs (Intel & Apple Silicon) using built-in macOS tools. Unlike specialized tools, this provides actionable recommendations and automated fixes.
Why This Skill is Better
β No installation required - Uses built-in macOS tools β Works on all Macs - Intel & Apple Silicon β Actionable recommendations - Not just metrics, but solutions β Automated fixes - Can clean up and optimize automatically β User-friendly - Plain language, not technical jargon β Complete suite - Monitoring + troubleshooting + optimization β GUI-first - Opens visual tools automatically for non-technical users β Visual reports - Charts, graphs, and emoji indicators for easy understanding
Capabilities
π System Monitoring
powermetrics), load averages, per-process breakdownβ‘ Optimization Tools
π Troubleshooting
Usage Examples
Complete system check (with GUI):
Run a full system health check, show me the results visually, and fix any issues
Performance optimization (GUI mode):
My MacBook is slow. Open Activity Monitor and show me what's using resources
Overheating issue:
My MacBook is overheating. Show me the hot processes in Activity Monitor
Disk cleanup (visual):
Show me my disk usage visually and clean up automatically
Memory problems (GUI):
My Mac is using too much memory. Open Activity Monitor and highlight the memory hogs
Battery health (visual):
Show me my battery health in System Settings and optimize power settings
Startup optimization:
What's slowing down my Mac startup? Show me login items in System Settings
Find large files (visual):
Find all files larger than 1GB, show them in Finder, and suggest what I can delete
GUI-first requests:
Show me everything in Activity Monitor
Open System Settings to battery settings
Show me disk usage in a visual way
Advanced Commands Available
The agent intelligently uses these macOS tools:
System Info:
system_profiler - Complete hardware/software informationsysctl - System parameters and kernel settingssw_vers - macOS version informationProcess Monitoring:
top / htop - Real-time process monitoringps - Process status and detailslsof - List open files and network connectionslaunchctl list - Background services and daemonsResource Monitoring:
vm_stat - Virtual memory statisticsiostat - Disk I/O statisticsnetstat / lsof -i - Network connectionspowermetrics - CPU/GPU power and temperature (Apple Silicon)pmset -g therm - Thermal state (Intel Macs)Disk Management:
df - Disk space usagedu - Directory size analysisfind - Locate large filesmdutil - Spotlight index managementPower & Battery:
pmset - Power management settingsioreg - I/O registry (battery info)system_profiler SPPowerDataType - Battery detailsCleanup:
rm - Safe file removal (with confirmation)purge - Memory purge~/Library/Caches, /Library/Caches, /var/foldersGUI Tools (Visual Interface):
open -a "Activity Monitor" - Launch Activity Monitor (CPU, Memory, Energy, Disk, Network)open -a "System Settings" - Open System Settings (all system preferences)open -a "System Settings" && open "x-apple.systempreferences:com.apple.preference.battery" - Battery settingsopen -a "System Settings" && open "x-apple.systempreferences:com.apple.preference.storage" - Storage managementopen -a "System Settings" && open "x-apple.systempreferences:com.apple.LoginItems-Settings.extension" - Login itemsopen -a "Finder" - Open Finder for file browsingopen ~/Library/Caches - Open Caches folder in Finderopen ~/Downloads - Open Downloads folderopen "x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles" - Privacy settingsopen "x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility" - Accessibility permissionsVisual Reports:
π¨ GUI-First Experience
For users who prefer visual interfaces, the agent can:
Example GUI Workflow: 1. User: "My Mac is slow" 2. Agent opens Activity Monitor β highlights CPU/Memory hogs 3. Agent opens System Settings β shows relevant optimization settings 4. Agent provides visual summary with emoji status indicators
Intelligent Automation
The agent can:
Safety & Privacy
Requirements
htop for prettier process view (brew install htop)mactop for Apple Silicon detailed metrics (brew install mactop)How to Use GUI Tools
When the user asks for visual information or mentions they're not technical:
1. Always open Activity Monitor when showing CPU/Memory/Process info 2. Navigate to relevant System Settings panels automatically 3. Open Finder to specific folders when discussing files 4. Generate visual summaries with emoji indicators (π’π‘π΄) 5. Provide step-by-step GUI navigation instructions
GUI Navigation Commands:
Comparison with Other Tools
| Feature | macbook-optimizer | mactop | |---------|------------------|--------| | Installation required | β No | β Yes (brew) | | Works on Intel Macs | β Yes | β No (Apple Silicon only) | | Actionable recommendations | β Yes | β No (metrics only) | | Automated cleanup | β Yes | β No | | Troubleshooting | β Yes | β No | | User-friendly | β Yes | β οΈ Technical | | Complete suite | β Yes | β οΈ Monitoring only | | GUI-first experience | β Yes | β CLI only | | Visual reports | β Yes | β Text only |