skills/macos-automator/SKILL.md
Control macOS through AppleScript and JavaScript for Automation (JXA) via the macos_automator MCP server. This skill should be used when the user asks to automate Mac applications, control system settings, interact with UI elements, get clipboard contents, manage windows, control media apps, or perform any macOS automation task. Triggers on requests like "open Safari", "get clipboard", "control Spotify", "take a screenshot", "list running apps", or "click that button".
npx skillsauth add szoloth/skills macos-automatorInstall 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.
This skill enables control of macOS through AppleScript and JavaScript for Automation (JXA). It provides access to 200+ pre-built automation scripts and the ability to execute custom scripts or interact with UI elements via accessibility APIs.
The macOS Automator MCP provides three tools:
mcp__macos_automator__execute_scriptExecute AppleScript or JXA scripts. Supports three input modes:
| Parameter | Description |
|-----------|-------------|
| script_content | Inline script code |
| script_path | Path to a script file |
| kb_script_id | ID of a knowledge base script |
| language | applescript (default) or javascript |
| args | Arguments to pass to the script |
| timeout_seconds | Execution timeout (default: 60) |
mcp__macos_automator__get_scripting_tipsSearch the knowledge base of 200+ pre-built scripts:
| Parameter | Description |
|-----------|-------------|
| search_term | Keyword to search for |
| category | Filter by category |
| list_categories | Set true to list all categories |
mcp__macos_automator__accessibility_queryQuery and interact with UI elements via accessibility APIs:
| Parameter | Description |
|-----------|-------------|
| command | query, click, get_value, etc. |
| locator | Object with app, role, match properties |
| return_all_matches | Return all matching elements |
To find available scripts for a task:
1. Call get_scripting_tips with search_term or list_categories=true
2. Find the relevant kb_script_id
3. Call execute_script with that kb_script_id
safari - Browser automation (tabs, URLs, bookmarks)finder - File operationsmail - Email automationspotify / music - Media controlsystem - System settings, notificationsclipboard - Clipboard operationsterminal - Terminal automationFor tasks without a KB script, write inline AppleScript:
{
"script_content": "tell application \"Finder\" to get name of every item of desktop",
"language": "applescript"
}
For apps with limited AppleScript support, use accessibility queries:
{
"command": "query",
"locator": {
"app": "System Settings",
"role": "AXButton",
"match": {"AXTitle": "General"}
}
}
{"kb_script_id": "safari_get_active_tab_url"}
tell application "System Events" to get name of every process whose background only is false
the clipboard
{"kb_script_id": "spotify_play_pause"}
{"kb_script_id": "spotify_next_track"}
{"kb_script_id": "spotify_get_current_track"}
display notification "Message here" with title "Title"
tell application "System Events" to get name of first process whose frontmost is true
do shell script "screencapture -x ~/Desktop/screenshot.png"
The terminal app running Claude Code needs permissions in System Settings > Privacy & Security:
Increase timeout_seconds for long-running operations (default is 60s, max 600s).
Test scripts in Script Editor.app first to validate syntax before using with the MCP.
get_scripting_tips with a search term related to the taskkb_script_id if available, or write custom scriptcontent-media
Fetch transcripts from YouTube videos for summarization and analysis.
documentation
This skill should be used when reviewing or editing written drafts to ensure they match Sam's personal style guide. It prioritizes voice preservation and anti-beige detection while catching structural gaps. Triggers on requests to review, edit, or improve written content.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
development
Web search and content extraction using Brave Search. Use when researching topics, finding documentation, extracting article content, or gathering information from the web. No browser required - works headlessly.