Skip to content

skalinets/mac_optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Mac Optimizer

A Claude Code skill that analyzes macOS performance and provides actionable optimization recommendations.

What It Does

Collects and analyzes:

  • CPU and memory usage, swap pressure, compressor state
  • Browser process bloat (Chrome, Brave, Safari, Firefox, Arc, Edge)
  • Claude Code session count and resource usage
  • Docker / OrbStack container runtimes
  • Launch daemons and agents from third-party apps
  • Disk space, system uptime, power settings

Then provides prioritized recommendations (HIGH / MEDIUM / LOW impact) with copy-pasteable commands.

Installation

Option 1: npx skills (recommended)

npx skills add skalinets/mac_optimizer -g -y

The -g flag installs globally (available across all projects). The -y skips confirmation prompts.

Option 2: Symlink from cloned repo

git clone https://github.com/skalinets/mac_optimizer.git ~/work/mac_optimizer
ln -sfn ~/work/mac_optimizer ~/.claude/skills/mac-optimizer

Option 3: Copy into skills directory

git clone https://github.com/skalinets/mac_optimizer.git
cp -r mac_optimizer ~/.claude/skills/mac-optimizer

Note: After installation, restart Claude Code or start a new session for the skill to be available.

Usage

In any Claude Code session, type:

/mac-optimizer

Claude will run the analysis script and return a full performance report with recommendations.

You can also trigger it conversationally:

  • "Check my Mac performance"
  • "Why is my Mac slow?"
  • "Optimize my system"

Running the Script Standalone

The analysis script can also be run directly in your terminal:

bash ~/.claude/skills/mac-optimizer/mac-optimize.sh

This prints raw system metrics without the AI-powered analysis.

Requirements

  • macOS (tested on Apple Silicon only; Intel Macs have not been tested)
  • Claude Code CLI installed
  • No additional dependencies — uses only built-in macOS tools (ps, vm_stat, sysctl, df, pmset, etc.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages