safari-browser-control
Installation
SKILL.md
Safari Browser Control
Operate the user's real Safari browser on macOS via AppleScript (osascript) and screencapture. This provides full access to the user's actual browser session — including login state, cookies, and open tabs — without any extensions or additional software.
Unlike Playwright or headless browsers, this skill controls your real Safari — same cookies, same logins, same tabs. Zero install, pure macOS native.
Prerequisites
Before first use, verify two settings are enabled. Run this check at the start of every session:
osascript -e 'tell application "Safari" to get name of front window' 2>&1
If this fails, instruct the user to enable:
- System Settings > Privacy & Security > Automation — grant terminal app permission to control Safari
- Safari > Settings > Advanced — enable "Show features for web developers", then Develop menu > Allow JavaScript from Apple Events