💻 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
- CPU Analysis: Real-time CPU usage, temperature (via
powermetrics), load averages, per-process breakdown
- Memory Health: RAM usage, memory pressure, swap usage, identify memory leaks
- Disk Intelligence: Space analysis, find large files/folders, duplicate detection, cache locations
- Battery Diagnostics: Health percentage, cycle count, capacity, charging status, power consumption
- Thermal Monitoring: System temperature, thermal state, identify overheating causes
- Network Activity: Bandwidth usage, active connections, identify bandwidth hogs
⚡ Optimization Tools
- Smart Cleanup: Automatically find and remove caches, logs, temp files, downloads, duplicates
- Process Management: Identify resource hogs, suggest optimizations, safe process termination
- Startup Optimization: Manage login items, background apps, reduce boot time
- Storage Optimization: Find large files, suggest deletions, empty trash, clear caches
- Performance Tuning: System settings recommendations, disable unnecessary services
🛠 Troubleshooting
- Slowdown Diagnosis: Identify bottlenecks (CPU/memory/disk/network), root cause analysis
- Overheating Solutions: Find hot processes, suggest cooling strategies, thermal management
- Memory Issues: Detect leaks, suggest app restarts, memory optimization
- Disk Problems: Full disk analysis, permission issues, disk health checks
- Battery Issues: Health degradation, charging problems, power management
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 information
sysctl - System parameters and kernel settings
sw_vers - macOS version information
Process Monitoring:
top / htop - Real-time process monitoring
ps - Process status and details
lsof - List open files and network connections
launchctl list - Background services and daemons
Resource Monitoring:
vm_stat - Virtual memory statistics
iostat - Disk I/O statistics
netstat / lsof -i - Network connections
powermetrics - CPU/GPU power and temperature (Apple Silicon)
pmset -g therm - Thermal state (Intel Macs)
Disk Management:
df - Disk space usage
du - Directory size analysis
find - Locate large files
mdutil - Spotlight index management
Power & Battery:
pmset - Power management settings
ioreg - I/O registry (battery info)
system_profiler SPPowerDataType - Battery details
Cleanup:
rm - Safe file removal (with confirmation)
purge - Memory purge
- Cache locations:
~/Library/Caches, /Library/Caches, /var/folders
GUI 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 settings
open -a "System Settings" && open "x-apple.systempreferences:com.apple.preference.storage" - Storage management
open -a "System Settings" && open "x-apple.systempreferences:com.apple.LoginItems-Settings.extension" - Login items
open -a "Finder" - Open Finder for file browsing
open ~/Library/Caches - Open Caches folder in Finder
open ~/Downloads - Open Downloads folder
open "x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles" - Privacy settings
open "x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility" - Accessibility permissions
Visual Reports:
- Generate HTML reports with charts (CPU, Memory, Disk usage over time)
- Create visual summaries with emoji indicators (🟢 Good, 🟡 Warning, 🔴 Critical)
- Open relevant System Settings panels automatically based on findings
🎨 GUI-First Experience
For users who prefer visual interfaces, the agent can:
- 📊 Open Activity Monitor automatically when showing system stats
- ⚙️ Navigate System Settings to relevant panels (Battery, Storage, Privacy)
- 📁 Open Finder to specific folders (Caches, Downloads, Large files)
- 📈 Generate visual reports with charts and graphs (HTML format)
- 🎯 Highlight issues in GUI apps with clear indicators
- 🔍 Show step-by-step with screenshots or GUI navigation
Example GUI Workflow:
- User: "My Mac is slow"
- Agent opens Activity Monitor → highlights CPU/Memory hogs
- Agent opens System Settings → shows relevant optimization settings
- Agent provides visual summary with emoji status indicators
Intelligent Automation
The agent can:
- ✅ Automatically clean safe caches and temp files (with user confirmation)
- ✅ Suggest optimizations based on system analysis
- ✅ Provide step-by-step fixes for common issues (with GUI navigation)
- ✅ Monitor continuously if requested (via cron jobs)
- ✅ Generate visual reports with charts, graphs, and actionable recommendations
- ✅ Open GUI tools automatically when showing system information
Safety & Privacy
- 🔒 Always asks before deleting files or killing processes
- 🔒 Protects system files and critical processes
- 🔒 Reviews before action - shows what will be deleted
- 🔒 No data collection - everything runs locally
- 🔒 Respects privacy - never sends data externally
Requirements
- ✅ macOS only (Intel & Apple Silicon)
- ✅ No installation needed - uses built-in tools
- ✅ Optional:
htop for prettier process view (brew install htop)
- ✅ Optional:
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:
- Always open Activity Monitor when showing CPU/Memory/Process info
- Navigate to relevant System Settings panels automatically
- Open Finder to specific folders when discussing files
- Generate visual summaries with emoji indicators (🟢🟡🔴)
- Provide step-by-step GUI navigation instructions
GUI Navigation Commands:
- CPU issues → Open Activity Monitor, sort by CPU
- Memory issues → Open Activity Monitor, sort by Memory
- Battery → Open System Settings → Battery
- Storage → Open System Settings → General → Storage
- Login items → Open System Settings → General → Login Items
- Large files → Open Finder, navigate to location, sort by size
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 |
1---2name: macbook-optimizer3description: 💻 MacBook Optimizer4---56# 💻 MacBook Optimizer78_Complete MacBook health & performance suite - No installation required_910A 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.1112## Why This Skill is Better1314✅ **No installation required** - Uses built-in macOS tools 15✅ **Works on all Macs** - Intel & Apple Silicon 16✅ **Actionable recommendations** - Not just metrics, but solutions 17✅ **Automated fixes** - Can clean up and optimize automatically 18✅ **User-friendly** - Plain language, not technical jargon 19✅ **Complete suite** - Monitoring + troubleshooting + optimization 20✅ **GUI-first** - Opens visual tools automatically for non-technical users 21✅ **Visual reports** - Charts, graphs, and emoji indicators for easy understanding 2223## Capabilities2425### 🔍 System Monitoring26- **CPU Analysis**: Real-time CPU usage, temperature (via `powermetrics`), load averages, per-process breakdown27- **Memory Health**: RAM usage, memory pressure, swap usage, identify memory leaks28- **Disk Intelligence**: Space analysis, find large files/folders, duplicate detection, cache locations29- **Battery Diagnostics**: Health percentage, cycle count, capacity, charging status, power consumption30- **Thermal Monitoring**: System temperature, thermal state, identify overheating causes31- **Network Activity**: Bandwidth usage, active connections, identify bandwidth hogs3233### ⚡ Optimization Tools34- **Smart Cleanup**: Automatically find and remove caches, logs, temp files, downloads, duplicates35- **Process Management**: Identify resource hogs, suggest optimizations, safe process termination36- **Startup Optimization**: Manage login items, background apps, reduce boot time37- **Storage Optimization**: Find large files, suggest deletions, empty trash, clear caches38- **Performance Tuning**: System settings recommendations, disable unnecessary services3940### 🛠 Troubleshooting41- **Slowdown Diagnosis**: Identify bottlenecks (CPU/memory/disk/network), root cause analysis42- **Overheating Solutions**: Find hot processes, suggest cooling strategies, thermal management43- **Memory Issues**: Detect leaks, suggest app restarts, memory optimization44- **Disk Problems**: Full disk analysis, permission issues, disk health checks45- **Battery Issues**: Health degradation, charging problems, power management4647## Usage Examples4849**Complete system check (with GUI):**50```51Run a full system health check, show me the results visually, and fix any issues52```5354**Performance optimization (GUI mode):**55```56My MacBook is slow. Open Activity Monitor and show me what's using resources57```5859**Overheating issue:**60```61My MacBook is overheating. Show me the hot processes in Activity Monitor62```6364**Disk cleanup (visual):**65```66Show me my disk usage visually and clean up automatically67```6869**Memory problems (GUI):**70```71My Mac is using too much memory. Open Activity Monitor and highlight the memory hogs72```7374**Battery health (visual):**75```76Show me my battery health in System Settings and optimize power settings77```7879**Startup optimization:**80```81What's slowing down my Mac startup? Show me login items in System Settings82```8384**Find large files (visual):**85```86Find all files larger than 1GB, show them in Finder, and suggest what I can delete87```8889**GUI-first requests:**90```91Show me everything in Activity Monitor92Open System Settings to battery settings93Show me disk usage in a visual way94```9596## Advanced Commands Available9798The agent intelligently uses these macOS tools:99100**System Info:**101- `system_profiler` - Complete hardware/software information102- `sysctl` - System parameters and kernel settings103- `sw_vers` - macOS version information104105**Process Monitoring:**106- `top` / `htop` - Real-time process monitoring107- `ps` - Process status and details108- `lsof` - List open files and network connections109- `launchctl list` - Background services and daemons110111**Resource Monitoring:**112- `vm_stat` - Virtual memory statistics113- `iostat` - Disk I/O statistics114- `netstat` / `lsof -i` - Network connections115- `powermetrics` - CPU/GPU power and temperature (Apple Silicon)116- `pmset -g therm` - Thermal state (Intel Macs)117118**Disk Management:**119- `df` - Disk space usage120- `du` - Directory size analysis121- `find` - Locate large files122- `mdutil` - Spotlight index management123124**Power & Battery:**125- `pmset` - Power management settings126- `ioreg` - I/O registry (battery info)127- `system_profiler SPPowerDataType` - Battery details128129**Cleanup:**130- `rm` - Safe file removal (with confirmation)131- `purge` - Memory purge132- Cache locations: `~/Library/Caches`, `/Library/Caches`, `/var/folders`133134**GUI Tools (Visual Interface):**135- `open -a "Activity Monitor"` - Launch Activity Monitor (CPU, Memory, Energy, Disk, Network)136- `open -a "System Settings"` - Open System Settings (all system preferences)137- `open -a "System Settings" && open "x-apple.systempreferences:com.apple.preference.battery"` - Battery settings138- `open -a "System Settings" && open "x-apple.systempreferences:com.apple.preference.storage"` - Storage management139- `open -a "System Settings" && open "x-apple.systempreferences:com.apple.LoginItems-Settings.extension"` - Login items140- `open -a "Finder"` - Open Finder for file browsing141- `open ~/Library/Caches` - Open Caches folder in Finder142- `open ~/Downloads` - Open Downloads folder143- `open "x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles"` - Privacy settings144- `open "x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility"` - Accessibility permissions145146**Visual Reports:**147- Generate HTML reports with charts (CPU, Memory, Disk usage over time)148- Create visual summaries with emoji indicators (🟢 Good, 🟡 Warning, 🔴 Critical)149- Open relevant System Settings panels automatically based on findings150151## 🎨 GUI-First Experience152153**For users who prefer visual interfaces**, the agent can:154155- 📊 **Open Activity Monitor** automatically when showing system stats156- ⚙️ **Navigate System Settings** to relevant panels (Battery, Storage, Privacy)157- 📁 **Open Finder** to specific folders (Caches, Downloads, Large files)158- 📈 **Generate visual reports** with charts and graphs (HTML format)159- 🎯 **Highlight issues** in GUI apps with clear indicators160- 🔍 **Show step-by-step** with screenshots or GUI navigation161162**Example GUI Workflow:**1631. User: "My Mac is slow"1642. Agent opens Activity Monitor → highlights CPU/Memory hogs1653. Agent opens System Settings → shows relevant optimization settings1664. Agent provides visual summary with emoji status indicators167168## Intelligent Automation169170The agent can:171- ✅ **Automatically clean** safe caches and temp files (with user confirmation)172- ✅ **Suggest optimizations** based on system analysis173- ✅ **Provide step-by-step fixes** for common issues (with GUI navigation)174- ✅ **Monitor continuously** if requested (via cron jobs)175- ✅ **Generate visual reports** with charts, graphs, and actionable recommendations176- ✅ **Open GUI tools** automatically when showing system information177178## Safety & Privacy179180- 🔒 **Always asks before** deleting files or killing processes181- 🔒 **Protects system files** and critical processes182- 🔒 **Reviews before action** - shows what will be deleted183- 🔒 **No data collection** - everything runs locally184- 🔒 **Respects privacy** - never sends data externally185186## Requirements187188- ✅ **macOS only** (Intel & Apple Silicon)189- ✅ **No installation needed** - uses built-in tools190- ✅ **Optional**: `htop` for prettier process view (`brew install htop`)191- ✅ **Optional**: `mactop` for Apple Silicon detailed metrics (`brew install mactop`)192193## How to Use GUI Tools194195When the user asks for visual information or mentions they're not technical:1961971. **Always open Activity Monitor** when showing CPU/Memory/Process info1982. **Navigate to relevant System Settings** panels automatically1993. **Open Finder** to specific folders when discussing files2004. **Generate visual summaries** with emoji indicators (🟢🟡🔴)2015. **Provide step-by-step GUI navigation** instructions202203**GUI Navigation Commands:**204- CPU issues → Open Activity Monitor, sort by CPU205- Memory issues → Open Activity Monitor, sort by Memory206- Battery → Open System Settings → Battery207- Storage → Open System Settings → General → Storage208- Login items → Open System Settings → General → Login Items209- Large files → Open Finder, navigate to location, sort by size210211## Comparison with Other Tools212213| Feature | macbook-optimizer | mactop |214|---------|------------------|--------|215| Installation required | ❌ No | ✅ Yes (brew) |216| Works on Intel Macs | ✅ Yes | ❌ No (Apple Silicon only) |217| Actionable recommendations | ✅ Yes | ❌ No (metrics only) |218| Automated cleanup | ✅ Yes | ❌ No |219| Troubleshooting | ✅ Yes | ❌ No |220| User-friendly | ✅ Yes | ⚠️ Technical |221| Complete suite | ✅ Yes | ⚠️ Monitoring only |222| GUI-first experience | ✅ Yes | ❌ CLI only |223| Visual reports | ✅ Yes | ❌ Text only |