macos-terminal
Installation
SKILL.md
macOS Terminal Skill
Control macOS Terminal.app using AppleScript (osascript).
Opening Windows and Tabs
# New window (empty)
osascript -e 'tell application "Terminal" to do script ""'
# New window running a command
osascript -e 'tell application "Terminal" to do script "echo hello"'
# New tab in frontmost window (via System Events keystroke)
osascript -e 'tell application "System Events" to tell process "Terminal" to keystroke "t" using command down'
Note: There is no native AppleScript command to open a new tab — System Events keystroke is required (needs Accessibility permission).