Skip to content
Back to skills

System Controls

ASecurity

Control WiFi, Bluetooth, volume, dark mode, and Do Not Disturb.

  • 29 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added June 11, 2026
toolsjavascriptjava

Security analysis

A100/100

Scanned June 11, 2026

npx -y skills add spamsch/son-of-simon --skill system_controls --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of System Controls?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for System Controls
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/spamsch-system-controls/badge)](https://www.skillsdirectory.com/skills/spamsch-system-controls)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: system_controls
name: System Controls
description: Control WiFi, Bluetooth, volume, dark mode, and Do Not Disturb.
apps:
  - System Settings
tasks:
  - get_system_status
  - toggle_wifi
  - toggle_bluetooth
  - list_bluetooth_devices
  - set_volume
  - toggle_dark_mode
  - toggle_dnd
essential_tasks:
  - get_system_status
keywords: ["wlan", "wifi", "lautstärke", "dunkel", "helligkeit", "bluetooth"]
examples:
  - "Turn off WiFi"
  - "Set volume to 50%"
  - "Enable dark mode"
  - "What's my system status?"
  - "Turn on Do Not Disturb"
  - "Show connected Bluetooth devices"
  - "Mute the volume"
safe_defaults: {}
confirm_before_write:
  - toggle wifi off
  - toggle bluetooth off
requires_permissions:
  - Automation:System Events
---

## Behavior Notes

### System Status
- Use `get_system_status` to check current state before making changes.
- Reports: WiFi (on/off + network name), Bluetooth (on/off), volume (% + muted), dark mode, DND.

### Toggle Pattern
- All toggle tasks accept `--on`, `--off`, or no args (toggle).
- **Check current state first** — toggles are idempotent. If WiFi is already on and user says "turn on WiFi", report that it's already on rather than toggling.
- Confirm before turning **off** WiFi or Bluetooth (may disconnect the user).

### WiFi
- Auto-detects the WiFi hardware device via `networksetup -listallhardwareports`.
- Shows current network name when WiFi is on.

### Bluetooth
- Uses IOBluetooth framework via JavaScript for Automation (no third-party deps).
- Falls back to `blueutil` if ASObjC approach fails.
- `list_bluetooth_devices` shows paired devices with connection status.
- **Cannot programmatically connect/disconnect specific Bluetooth devices** — only toggle the adapter on/off.

### Volume
- Level range: 0-100.
- Can set level, mute, or unmute independently or together.
- "Mute" keeps the volume level but silences output; "unmute" restores it.

### Dark Mode
- Toggles macOS system-wide dark/light appearance.
- Requires Automation permission for System Events.

### Do Not Disturb
- Uses a Shortcuts bridge — requires a shortcut named "Toggle Do Not Disturb".
- If the shortcut doesn't exist, the script outputs setup instructions.
- Guide the user to create the shortcut if needed:
  1. Open Shortcuts.app
  2. Create a new shortcut named "Toggle Do Not Disturb"
  3. Add the "Set Focus" action → select "Do Not Disturb" → set to "Toggle"
  4. Save

### Common Request Patterns
- **"Turn off WiFi"** → confirm → `toggle_wifi(state="off")`
- **"Set volume to 50"** → `set_volume(level=50)`
- **"Mute"** → `set_volume(mute=true)`
- **"Dark mode on"** → `toggle_dark_mode(state="on")`
- **"What's connected?"** → `list_bluetooth_devices(connected_only=true)`
- **"Status check"** → `get_system_status()`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.