openclaw/skills/applescript/SKILL.md
Control macOS system functions via AppleScript. Use when asked about system volume, notifications, app control, display brightness, or Do Not Disturb.
npx skillsauth add Dbochman/dotfiles applescriptInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run AppleScript commands via osascript for macOS system control.
# Get current volume (0-100)
osascript -e 'output volume of (get volume settings)'
# Set volume (0-100)
osascript -e 'set volume output volume 50'
# Mute/unmute
osascript -e 'set volume output muted true'
osascript -e 'set volume output muted false'
osascript -e 'display notification "message here" with title "Title"'
osascript -e 'say "Hello from the cabin"'
# Open an app
osascript -e 'tell application "Music" to activate'
# Quit an app
osascript -e 'tell application "Music" to quit'
# List running apps
osascript -e 'tell application "System Events" to get name of every process whose background only is false'
# Play/pause
osascript -e 'tell application "Music" to playpause'
# Next track
osascript -e 'tell application "Music" to next track'
# Current track info
osascript -e 'tell application "Music" to get {name, artist} of current track'
# Screen brightness (0.0-1.0) — may not work on Mac Mini without display
osascript -e 'tell application "System Events" to get value of slider 1 of group 1 of window "Control Center" of application process "ControlCenter"'
osascript -e for single-line commandsosascript << 'EOF' ... EOFsay command speaks through connected speakersdevelopment
Search the web for current information, news, facts, and answers. Use when asked questions about current events, needing to look something up, finding websites, researching topics, or when you need up-to-date information beyond your training data.
development
Summarize any URL, YouTube video, podcast, PDF, or file into concise text. Use when asked to read an article, summarize a link, get the gist of a video or podcast, extract content from a URL, or when you need to understand what a web page or document contains.
development
Play music via Spotify and control Google Home speakers. Use when asked to play music, songs, artists, playlists, podcasts, or control speakers/volume/audio.
testing
Create new OpenClaw skills, modify and improve existing skills, and measure skill performance with evals. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. Also use when asked to "make a skill", "turn this into a skill", "improve this skill", or "test this skill".