control-safari
/control-safari
Steruje istniejącą sesją Safari 26 przez trwały REPL JavaScript: sprawdza strony, nawiguje, klika, wypełnia pola, wysyła pliki i weryfikuje wyniki.
- Autor
- citrolabs ↗
- Repozytorium
- safari-browser-use ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 05.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 8
- Skrypty
- 2
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 05.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/runtime/safari-repl.jxa.js, scripts/safari-repl.mjs
Co robi i kiedy
Steruje istniejącą sesją Safari 26 przez trwały REPL JavaScript: sprawdza strony, nawiguje, klika, wypełnia pola, wysyła pliki i weryfikuje wyniki.
Oryginalny opis (EN)
Control the user's existing Safari 26 session through a persistent script-driven JavaScript REPL. Use for inspecting, navigating, clicking, filling, selecting, uploading, or verifying webpages in Safari when an MCP/plugin transport is unavailable.
Jak działa
- Start
- Run
- Reset and cleanup
Podgląd SKILL.md
---
name: control-safari
description: Control the user's existing Safari 26 session through a persistent script-driven JavaScript REPL. Use for inspecting, navigating, clicking, filling, selecting, uploading, or verifying webpages in Safari when an MCP/plugin transport is unavailable.
---
# Control Safari
Use only the bundled script runtime. Do not look for or call MCP tools from this
Skill. Every command returns JSON on stdout and is synchronous from the agent's
perspective.
## Start
Start one isolated session and keep its `sessionId` for every later command:
```bash
node {baseDir}/scripts/safari-repl.mjs start
```
Check Safari, then read and follow the complete operating guide:
```bash
node {baseDir}/scripts/safari-repl.mjs doctor --session SESSION_ID
node {baseDir}/scripts/safari-repl.mjs documentation --session SESSION_ID
```
Stop if the doctor reports that Safari 26 automation or JavaScript from Apple
Events is unavailable.
## Run
Run short cells directly:
```bash
node {baseDir}/scripts/safari-repl.mjs run \
--session SESSION_ID \
--title "Inspect the task tab" \
--code 'var tabs = browser.tabs.list(); tabs'
```
For multiline or quote-heavy JavaScript, write it to a temporary file and use
`--code-file`:
```bash
node {baseDir}/scripts/safari-repl.mjs run \
--session SESSION_ID \
--title "Operate the page" \
--code-file /absolute/path/to/cell.js
```
Bindings declared with `var` persist within the same session. Never reuse a
`sessionId` from another task. Image-producing cells return local paths in the
`images` array; inspect those files with the current agent's image-reading tool.
Use a new task-owned Safari tab by default. Use separate task-owned tabs for
different websites, and reuse a user tab only when the user explicitly requests
it. Follow all confirmation and safety rules returned by `documentation`.
Read these references only when applicable:
- CAPTCHA or human verification: [references/captcha.md](references/captcha.md)
- Google account choice: [references/google-accounts.md](references/google-accounts.md)
- Google Docs: [references/google-docs.md](references/google-docs.md)
- Google Sheets: [references/google-sheets.md](references/google-sheets.md)
## Reset and cleanup
Reset bindings only when a clean REPL is required:
```bash
node {baseDir}/scripts/safari-repl.mjs reset --session SESSION_ID
```
Before every final response, including failures, release the control indicator
and stop the session:
```bash
node {baseDir}/scripts/safari-repl.mjs release --session SESSION_ID
node {baseDir}/scripts/safari-repl.mjs stop --session SESSION_ID
```
Do not leave the background session running and do not mix this script transport
with an MCP transport in the same browser task.
Pliki w paczce (8)
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
- references/captcha.md 4 KB
- references/google-accounts.md 1 KB
- references/google-docs.md 3 KB
- references/google-sheets.md 4 KB
- scripts/safari-repl.mjs 14 KB
- scripts/runtime/safari-repl.jxa.js 327 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · citrolabs/safari-browser-use | 100 | MIT |
| citrolabs/safari-browser-use | 95 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki a648e1da110c (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100claude-for-safari
Steruje prawdziwą przeglądarką Safari na macOS przez AppleScript, JavaScript strony, zrzuty ekranu i sprawdzone zdarzenia System Events: czyta strony, nawiguje, klika i wypełnia formularze niewrażliwe. - 90safari
Steruje Safari z Claude Code przez lokalny serwer MCP, testuje i sprawdza stronę w WebKit, także w zalogowanej przeglądarce. - 90safari-mcp-workflow
Bada wskazaną żywą witrynę w Safari przez lokalny serwer MCP Safari Technology Preview: DOM, konsola, sieć, zrzuty ekranu, dostępność, wydajność, responsywność i media drukowania. - 90safari-extension-control-workflow
Prowadzi decyzje o integracji aplikacji macOS z Safari: Web Extensions, Web Inspector Extensions, App Extensions, SafariServices, blokery treści i komunikacja rozszerzeń z aplikacją. - 100safari-google-fill
Wypełnia formularze Google w Safari, sprawdza zmiany między sekcjami i przekazuje wybór plików do ręcznego dokończenia przez użytkownika. - 100control-browser
Otwiera strony i lokalne adresy HTTP w przeglądarce ZCode, nawiguje, klika, wpisuje, wypełnia formularze, robi zrzuty ekranu i sprawdza stan renderowanej strony.