macos-finder

Installation
SKILL.md

macOS Finder Integration

Control Finder and manage files/folders on macOS using AppleScript (osascript).

Prerequisites

  • macOS with Finder running (always running by default)
  • Terminal or agent must have Automation permission for Finder (System Settings > Privacy & Security > Automation)

Listing Files and Folders

List items in a folder

osascript -e 'tell application "Finder" to get name of every item of folder "Documents" of home'

List only folders

osascript -e 'tell application "Finder" to get name of every folder of folder "Documents" of home'
Installs
2
First Seen
Mar 13, 2026