mac-automation

Automate macOS operations via AppleScript and the osascript command-line tool.

1|1|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/7Sageer/cc-assistant --skill mac-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mac-automation
Source: https://github.com/7Sageer/cc-assistant/tree/main/.claude/skills/mac-automation
Command: npx skills add https://github.com/7Sageer/cc-assistant --skill mac-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to automate repetitive tasks on their Mac, controlling applications and system functions through natural language commands.

Core Features & Use Cases

  • Application Control: Manage Mail, Calendar, Reminders, Safari, and Finder.
  • System Functions: Control volume, display notifications, launch apps, and more.
  • Use Case: "Send an email to John Doe with the subject 'Meeting Follow-up' and the body 'Here are the notes from our meeting.'"

Quick Start

Use the mac-automation skill to display a notification with the title "Hello" and the message "World".

Frequently Asked Questions about mac-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Mac applications like Mail and Calendar using natural language?

You can automate macOS applications like Mail and Calendar by issuing natural language commands that execute AppleScript via the osascript command-line tool. This allows deterministic task execution such as sending emails or managing calendar events.

Can I control macOS system functions like volume and notifications through automation?

Yes, macOS system control automation supports adjusting volume, displaying notifications, and launching apps. It uses shell scripts and AppleScript to execute these system-level operations deterministically without manual intervention.

What macOS applications are supported for automation with AppleScript?

AppleScript automation supports native macOS applications including Mail, Reminders, Calendar, Safari, and Finder. It also supports third-party applications, providing detailed reference guides for various application interactions.

How do I use osascript to send an email automatically on macOS?

To send an email automatically on macOS, you use the automation skill to generate an AppleScript executed via the osascript command-line tool. You specify the recipient, subject, and body in your natural language command to trigger the Mail app.

Does macOS automation work with third-party applications or only built-in apps?

macOS automation works with both built-in applications and third-party applications. It leverages AppleScript through the osascript command-line tool to control various software, extending beyond native apps like Safari and Finder.

What are the limitations of using AppleScript for Mac automation?

AppleScript for Mac automation relies on the osascript command-line tool and requires target applications to support AppleScript interactions. Deterministic execution depends on shell script stability and the specific application scripting dictionaries available.