agent-desktop-macos
하는 일
이 스킬은 어시스턴트에게 agent-desktop 도구로 Mac 앱을 제어하는 가이드를 줍니다. macOS 앱을 클릭하고 읽게 하고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓Mac에서 앱을 클릭하고, 입력하고, 읽게 하고 싶을 때.
- ✓Mac 자동화가 권한 오류나 빈 접근성 트리 때문에 실패할 때.
- ✓macOS에서 Chromium이나 Electron 앱에 도움이 필요할 때.
스킬 링크
https://github.com/NanmiCoder/cc-haha/blob/main/native/agent-desktop/skills/agent-desktop-macos/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“설정 앱에서 대신 클릭할 수 있도록 제 Mac을 설정해 주세요. 필요한 권한이 무엇인지도 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
가이드는 시스템 설정에서 권한을 확인하는 단계를 안내한 뒤, 도구로 화면을 관찰하고 컨트롤을 조작하는 방법을 설명합니다. 메뉴, 대화상자, Chromium이나 Electron 앱도 다룹니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
agent-desktop on macOS
Read the core skill first (agent-desktop skills get desktop) for the observe, act, verify loop. This skill covers only what is different on macOS. Symptoms and fixes are in references/troubleshooting.md.
Requirements
- macOS 13 or later, Intel or Apple Silicon.
- Accessibility permission for the app that launches agent-desktop (Terminal, iTerm2, Warp, VS Code, Codex). macOS 27 and later name this list Device Control and Data Access. If System Settings lists the
agent-desktopbinary separately, grant it too. - Screen Recording permission, only for
screenshotand forsession start --screenshotsartifacts. - Automation permission for System Events, only where a command reports it missing.
First contact
- Run
agent-desktop permissions. - If a permission is denied, run
agent-desktop permissions --guide. It opens the correct System Settings page with a panel that shows the user which app to drag into the list. The user confirms with Touch ID or a password, and the panel moves to the next missing permission by itself. The command returns at once with"guide": "started","already_running"or"not_needed".agent-desktop permissions --requestshows the system prompts instead. - If the guide cannot run, open System Settings > Privacy & Security > Accessibility (Device Control and Data Access on macOS 27 and later). Add the launching app and turn it on.
- Run
agent-desktop permissionsto confirmgranted. The next agent-desktop call sees a new grant, so the launching app does not need a restart. - Run
agent-desktop snapshot -ito confirm. It reads the focused app.snapshot --app Finder -ireturnsWINDOW_NOT_FOUNDwhen Finder has no open window.
permissions does not prompt. permissions --request can prompt, including for Automation. permissions --guide does not prompt and covers Accessibility and Screen Recording only. Automation reports unknown when macOS would need to prompt.
What differs on macOS
Headed is physical first for click, right-click, type, clear and scroll. Core focuses the exact window of the ref. The adapter then sends a real click, key or wheel event to the verified point. expand, collapse, set-value, select, toggle, check, uncheck, focus and scroll-to stay semantic under --headed. Double-click, triple-click, hover and drag need --headed. Raw --xy input never changes focus.
Judge delivery by observation. AX return codes do not prove an effect. Finder returns success from an AXConfirm that does nothing. Snapshot again or use get and is to check the result.
Surfaces. Use --surface menubar for File, Edit and View menus and for menu bar apps (status items). While a menu, sheet, alert or popover is open, refs from the window tree behind it are the wrong target.
Menus. right-click headless uses AXShowMenu. If the menu opened but the app returned APP_UNRESPONSIVE with retry: unsafe, do not retry. Inspect the menu with --surface menu. For combo boxes and menu buttons, use select @ref "Option". select needs a closed-to-open menu transition, so dismiss any open menu first.
Notification Center. The notification commands drive Notification Center through accessibility, with the rules in the core commands-system reference. When agent-desktop opens the center, it closes it afterwards and restores the previous app focus. Pass both --expected-app and --expected-title on a single dismiss or action, because the stack shifts. Use wait --notification --app "App" for banners that vanish before you list them.
Chromium and Electron. agent-desktop switches on the web accessibility of a Chromium renderer automatically when it needs it. For a dense running app, use snapshot --skeleton -i --compact, then drill with --root @ref.
Identity. launch accepts a display name ("System Settings") or a bundle ID (com.apple.systempreferences). Other commands take the display name through --app. Window IDs such as w-4521 stay valid for the life of the window. Find them with list-windows.
Keys. The primary modifier is cmd: press cmd+c, press cmd+s. Quit shortcuts such as cmd+q, cmd+shift+q, cmd+alt+esc, ctrl+cmd+q and cmd+shift+delete return POLICY_DENIED unless you pass --force. To quit an app, use close-app. Punctuation keys work in combos, as the symbol (, . / ; ' [ ] \ - =
자주 묻는 질문
어떤 권한이 필요한가요?
도구를 실행하는 앱에 대한 손쉬운 사용 권한이 필요합니다. 화면 기록은 스크린샷을 찍을 때만 필요합니다.
어시스턴트가 대신 권한을 허용할 수 있나요?
가이드와 함께 올바른 시스템 설정 페이지를 열어 줄 수 있지만, 변경은 Touch ID나 비밀번호로 사용자가 직접 확인해야 합니다.
어떤 macOS 버전을 지원하나요?
가이드는 macOS 13 이상을 지원한다고 밝히며, Intel과 Apple Silicon Mac 모두에서 작동합니다.
상세 정보
작성자의 원본 설명
macOS platform guide for the agent-desktop CLI. Use for desktop automation on macOS: granting Accessibility and Screen Recording permission (TCC), what headed mode does on macOS (physical-first click, type and scroll), surfaces (menu, menubar, sheet, popover, alert), Notification Center, Chromium and Electron apps including launch --cdp, and fixing PERM_DENIED, empty accessibility trees, ACTION_FAILED and APP_UNRESPONSIVE.
repo: NanmiCoder/cc-haha
인기도
- GitHub 스타
- 15k
- 순위
- #10915
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-desktop-ffi
15k개발자가 Python, Swift, Node, Go, C++에서 agent-desktop 자동화 라이브러리를 직접 호출하도록 돕습니다. 행동마다 명령줄 도구를 시작하지 않아도 됩니다.
agent-desktop-linux
15kagent-desktop으로 Linux 데스크톱 앱을 제어하는 방법을 에이전트에게 알려 줍니다. X11과 Wayland에서 무엇이 작동하는지, 처음 실행할 때의 흔한 해결법을 포함합니다.
agent-desktop-windows
15k에이전트가 Windows 앱을 자동화하는 방법을 보여 줍니다. 작동하는 것, PowerShell 따옴표, 최소화된 창, 권한이 높은 앱의 한계를 다룹니다.
agent-desktop
15k접근성 트리를 읽고, 클릭하고, 입력하고, 결과를 확인해 Mac, Windows, Linux의 데스크톱 앱을 에이전트가 보고 조작하도록 합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.