agent-desktop-macos
БесплатноБез исполняемых скриптовНе проверенmacOS setup and troubleshooting for agent-desktop: accessibility permissions, native element identity, application-owned surfaces, and headless refusals.
от vercel-labs★ 27 658 звёзд на GitHubОб этом скилле
agent-desktop on macOS
Use the core skill's headless observe, act, verify workflow. A platform capability
never authorizes --headed; only the user's explicit request does.
Setup and permissions
The sandbox provider on macOS is macos: a macOS VM that needs an Apple Silicon Mac, macOS 13 or later on the host and in the guest, and Xcode Command Line Tools. The first setup needs a person in the guest window; clones need none. See agent-browser.dev/desktop/sandboxes/macos.
agent-desktop status reports permissions and supported_surfaces.
Accessibility must be granted for observation and actions; Screen Recording
must be granted for screenshots, including session screenshot artifacts.
Grant access to the app that launches the CLI and to the binary if listed
separately. Ask the user to change the relevant privacy permissions, then confirm
with agent-desktop permissions. A new CLI call sees a new grant; a batch
retains its process's cached report.
permissions does not prompt. Requests use a bounded isolated helper.
The permission guide opens a visible settings page and guide panel, so ask the
user before starting it. It offers the app that started agent-desktop's process
tree: under tmux, the app that started the tmux server, which can differ from
the terminal you attach from; under SSH, the agent-desktop binary. Automation
may report unknown when consent would require a prompt.
Platform behavior
- Native AX element tokens identify individual controls, including twins. A stale token never falls back to a look-alike search. Elements without a token follow the uniqueness rule of the core skill.
list-windowsalso lists a floating or panel window an app raises above the normal level, as accessory apps do with settings and panels, while it is on screen.menuandmenubarobservations are application-owned and can omitdata.window. An app without an ordinary window may still expose process-owned surfaces. Inspectsupported_surfacesrather than assuming every surface exists.press --appheadless:returnandescaperun as accessibility actions on the focused element. Any other key needs a focused element in the app (ACTION_FAILED,details.check: process_focus,not_deliveredotherwise). A modifier shortcut never runs a menu item:clickthe item.agent-desktop press escape --app <app>closes an open menu or popover with its cancel action when no focused element takes Escape, and reads that it closed; with--window-id <id>it closes the surface that window or the app shows. A popover can appear a moment after the click that opens it: read it withsnapshot --app <app> --surface popover.list-surfaceslists the sheets, dialogs and popovers of every window, not only the focused one. A system service panel, such as AirDrop from a share, is a dialog.- Headless menu-opening and dialog-opening actions can refuse before delivery.
A label ending in an ellipsis predicts a dialog; it does not prove one exists.
A click on a button inside a popover refuses with
kind: popover_command: a share item starts a service whose window takes the front. Stop on a headed-only refusal rather than changing mode. Headlessrestoreof a minimized window and headlessminimizeof the focused window refuse withPOLICY_DENIED; the system raises or moves focus. - A file-name text field is not a file-system rename interface. Value-write actions refuse it because a changed field could falsely imply a renamed file.
- A tab button (
AXRadioButton, subroleAXTabButton) is selected by press rather than writingAXValue(which crashes Chromium); if a web tab ignores that press, report it and useclick --headedonly when the user asked. - Chromium accessibility is enabled by the adapter when needed. A sparse or incomplete read still needs another observation, not an assumption of absence.
- A table cell carries its grid address in
native_id(kindgrid_cell, for exampleB7), or its own identifier when it has one; the address finds it either way. Get one cell withfind --role cell --native-id B7 --root '<table ref>'. A cell that spans several rows or columns has no address. set-valueandclearon a table cell that listsSetValuewrite its value directly when the cell takes one. Any other cell is written through its own editor and committed with Return, without activating the app. Text and Return go only to that editor. An application that moves a value into an editor of its own, as a spreadsheet does with a formula that starts with=, leaves it typed and open, and the write fails asdelivered_unverified: commit it withpress return --app <app>. The cell is read after the commit: a cell that still shows nothing fails asACTION_FAILEDwithdelivered_unverified, and one that shows another value staysdelivered_unverified. An application that gives its cell editor no keyboard input from a pr
Установить agent-desktop-macos в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agent-desktop-macos?
macOS setup and troubleshooting for agent-desktop: accessibility permissions, native element identity, application-owned surfaces, and headless refusals.
Как установить скилл agent-desktop-macos?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-desktop-macos запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic