safari

safari is a skill for Claude Code from Panchangam18/background-computer-use. It costs 38 tokens per session (368 once invoked), scanned A, original, MIT.

Instructions for driving Safari in the background with computer-use actions such as navigation, scrolling, clicking links, switching tabs, and closing tabs. They describe Safari-specific behavior that automation needs to handle.

In plain words
What is it for?
Use them when automating Safari without taking focus from the user, including opening URLs, scrolling web pages, activating page links, changing tabs, and closing tabs.
Why use it?
They reduce failures caused by Safari’s address bar, web page scrolling, hidden windows, and small tab-close controls. The instructions specify which kinds of interactions work reliably.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the background-computer-use plugin — 8 skills, 1 MCP server shipped together

Good fit Use them when automating Safari without taking focus from the user, including opening URLs, scrolling web pages, activating page links, changing tabs, and closing tabs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/panchangam18/background-computer-use/safari
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Panchangam18/background-computer-use --skill safari
Clone the repo
git clone --depth 1 https://github.com/Panchangam18/background-computer-use

Made for: Claude Code.

Or install background-computer-use, the plugin that ships this one along with the rest of its 8 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for safari

README.md
[![agentmods](https://agentmods.dev/badge/skills/panchangam18/background-computer-use/safari/github.svg)](https://agentmods.dev/skills/panchangam18/background-computer-use/safari)
Your own site
<a href="https://agentmods.dev/skills/panchangam18/background-computer-use/safari"><img src="https://agentmods.dev/badge/skills/panchangam18/background-computer-use/safari/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for safari

Your own site · 80×15
<a href="https://agentmods.dev/skills/panchangam18/background-computer-use/safari"><img src="https://agentmods.dev/badge/skills/panchangam18/background-computer-use/safari.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 368 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00368
Opus 5.5 $0.00015 $0.00147
Sonnet 5.5 $0.00008 $0.00074
Haiku 4.5 $0.00004 $0.00037

Measured 3mo ago against content hash b181fe589dd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

safari scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/safari/SKILL.md · 31 lines

What it actually says

Driving Safari with background computer use

Safari's accessibility coverage is good overall, but its address bar and web content areas have two quirks that bite naive automation.

  1. Always call get_app_state app="Safari" before interacting.
  2. To navigate to a URL, call set_value app="Safari" element_index=<smart-search-field> value="https://…".
    • The smart search field's ID is WEB_BROWSER_ADDRESS_AND_SEARCH_FIELD.
    • set_value submits by default; don't also post a separate Return.
    • Internally this uses a typing fallback, because Safari silently ignores AXValue writes on the URL bar.
  3. To scroll the page, call scroll app="Safari" element_index=<scroll-area> direction="down". The tool tries a native AX page-scroll first, then posts wheel events to the correct WKWebView helper pid, then falls back to PageDown/ PageUp keystrokes if nothing moved.
  4. click(element_index=<link>) works on in-page links via AXPress even when the Safari window is occluded.
  5. Tab switches: click(element_index=<tab>) on an AXTabButton. Close with perform_secondary_action(action="close tab") rather than hit-testing the tiny close glyph.

Detailed notes live in server/app-hints/Safari.md; they are injected as <app_hints> on every get_app_state call for Safari.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 31 lines · 38 tokens per session scan A b181fe589dd1

Subscribe to this mod's changes

safari is a skill published in the GitHub repository Panchangam18/background-computer-use (5 stars, last pushed 7mo ago), licensed MIT. It adds 38 tokens to every session and 368 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

safari compared with skills from other repositories

safari next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
safariPanchangam18/background-computer-useSkill57mo agoMITA38Claude Code
axstreammilind-soni/axstreamSkill193mo agoMITA96Claude Code
open-computer-useiFurySt/open-codex-computer-useSkill3.1k12d agoMITA68Codex
macos-harnessbrowser-use/macos-harnessSkill1.0k6d agoMITA40Codex
agent-experience-auditsquirrelscan/skillsSkill11010d agoMITA128Claude Code, Codex
kwin-desktop-automationisac322/kwin-mcpSkill8827d agoMITA140Claude Code
computer-use-safetyellmos-ai/skillsSkill103d agoMITA113Claude Code, Codex