claude-for-safari

Control Safari on macOS via AppleScript to read pages, navigate tabs, and take screenshots.

63|10|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/SDLLL/claude-for-safari --skill claude-for-safari
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-for-safari
Source: https://github.com/SDLLL/claude-for-safari/tree/main
Command: npx skills add https://github.com/SDLLL/claude-for-safari --skill claude-for-safari

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables an AI agent to operate the user's real Safari browser on macOS using AppleScript and screencapture. It provides the ability to browse websites, read page content, automate browser tasks, take screenshots, and interact with live sessions without relying on extensions or proxies.

Core Features & Use Cases

  • Read and navigate pages by programmatically listing tabs, opening URLs, and switching between them.
  • Extract visible content and run JavaScript in page context to fetch dynamic data.
  • Take screenshots (foreground or background) for visual feedback and verification.
  • Automate common browser actions (clicks, typing, scrolling) to support workflows like data collection or form submission.

Quick Start

Instruct the AI to start controlling Safari to read pages, navigate, and take screenshots.

Frequently Asked Questions about claude-for-safari

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Safari browser tasks on macOS using AI?

To automate Safari browser tasks on macOS, you can use this Skill to control your real browser via AppleScript and screencapture. It enables navigation, reading page content, taking screenshots, and interacting with live sessions without requiring browser extensions or proxies.

Can I run JavaScript in Safari tabs to extract dynamic web page data?

Yes, you can run JavaScript in the page context to extract dynamic web data. This Skill executes JavaScript within your active Safari tabs, enabling you to fetch dynamic content and perform automated actions like clicks, typing, and scrolling for data collection workflows.

Does Safari automation require installing browser extensions or proxy software?

No, Safari automation does not require installing extensions or proxy software. This Skill directly controls your browser using native macOS AppleScript and screencapture commands, interacting with live sessions across tabs without external dependencies.

How do I take screenshots of Safari tabs programmatically in the background?

You can take screenshots of Safari tabs programmatically by instructing the AI to use the screencapture functionality. This Skill supports capturing both foreground and background browser windows to provide visual feedback and verify automated web page interactions.

What are the limitations and safety considerations for automated Safari control?

Automated Safari control includes built-in safety checks and permission prompts to prevent unauthorized actions. It is limited to macOS environments and relies on AppleScript, meaning system permissions must be explicitly granted for the AI to control browser navigation and execute web page actions.