agent-desktop-linux
하는 일
이 스킬은 어시스턴트에게 Linux 데스크톱에서 앱을 자동화하는 가이드를 줍니다. 디스플레이 시스템마다 무엇이 작동하는지도 포함합니다. Linux에서 에이전트가 앱을 읽거나 클릭하기를 원하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓Ubuntu 데스크톱의 앱을 어시스턴트가 읽거나 클릭하기를 원할 때.
- ✓Linux 자동화 명령이 앱을 보여 주지 않거나 접근성 버스가 이상할 때.
- ✓X11이나 Wayland에서 어떤 명령이 작동하는지 알아야 할 때.
스킬 링크
https://github.com/NanmiCoder/cc-haha/blob/main/native/agent-desktop/skills/agent-desktop-linux/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 Ubuntu 데스크톱에서 열려 있는 창을 읽고, 파일 관리자에 무엇이 있는지 알려 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
가이드는 접근성 버스처럼 필요한 데스크톱 설정을 설명하고, X11과 Wayland에서 작동하는 명령을 나열합니다. 어시스턴트는 그 단계를 따라 앱의 컨트롤을 보거나 조작합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
agent-desktop-linux
The observe-act loop, refs, JSON envelope, sessions and tracing match every platform. This file covers only what differs on Linux.
Needs Ubuntu 24.04+ (x86_64 or aarch64), a graphical session of the signed-in
user and a running AT-SPI bus. Other distributions need the at-spi2-core bridge
fix dc0dc33; Ubuntu 22.04's bridge aborts on Action.GetActions. The archive
loader floor is glibc 2.35. Run the CLI inside the target apps' desktop session:
the session bus, display and runtime directory come from its environment. A TTY
login, an SSH shell without session variables, a container without a bus or
another user's session sees no apps. GNOME is the measured desktop; X11 and
Wayland sessions both work and differ in input, capture and window control.
Observation and semantic actions need no helper tool.
Capability Table
| Group | Commands | Status on Linux |
|---|---|---|
| Observation | snapshot, find, get, is |
Works on X11 and Wayland through AT-SPI. Supports window, sheet, alert and menu; GNOME adds shell surfaces. Virtual tray getters have limits; see the shell reference and check status |
| Surfaces | list-surfaces |
Lists an app's windows, sheets and open menus; shell reads use snapshot --surface |
| Ref interaction | click, right-click, type, set-value, clear, select, toggle, check, uncheck, expand, collapse, scroll-to |
Need a readable live identity and the required AT-SPI capability. See the shell reference for menu-ref resolution limits; X11 headed fallback also needs usable geometry and does not bypass identity checks |
| Wheel scrolling | scroll, mouse-wheel |
Physical wheel input; X11 and --headed only |
| Pointer gestures | double-click, triple-click, hover, drag |
--headed, X11 only. On Wayland the pointer cannot be aimed and these refuse with ACTION_NOT_SUPPORTED |
| Focus | focus |
Needs --headed for the focus permission. Calls AT-SPI Component.GrabFocus on a focusable node that is not yet focused, not the pointer, and verifies the state; a GTK4 app rejects the call, so focus ends ACTION_FAILED grab_focus_rejected there and focus-window is the way to focus its window |
| Keyboard and mouse | press, mouse-click, mouse-move, mouse-wheel |
press and text keys work on X11 and capability-detected Mutter Wayland sessions; pointer commands are X11 and --headed. See references/display-servers-and-input.md |
| Held input | key-down, key-up, mouse-down, mouse-up |
Fail closed on every platform: on Linux, key-down and key-up with ACTION_NOT_SUPPORTED; mouse-down and mouse-up with POLICY_DENIED headless and ACTION_NOT_SUPPORTED with --headed |
| App and window | launch, close-app, list-windows, list-apps, focus-window, move-window, resize-window, minimize, maximize, restore |
Launch and listing work on X11 and Wayland; focus-window requires X11. Other window control and graceful close need an X11 client. See references/windows-and-lifecycle.md |
| Displays | list-displays |
Works |
| Capture | screenshot |
X11: a window without permission; a display only under a non-compositing manager. Wayland: portal consent, with display cropping. No selector returns the primary display. See references/capture-and-clipboard.md |
| Clipboard | clipboard-get, clipboard-set, clipboard-clear |
Works; text, images and file lists. Wayland needs wl-clipboard |
| Wait | wait |
Works for ms, --element, --window, --text, --menu, --menu-closed, --event. Menu waits share the menu-surface detector; --notification waits for a new notification on GNOME |
| Notifications | list-notifications, dismiss-notification, dismiss-all-notifications, notification-action |
GNOME Shell only; list headless, mutations --headed on X11, and dismiss-notification and notification-action also need --expected-app or --expected-title. Fields are read from the shell's widget layout, verified on GNOME Shell 46.0 only, and each mutation is proven by its effect. Wayland refuses the shell pointer before input. A notification owner that is not the shell or its own helper returns PLATFORM_NOT_SUPPORTED. See the shell reference |
| Shell surfaces | open-system-surface |
Only system-tray and action-center can work. system-tray needs a StatusNotifierWatcher (else it refuses with watcher: absent); action-center needs proven |
자주 묻는 질문
이것이 작동하려면 무엇이 필요한가요?
사용자의 그래픽 세션과 실행 중인 접근성 버스가 필요합니다. 검증된 환경은 Ubuntu 24.04 이상입니다.
왜 앱이 보이지 않나요?
일반 터미널이나 다른 사용자의 세션에서 실행한 명령은 데스크톱 앱을 보지 못할 수 있으므로, 대상 세션에서 실행하세요.
Wayland에서도 같은가요?
항상 같지는 않습니다. 입력, 화면 캡처, 창 제어가 X11과 Wayland에서 다릅니다.
상세 정보
작성자의 원본 설명
Linux platform guide for the agent-desktop CLI. Lists per command group what works on X11 and on Wayland, how to check the AT-SPI accessibility bus, the first-contact gotchas (app names, Chromium and Electron flags, headed focus, blocked key combos), and where to find lifecycle, screenshot, clipboard, tray, notification and troubleshooting details. Triggers on: "linux desktop automation", "AT-SPI tree", "automate GNOME app", "agent-desktop on Linux", "accessibility bus not available", "empty supported_surfaces", "wayland screenshot consent", or any Linux GUI interaction task.
repo: NanmiCoder/cc-haha
인기도
- GitHub 스타
- 15k
- 순위
- #10914
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-desktop-ffi
15k개발자가 Python, Swift, Node, Go, C++에서 agent-desktop 자동화 라이브러리를 직접 호출하도록 돕습니다. 행동마다 명령줄 도구를 시작하지 않아도 됩니다.
agent-desktop-macos
15k에이전트가 Mac 앱을 자동화하는 방법을 보여 줍니다. 필요한 권한 허용, 메뉴와 대화상자, Chromium이나 Electron 앱 다루기를 포함합니다.
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에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.