macos

Automate macOS window management and app control via AppleScript.

237|33|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/suitedaces/my-agent --skill macos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: macos
Source: https://github.com/suitedaces/my-agent/tree/main/skills/macos
Command: npx skills add https://github.com/suitedaces/my-agent --skill macos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables hands-free control and automation of macOS features and apps, saving time on routine tasks that involve window management, app control, and system interactions.

Core Features & Use Cases

  • Window management: move and resize front windows, tile layouts, and minimize/restore.
  • App management: launch, activate, quit, hide, and list running GUI apps.
  • System controls: adjust volume, toggle dark mode, show notifications, and automate Finder/Calendar/Reminders interactions.
  • Integrations: control Spotify, Safari/Chrome, and other native apps via AppleScript.

Quick Start

Use this skill to automate macOS tasks such as window management, app control, and system settings via AppleScript/osascript. For example: Open Safari and move its front window to the left half of a 1920x1080 screen.

Frequently Asked Questions about macos

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

FAQPage Schema
How do I automate window management on macOS without third-party apps?

Automating window management on macOS uses AppleScript and osascript to move, resize, tile, and minimize application windows natively. This allows hands-free control of front windows and layout adjustments across built-in applications.

Can I use AppleScript to control system settings like volume and dark mode?

Yes, AppleScript can control system settings like volume and dark mode via osascript commands. It automates toggling dark mode, adjusting system volume, and showing notifications through direct macOS system interactions.

Does osascript UI scripting require Accessibility permissions to control apps?

Yes, osascript UI scripting requires macOS Accessibility permissions to control apps. Granting Accessibility access allows AppleScript to interact with the interface elements of native apps like Safari, Chrome, Calendar, and Reminders.

What is the best way to automate launching and quitting macOS GUI apps?

The best way to automate launching and quitting macOS GUI apps is using AppleScript. It executes commands to activate, hide, list, or terminate running applications, streamlining routine app management tasks.

How do I automate Spotify and Safari interactions on macOS?

Automating Spotify and Safari interactions on macOS is done through AppleScript integration. Using osascript, you can control playback, manage browser windows, and automate web navigation alongside native macOS applications.

Why does my AppleScript fail to move windows on a specific screen resolution?

AppleScript fails to move windows when screen resolution parameters are mismatched in the script. Ensure your osascript window management commands specify exact target coordinates and bounds that match your active display resolution.