← 返回 Skills 市场
drg3nz0

Macbook optimizer

作者 Maclaw · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
3165
总下载
4
收藏
14
当前安装
2
版本数
在 OpenClaw 中安装
/install macbook-optimizer
功能描述
MacBook system optimization, performance monitoring, and troubleshooting tools for macOS users.
使用说明 (SKILL.md)

💻 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:

  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:

  • 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:

  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:

  • 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
安全使用建议
This skill appears to do what it says: it inspects system state and can remove caches, large files, and tweak settings using built-in macOS tools. Before installing or using it: 1) verify the author/source (SKILL.md references a GitHub repo but the registry metadata showed no homepage — confirm the repository and review its contents). 2) Do not allow any automated 'clean' or 'fix' operation without first reviewing a human-readable list of proposed deletions/changes and confirming them. 3) Back up important data (Time Machine or other) before running cleanup or automated fixes. 4) Be aware the skill will query process lists, open file lists, and system info and may prompt you to open privacy/full-disk-access screens — this is normal for these tasks but you should grant permissions only if you trust the source. 5) If you want extra assurance, request the author/publisher to supply an explicit, minimal non-destructive 'preview' mode that lists actions it would take without performing deletions so you can review them.
功能分析
Type: OpenClaw Skill Name: macbook-optimizer Version: 1.0.1 The skill is classified as suspicious due to its explicit instructions to the OpenClaw agent to potentially establish persistence via 'cron jobs' for continuous monitoring, as detailed in SKILL.md. While framed as an optional feature, this capability represents a significant security risk. Additionally, the skill instructs the agent to open sensitive macOS System Settings panels, such as 'Privacy_AllFiles' and 'Privacy_Accessibility', which, although potentially relevant for an optimizer, involve interaction with critical system permissions.
能力评估
Purpose & Capability
The name/description (MacBook optimization, monitoring, cleanup) matches the instructions: it uses macOS built-ins like system_profiler, top, ps, df, du, powermetrics, pmset, etc. No external credentials, binaries, or unrelated services are requested. The capability set is appropriate for the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run many system utilities (process, disk, network, battery, thermal commands) and to open GUI apps. It also supports automated cleanups (rm of caches, duplicates, large files) — the file-removal actions are potentially destructive but are consistent with an optimizer. The instructions claim 'safe file removal (with confirmation)' but are otherwise broad; ensure the agent prompts you for explicit confirmation before any deletions or irreversible changes.
Install Mechanism
Instruction-only skill with no install spec and no code files. This is the lowest-risk install model — nothing is written to disk by an installer. All tooling relies on native macOS utilities.
Credentials
No environment variables, credentials, or external config paths are requested. The requested access (system tools and standard cache/Downloads/Library paths) is proportional to the stated functionality.
Persistence & Privilege
always is false and the skill does not request persistent system-wide configuration. The skill can be invoked by the agent (default), which is expected. There is no attempt to modify other skills or agent-wide settings in the provided instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install macbook-optimizer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /macbook-optimizer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Major update: Complete overhaul with new features, GUI-first workflows, and enhanced automation. - Now works on all Macs (Intel & Apple Silicon) using only built-in macOS tools—no extra installation required. - Added GUI-first experience: opens Activity Monitor, System Settings, and Finder automatically for visual workflows. - Expanded features: automated cleanup, startup optimization, network monitoring, visual reports, and actionable recommendations. - Introduced intelligent automation for safe cleanup, step-by-step fixes, and ongoing monitoring (optional). - Stronger privacy and safety: always seeks confirmation before making changes and never sends data externally. - User-friendly design with plain language instructions, emoji status indicators, and visual summaries.
v1.0.0
Initial release of macbook-optimizer. - Provides system monitoring for CPU, memory, disk space, battery, and thermal state on macOS. - Includes tools to identify and manage resource-intensive processes, suggest disk cleanup, and perform real-time resource monitoring. - Offers troubleshooting for slowdowns, overheating, memory leaks, and disk space issues. - Only uses standard macOS system commands and requires user confirmation before making changes. - Compatible with MacBook devices running macOS.
元数据
Slug macbook-optimizer
版本 1.0.1
许可证
累计安装 14
当前安装数 14
历史版本数 2
常见问题

Macbook optimizer 是什么?

MacBook system optimization, performance monitoring, and troubleshooting tools for macOS users. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3165 次。

如何安装 Macbook optimizer?

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

Macbook optimizer 是免费的吗?

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

Macbook optimizer 支持哪些平台?

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

谁开发了 Macbook optimizer?

由 Maclaw(@drg3nz0)开发并维护,当前版本 v1.0.1。

💬 留言讨论