agent-desktop-linux
БесплатноБез исполняемых скриптовНе проверенLinux setup and troubleshooting for agent-desktop: the AT-SPI bus, toolkit identity, X11 versus Wayland, capture consent, and headless refusals.
от vercel-labs★ 27 658 звёзд на GitHubОб этом скилле
agent-desktop on Linux
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
Use an at-spi2-core bridge with fix dc0dc33 before observing applications.
Ubuntu 22.04's older bridge can abort the target on Action.GetActions; a reachable bus does not prove it is safe.
Run agent-desktop status as the target's user in the same desktop session.
It probes the AT-SPI registry through the session's accessibility bus:
permissions.accessibility is granted when the registry answers, even if
list-apps is empty. denied with no supported_surfaces means the bus is
unavailable, not an empty desktop. Follow the reported setup suggestion.
automation is not_required. screen_recording is not_required when the
X11 capture probe answers and unknown on Wayland or an unproven display.
There is no accessibility permission dialog. The target must share the bus, including through a sandbox. Restart an app that predates the bus only after preserving its work. Never restart another user's or a shared host's live bus; use a private session and runtime directory for isolated work.
Platform behavior
- Semantic AT-SPI observation and actions work on X11 and Wayland. A reachable accessibility bus does not establish pointer, window-control, capture, shell, notification, or tray capability.
- GTK refs can retain native element addresses and ancestry. Chromium, Qt, and unknown-toolkit refs must be unique in the window or inside their nearest unique ancestor. Take fresh refs after list changes; a narrower drill does not disambiguate identical twins.
- A table reports
row_countandcolumn_count, and a large sheet is read by its cells in view. While a window shows a sheet read this way, a ref that carries no native element address is refused: a twin could sit among the cells that were not read. A cell's text is itsvalue. Where a spreadsheet names a cell by its address, get it withfind --role cell --name B7 --root '<table ref>'.set-valueon an editable cell takes a number; text has no background route and is refused.clickandselecton a table cell select it where the table supports that; a GTK3 tree view does not. - GTK4 list-backed dropdowns stay in the window tree. Use
wait --textandsnapshot --rootto read their contents, not a menu-surface wait. Menu-role popups use the menu surface instead. - Popup and dialog openers can take the foreground and refuse headless.
Qt combo selection may need pointer input to commit rather than highlight a row.
Stop on a headed-only refusal instead of changing mode. Headless
restoreof a minimized window and headlessminimizeof the focused window refuse withPOLICY_DENIED; the system raises or moves focus. - A headless graceful
close-appof a native Wayland client returnsACTION_NOT_SUPPORTED(details.cause: wayland_session).--forcediscards unsaved work. When it cannot read the focused window it fails withPOLICY_DENIED(details.kind: focus_unreadable) before any close request is sent. press --appworks headless only when the target's window is active. Otherwise it sends nothing and returnsACTION_FAILED(details.check: window_active), orSTALE_REFwhen the window has no process identity.- A GTK4 list or grid view has no row nodes, so
selectandclickcannot pick a row. - A window can precede its content. Wait for the application's observable result; an accepted AT-SPI call or a changed selected value does not prove that handlers ran. Wait for each effect before another click.
- Wayland refuses headed pointer input; window operations can use a mapped Xwayland client, but native Wayland windows lack that route.
- Authorized physical
typesends a newline asReturnon X11 too and refuses a tab and other control characters. On Wayland it sends a newline asReturnand a tab asTab, which can submit a form or move focus instead of inserting literal text. - Wayland per-window screenshots are unsupported; display capture uses a portal that can ask for consent. Ask the user before a visible consent flow, and do not retry a pending request in a loop.
- X11 capture depends on compositing: a covered noncomposited window may have no readable pixels, and a composited desktop may not support whole-screen capture. Neither failure authorizes focusing the target.
- Shell notifications need the supported GNOME service; tray reads need a StatusNotifierWatcher. A missing service is an error.
- Password-role values are withheld, but a field that only masks its text can be readable. Treat observation output as sensitive.
launchaccepts a program on PATH, an absolute path, an installed desktop id, or an unambiguous desktop entry name. A script launch attaches only to the interpreter process that runs that script, never to another script of the same interpreter. `--
Установить agent-desktop-linux в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agent-desktop-linux?
Linux setup and troubleshooting for agent-desktop: the AT-SPI bus, toolkit identity, X11 versus Wayland, capture consent, and headless refusals.
Как установить скилл agent-desktop-linux?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-desktop-linux запускает скрипты?
Нет, скилл состоит только из инструкций (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