mac-dark-mode — Toggle macOS Dark/Light Mode

SkillDev tools

Toggles macOS dark mode on, off, or auto-toggle by reading and writing the AppleInterfaceStyle user default. Use when the user asks to enable dark mode, disable dark mode, switch to light mode, toggle appearance, or change the macOS theme.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the mac-dark-mode skill

What this skill tells your AI

The instructions your AI receives, as published by leionion/clawforge in skills/05-Interaction/mac_dark_mode/SKILL.md and read by ahel’s review.

Switches macOS between dark and light appearance modes using defaults commands.

Usage

# Toggle between dark and light mode
python3 mac_dark_mode.py

# Enable dark mode
python3 mac_dark_mode.py on

# Enable light mode
python3 mac_dark_mode.py off

How it works

  • Reads AppleInterfaceStyle via defaults read to detect current mode
  • Writes or deletes AppleInterfaceStyle to switch modes
  • No argument toggles automatically based on current state

Signals

GitHub stars
91
Forks
21
Last commit
May 2026
Advanced
Item type
skill
Key
mac-dark-mode
Source
github.com/leionion/clawforge