Agent skill · software engineering · aiskillstore
mac-automation
This skill should be used when the user requests Mac automation via AppleScript, including: Mail operations, Reminders/Calendar management, Safari control, Finder operations, system controls (volume, brightness, notifications, app launching), third-party apps (development tools, task management, media players), or mentions \"AppleScript\" or \"automate Mac\".
Why this skill is useful
Adds executable AppleScript automation scripts for macOS applications that extend the AI's capabilities in system control and app management.
What it needs
About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Mac Automation via AppleScript This skill enables control of macOS applications and system functions through AppleScript execution via the osascript command. Core Principle Execute AppleScript commands using the Bash tool with osascript: For multi-line scripts: Supported Applications & Functions 1. Mail (邮件) Send emails with subject, body, recipients Read unread emails Search emails Create drafts 2. Reminders (提醒事项) Create reminders with due dates List reminders by list Complete/delete reminders Create reminder lists 3. Calendar (日历) Create events with time, location, notes List today's/upcoming events Delete events Create calendars 4. Notification Center (通知中心) Display system notifications Custom title, subtitle, message Sound alerts 5. Safari Open URLs Get current page info Execute JavaScript Manage tabs and windows 6. Finder Open folders Get/set file info Move, copy, delete files Create folders Reveal files 7. System Controls (系统控制) Volume control (mute, set level) Brightness (via external tools) Open applications System info queries Sleep/restart/shutdown (with care) 8. Third-Party Applications Many third-party apps support AppleScript. Common categories include development tools (iTerm2, VS Code), task management (OmniFocus, Things), media players (Spotify), browsers (Chrome), and communication tools. To check if an app supports AppleScript, open Script Editor to browse its dictionary, or try basic commands like tell application "AppName" to get name. Execution Guidelines Security Considerations 1. Permission Prompts: First-time use of certain apps triggers macOS permission dialogs. Inform user if automation fails due to permissions. 2. Sensitive Operations: For destructive operations (delete, shutdown), confirm with user before executing. 3. Privacy-Sensitive Data: When reading emails or calendar events, only display what user explicitly requests. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/mac-automation