Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

agent-desktop-macos

Skill by vercel-labs

Explains macOS setup and troubleshooting for agent-desktop, covering accessibility permissions, native element identity, application-owned surfaces and headless refusals. Written for people running the agent-desktop CLI on macOS with AI assistants.

  • Score 88
  • 27k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install agent-desktop-macos

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vercel-labs/agent-desktop /tmp/agent-desktop && mkdir -p ~/.claude/skills && cp -r /tmp/agent-desktop/skills/agent-desktop-macos ~/.claude/skills/agent-desktop-macos

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install agent-desktop-macos in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill covers macOS setup and troubleshooting for agent-desktop, a command-line tool that lets an AI assistant observe and act on Mac applications. It explains how to grant Accessibility and Screen Recording permissions, how native accessibility element tokens identify individual controls, and how the tool handles application-owned surfaces such as menus, popovers, sheets and notifications.

It also documents the refusals the tool returns when an action cannot run headless, and a troubleshooting table that matches error codes and messages to causes and fixes. The skill tells the assistant to use the headless observe, act and verify workflow and to use headed mode only when the user explicitly asks. It is aimed at people running agent-desktop on macOS, including sandboxed macOS virtual machines.

Written from the project's SKILL.md and checked against it.

What it can do

  • statusReports permissions and supported surfaces, and the session state of the Mac.
  • permissionsChecks Accessibility and Screen Recording grants after the user changes privacy settings.
  • list-windowsLists windows, including floating panels and windows on other Spaces or in full screen.
  • list-surfacesLists sheets, alerts and popovers across every window of an application.
  • snapshotReads the accessibility tree of an app, a window, or a surface such as a popover.
  • clickClicks an element, selecting members of selectable collections instead of opening them.
  • pressSends keys to an app, with headless support for return and escape.
  • set-valueWrites a value to a control or table cell, then checks the result independently.
  • list-notificationsReads Notification Center when the panel is open, without taking focus.
  • launchOpens an app by display name, its localized name, or bundle ID.

What you need

  • macOS
  • Apple Silicon Mac and macOS 13 or later for the macOS sandbox provider
  • Xcode Command Line Tools
  • agent-desktop CLI
  • Accessibility permission granted to the launching app
  • Screen Recording permission for screenshots

Try asking

  • Check whether agent-desktop has Accessibility and Screen Recording access on this Mac.
  • List the windows and sheets open in Calculator without switching Spaces.
  • Write a value to a spreadsheet cell and confirm the change in the app.

Good to know

  • Headless runs refuse some actions, such as dismissing notifications, which need --headed and the user's explicit request.
  • Screenshots of a window on another Space fail until that Space is active.
  • Snapshots of tables and outlines keep only the rows on screen unless read with --root.
  • A macOS sandbox VM needs a person in the guest window for the first setup.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/agent-desktop-macos/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB

Alternatives to agent-desktop-macos

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

agent-desktop-macos: common questions

Why does agent-desktop need Accessibility permission on macOS?

The source says Accessibility must be granted for observation and actions. Screen Recording must be granted for screenshots.

Does agent-desktop switch apps or Spaces to run actions?

The source says snapshot and ref actions can reach a window on another Space without switching Spaces. Headless restore and focus-changing actions are refused, because the system raises or moves focus.

What should I do when agent-desktop returns POLICY_DENIED?

The source says the operation cannot run headless. The assistant should stop and tell the user which operation needs headed mode, without adding --headed.

How do I install agent-desktop-macos?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is agent-desktop-macos free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is agent-desktop-macos safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to agent-desktop-macos?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

agent-desktop-macos Install

Add to stack

Loading.