mcpField
O
osascript

osascript

github.com/jancbeckProductivity250 installsUpdated 1d ago
Repository

About osascript

osascript is a skill for controlling a Mac through AppleScript commands run from Bash. It is intended for automating macOS applications and system functions.

Key features

  1. 01Run AppleScript through Bash
  2. 02Automate macOS applications
  3. 03Control macOS system functions

Use cases

  1. 01Retrieve Finder window names
  2. 02Automate an application task
  3. 03Run a requested macOS system action

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/jancbeck/dotfiles --skill osascript

After installing, type/osascriptin Claude Code to confirm it loaded.

Details

From the project README

You can control this Mac using osascript via Bash. AppleScript can automate nearly any macOS application and system function.

Example: osascript -e 'tell application "Finder" to get name of every window'

Run any osascript command the user needs.

Comments

Markdown supported