Claude for Safari
Control the user's real Safari browser on macOS through AppleScript, page JavaScript, screenshots, and carefully verified System Events input. Use when an agent needs to inspect or operate the user's existing Safari tabs and login sessions, including reading pages, navigating, clicking, filling non-sensitive forms, taking screenshots, observing page-level fetch/XHR metadata, or troubleshooting Safari-specific UI behavior.
Install
npx skills add SDLLL/claude-for-safari --skill claude-for-safarigit clone --depth 1 https://github.com/SDLLL/claude-for-safari.git /tmp/claude-for-safari
mkdir -p ~/.claude/skills
cp -r /tmp/claude-for-safari/. ~/.claude/skills/claude-for-safariPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Claude for Safari
Operate the user's real Safari session with macOS-native tools. Preserve the user's tabs, login state, page data, and approval boundaries.
## Safety invariants
- Resolve and verify the exact Safari window and tab before every page-changing action.
- Stop on a missing, stale, or ambiguous target. Never guess by window title alone.
- Treat Safari AppleScript objects, Accessibility windows, and CoreGraphics window IDs as separate identity systems.
- Require explicit authorization before submitting forms, confirming destructive actions, navigating away from unsaved work, or closing tabs/windows.
- Never override `confirm()` to return `true`, suppress `beforeunload`, or silently answer a native dialog.
- Never include passwords, file uploads, one-time codes, payment-card data, tokens, or secrets in scripts, shell commands, transcripts, or returned JSON.
- Prefer DOM actions. Use System Events or coordinate interaction only after verifying focus, permissions, and the target.
For permission failures or native dialogs, read [references/troubleshooting.md](references/troubleshooting.md). For frames, private windows, or coordinate fallback, read [references/advanced.md](references/advanced.md) before acting.
## Preflight
Fail fast outside macOS:
```bash
[ "$(uname)" = "Darwin" ] || { echo "Claude for Safari requires macOS"; exit 1; }
```
Verify a real page-JavaScript call. Give the first call enough time for the macOS permission prompt:Details
- Skill name
claude-for-safari- Repository
- SDLLL/claude-for-safari
- License
- MIT
- Repo updated
- 4 August 2026
FAQ
What does the Claude for Safari skill do?
Control the user's real Safari browser on macOS through AppleScript, page JavaScript, screenshots, and carefully verified System Events input. Use when an agent needs to inspect or operate the user's existing Safari tabs and login sessions, including reading pages, navigating, clicking, filling non-sensitive forms, taking screenshots, observing page-level fetch/XHR metadata, or troubleshooting Safari-specific UI behavior.
How do I install the Claude for Safari skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add SDLLL/claude-for-safari --skill claude-for-safari. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Claude for Safari popular?
It lives in SDLLL/claude-for-safari, which has 100 GitHub stars and 16 forks.
Related skills
Penthera
78danoszz/penthera
Offline cyber security agent for the user's own apps and AI coding tools, run locally with the Penthera CLI; open R&D, measured in public. Sets it up in one command ("set up penthera in this repo"). Scans the user's own live URL and repo (TLS, headers, auth, OpenAPI, secrets incl. AI keys, opt-in injection); checks npm and Python dependencies offline ("is this dependency safe?", "what changed in my deps?", "install X safely", "any AGPL in our deps?"); blocks secrets and risky agent config before commit ("add a pre-commit hook"); audits AI tooling ("audit my MCP servers / skills / hooks", "chec
Prompt Sensei
109chengzhongwei/Prompt-sensei
Stage-aware prompt coaching, prompt improvement, lookback analysis, prompting habit feedback, and local reports about prompt quality for AI coding agents such as Claude Code or Codex.
Cida
108mizzlelover/cida
辞达 · 现代中文高质量对话型表达与平台内容设计引擎。用于中文写作、重写、润色、诊断、 口述/访谈成文、书面自然化、公众号/小红书/知乎/微博/视频口播/播客/社群等场景适配, 以及按用户真实文本校准个人风格。先确定事实与立场边界,再建立平台任务契约、比较表达策略、 设计读者价值兑现,最后完成文本质量与平台适配双自检。不做去AI味检测对抗、虚假钩子、 平台流量承诺或任何在世作者的个人风格模仿。
Okf Generator
110UmairBaig8/okf-generator
Generate OKF (Open Knowledge Format) v0.2 knowledge bundles from codebases, and look up exact concepts for AI agent context injection. Use this skill whenever the user wants to: index a codebase, generate OKF bundles, extract code knowledge into structured markdown, convert codebases into training data, look up functions/classes/modules by name, prime an AI agent with codebase context, or integrate codebase knowledge with OpenCode or other AI coding agents. Also trigger for phrases like "index my code", "generate knowledge bundle", "extract codebase concepts", "what does X class do", or "look
Fable Mode
106cozytab/fable5-mode
A work-discipline protocol that makes Opus 4.8 (or any non-frontier model) operate at Fable-5-grade quality. Core idea — output quality = model capability x work discipline: spend extra orchestration to buy single-pass quality via six levers (plan gate, small-card execution, adversarial self-check, real-product verification, context hygiene, checkpoint autonomy). Activate ONLY on an explicit request — the user names the mode ("use fable mode", "enable fable-mode", "work like Fable 5", "rigorous mode", or the Chinese "用 fable 模式"、"开 fable-mode"、"像 Fable 5 一样做"、"严谨模式") — or when the project is a
Bria AI
74Bria-AI/bria-skill
Image generation, photo editing, background removal — transparent PNG images, cutouts, ecommerce packshots, product catalogs, lifestyle shots via Bria.ai. Build store-ready e-commerce catalogs at scale — shadows, product dimensions images, lifestyle scenes, marketplace listing variants. ALWAYS use this skill when the user wants to generate, edit, or transform any image — hero images, banners, social media visuals, product photos, illustrations, icons, thumbnails, ad creatives, or marketing materials — or to build a product catalog, create a packshot, stage a lifestyle shot, remove a background
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.