claude-for-safari
Installation
SKILL.md
Claude for Safari
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.
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