Optimize Mac Skill — Security skill for Claude Code
Claude Code skill: Full-system macOS performance audit and optimization.
How to install Optimize Mac Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Casper0301/optimize-mac-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Optimize Mac Skill does
Claude Code skill: Full-system macOS performance audit and optimization. Kills memory hogs, installs watchdog, optimizes DNS and animations.
Alternatives in Security
- Pareto Mac — by ParetoSecurity - Serves as development guide for Mac security audit tool with build instructions, contribut 431 ★
- Audit Agent Sessions — Analyze all agent sessions from the last 3 days across Claude, Codex, and Gemini 238 ★
- Reflexion — Audit and optimize the .claude/ ecosystem — skills, hooks, guides, patterns, agents, and settings — for qualit 224 ★
README
Optimize My MacBook for Speed
A Claude Code skill that audits and optimizes your Mac's performance. Born from a real debugging session where a single Chrome tab was eating 15 GB of RAM.
What it does
- System Snapshot — audits memory, swap, processes, DNS, and startup items
- Kills Runaway Processes — safely terminates Chrome tabs leaking memory (>6 GB)
- DNS Optimization — switches from slow ISP DNS to Cloudflare 1.1.1.1
- Animation Tweaks — disables 7 macOS animations for instant UI response
- Memory Watchdog — installs a persistent background monitor that auto-kills leaked Chrome tabs and warns about memory hogs
- Login Item Audit — identifies unnecessary startup apps consuming resources
- Full Report — presents before/after metrics with reversal instructions
Safety
- Never kills system processes or non-Chrome apps without asking
- All changes are reversible with documented undo commands
- Never uses
memory_pressure(a stress-testing tool that makes things worse) - Lets macOS manage its own VM subsystem — only intervenes for clear runaways
Install
git clone https://github.com/Casper0301/optimize-mac-skill.git ~/.claude/skills/optimize-mac
Then restart Claude Code and say "optimize my Mac" or run `/optimize-mac`.
Requirements
- macOS (any version with Apple Silicon or Intel)
- Claude Code with Max subscription
What you get
- Full system performance audit
- Automatic Chrome memory leak cleanup
- Persistent watchdog (runs every 5 minutes via launchd)
- DNS optimization (Cloudflare 1.1.1.1)
- 7 animation performance tweaks
- Startup item audit
- Before/after report with undo instructions
License
MIT
Related Skills
Claude Account Guard
Claude Code 本机环境体检与自动清理(macOS):出口 IP 与 ASN 类型、系统代理残留、DNS 与 WebRTC 泄漏、IPv6、时区两道闸、settings.json 里的中转端点与凭据、失效权限条目
Cc Tackle
CC tackle —— Claude Code 本机环境体检与可控清理(macOS):只读审计、代理/DNS/WebRTC 检测、CLI 登录凭据(长期 token 还是网页登录)、确认后备份与分项修复。Audit a
Cs Aeo
/cs:aeo — Answer Engine Optimization workflow. Audit content for E-E-A-T + structure signals that drive LLM ci
Roblox Best Practices Skill
Framework-agnostic Roblox/Luau best-practices skill for AI agents. Performance, security, data, platform limit
Sail Skill
SAIL V2 (Secure AI Lifecycle) as an agent skill — the full 91-risk catalog for AI/agent gap assessments, secur
Optimizing Skills Performance
Audit and optimize AI agent skills for token efficiency using progressive disclosure principles
Related Agents
Machinist
Watches and frees the Mac's physical resources (RAM, CPU, heat) — hunts abandoned processes, compressed memory
Nerve
Overcaution watchdog, callsign NERVE. Watches every agent, the main Claude Code loop, and OVERWATCH for the fl
Context Optimizer
Meta utility agent for token and context optimization. Spawn when needing to compress agent prompts, optimize