Skip to content
SKILLS
Agent SkillPublisher identity verifiedNo findings from static checks

@spboucher/safari-applescriptv1.0.0

Drive Safari on macOS with AppleScript: reliable page waits, reading, forms, uploads, downloads with the page's session, screenshots. Works in a dedicated window with domain policy and sensitive-field guards.

  • downloadable
  • installable
  • executable

safari-applescript

An Agent Skill for driving Safari on macOS through AppleScript: navigation, reading, forms, uploads, downloads with the page's own session, screenshots.

It exists for the jobs a headless browser cannot do — sites where the user is already signed in — and it treats that access with care: its tool works in a dedicated window, refuses to type into password fields without explicit confirmation, can be confined to a list of domains, and never reads cookies or stored passwords.

Contents

PathPurpose
SKILL.mdSafety rules, the working loop, what is easy to get wrong, limits
references/how-it-works.mdWhy each technique is needed (pending navigations, framework inputs, results, dialogs)
references/applescript-recipes.mdThe nine recipes with a typical sequence
scripts/safari.mjsCommand-line tool, JSON output, state kept between invocations
scripts/recipes/*.applescriptStandalone osascript programs
scripts/lib/The engine (shared with the safari-mcp server)

No dependencies beyond Node.js 20+ and macOS's own osascript, screencapture and sips.

Install

skills install @spboucher/safari-applescript --client claude-code   # or codex, cursor, generic-agent-skills

Tested

On Safari 27.0 / macOS 27.0: every recipe and the whole command-line flow run against a local fixture site (forms with framework-style inputs, shadow DOM, same-origin iframes, late content, dialogs, cookie-protected downloads, uploads), and the test asserts that the user's own windows are unchanged afterwards. Not tested on older Safari or macOS versions.

Limits

macOS and Safari only. Cross-origin iframes, private windows, Reader, in-tab PDFs and browser settings are out of reach. Synthetic events are not real input. See SKILL.md.

Install

Destination: ~/.claude/skills/safari-applescript · project scope: .claude/skills/safari-applescript

  1. 1Install with the Skills CLI (verifies the checksum, previews the destination, never runs scripts)

    skills install @spboucher/safari-applescript@1.0.0 --client claude-code

    Add --project to install into .claude/skills/safari-applescript instead of ~/.claude/skills/safari-applescript.

  2. 2Or manually: download the release archive

    curl -fsSLo safari-applescript-1.0.0.tar.gz https://skills.spboucher.ai/api/v1/artifacts/spboucher/safari-applescript/versions/1.0.0/download
  3. 3Verify the SHA-256 checksum

    echo "afac7dd71d90865e62dbfe6145799b1131084c71099c083977945945da8c2a2f  safari-applescript-1.0.0.tar.gz" | shasum -a 256 -c -
  4. 4Inspect the contents before extracting

    tar -tzf safari-applescript-1.0.0.tar.gz
  5. 5Extract into ~/.claude/skills/safari-applescript

    mkdir -p ~/.claude/skills/safari-applescript && tar -xzf safari-applescript-1.0.0.tar.gz -C ~/.claude/skills/safari-applescript
  • Declared permissions: shell, network, browser, filesystem:read, filesystem:write.
  • Skills can contain scripts. Installing only copies files; read SKILL.md and any scripts before letting an agent use them.

Installing only copies or configures. Nothing is executed for you. The Skills CLI verifies the checksum before writing files.

Files

20 files · 90 kB unpacked

Select a file to preview it. Files are shown as plain text and never executed.

Security & permissions

Declared permissions

  • shell
  • network
  • browser
  • filesystem:read
  • filesystem:write

Static checks

  • lowscript spawns other processesscripts/lib/osa.mjs
  • lowscript appears to make network requestsscripts/lib/page.js
  • lowscript spawns other processesscripts/lib/safari.mjs
  • lowscript appears to make network requestsscripts/recipes/click.applescript
  • lowscript appears to make network requestsscripts/recipes/fetch-base64.applescript
  • lowscript appears to make network requestsscripts/recipes/fill-field.applescript

Static checks are advisory. They never certify that a package is safe. Compatibility entries are publisher claims unless marked verified.

Compatibility

  • claude-code · macos · claimed
  • codex · macos · claimed
  • cursor · macos · claimed
  • generic-agent-skills · macos · claimed

Versions

1 release · immutable
VersionPublishedSizeSHA-256State
1.0.0latestNov 10, 202629 kBafac7dd71d90…published

Publication history

  1. release.publish@spboucher/safari-applescript@1.0.0by Simon-Pierre Boucher
  2. artifact.create@spboucher/safari-applescriptby Simon-Pierre Boucher
  • Agent SkillVerified publisher

    @spboucher/openai-api-toolkit

    Write, review, debug and migrate OpenAI API code with model tables and a request linter built from live probes of 29 models. Covers Responses, Chat Completions, tools, costs and tested scaffolds.

    Latest version
    v1.0.1
    Licence
    MIT
    Updated
    6 h ago
  • Agent SkillVerified publisher

    @spboucher/claude-api-toolkit

    Write, review, debug and migrate Claude API code with model tables and a request linter built from live API probes of 15 models. Includes cost estimates and tested agent scaffolds.

    Latest version
    v1.0.0
    Licence
    MIT
    Updated
    7 h ago
  • Agent SkillVerified publisher

    @spboucher/citation-check

    Checks that every in-text citation in a Markdown or LaTeX manuscript has a bibliography entry, and the reverse.

    Latest version
    v1.0.0
    Licence
    MIT
    Updated
    10 h ago

↑↓ to navigate · enter to open · esc to close