/atr-skills:atr-computerfrom atr-skills
Controls desktop (mouse, keyboard, screenshots, windows, apps) cross-platform via ATR CLI. Includes an in-process LLM agent for natural-language desktop automation. Useful for native UI testing, multi-monitor flows, and combined web+desktop workflows.
Ships in atr-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Companion skill —
atr-browsercontrols Chromium for any in-page operation (navigate, click on web elements, fill forms, scrape). Load both when:
- You need to drag a file from the OS file manager into a browser upload zone.
- Authentication or a native dialog (1Password, system file picker) is part of the flow.
- You're delegating a high-level task that touches both —
atr computer ask "..."can shell out toatr browser ...and vice versa.Computer daemon listens on port 9334; browser daemon on 9333. Both can run simultaneously.
This skill provides cross-platform desktop control through ATR's computer daemon. Mouse, keyboard, screen capture, window management, app launch, and an in-process LLM agent (atr computer ask) — all driven from the same atr CLI that powers atr-browser.
Claude Code --> atr CLI --> ATR Computer Daemon --> robotgo (X11 / macOS / Windows)
The daemon enforces a configurable safety countdown before every action so the user can intervene with Ctrl+C. Read-only operations (screenshot, position, list windows) skip the countdown.
When the daemon is started without --no-gui it also surfaces the countdown in a small native overlay so MCP/Claude-Code clients (which don't see the daemon's terminal) can still interrupt visually. On Linux the overlay uses zenity (full Cancel button — clicking it aborts the action with ErrAborted); when only notify-send is available it falls back to a one-shot desktop notification (visual only — abort still works via Ctrl+C in the daemon terminal). On macOS it uses osascript display notification; on Windows it uses a PowerShell toast. If no backend can initialize, the daemon logs a warning and continues with terminal-only countdown.
Linux: X11 only in v1. Wayland is not supported yet. GUI overlay: install
zenityfor an abortable dialog (apt install zenity); fall back tolibnotify-binfor visual-only notifications.
atr computer status
If not running:
atr computer start # default: per-request 3s countdown
atr computer start --countdown-mode per-app # countdown only on first action per app
atr computer start --countdown-mode off # no countdown (trusted batch runs)
atr computer start --countdown 1 # 1-second countdown
State and logs:
~/.atr/computer.state~/.atr/computer.logatr computer screenshot --output /tmp/desk.png
atr computer screenshot --output /tmp/region.png --region 0,0,800,600
atr computer click 800 50
atr computer click 800 50 --double
atr computer click 800 50 --button right
atr computer move 100 100
atr computer drag --from 200,300 --to 1200,400
atr computer scroll --dy -3
atr computer hover 500 500
atr computer type "Hello, world"
atr computer key enter
atr computer chord ctrl+shift+t
atr computer --json window list # enumerate
atr computer window active # focused window
atr computer window focus --title "Firefox" # by title or app name
atr computer window minimize --title "Slack"
atr computer window maximize --title "Code"
atr computer window restore --id 12345
atr computer window close --title "Calculator"
atr computer window move --id 12345 --to 100,100
atr computer window resize --id 12345 --size 800,600
atr computer app launch firefox
atr computer app launch xclock
atr computer app quit firefox
atr computer stop
| Mode | Behavior |
|---|---|
per-request | Default. Every gated action shows a countdown. |
per-app | First action against an app prompts; subsequent actions auto-approve. |
off | No countdown. Explicit opt-in for trusted batches. |
Aborting: press Ctrl+C in the daemon's terminal during a countdown. The action returns aborted by user.
atr-browserATR can drive both desktop and browser in one flow. Example: end-to-end drag-and-drop between the OS file manager and a browser upload zone.
atr browser start
atr browser navigate https://example.com/upload
atr computer start --countdown-mode off
# On Linux a new browser page opens in its own window *behind* yours, so bring
# it forward before dropping onto it by coordinates.
atr computer window focus --title "Upload" # the page's title
atr computer app launch nautilus
atr computer window focus --title "Files"
atr computer drag --from 200,300 --to 1200,400 # drag file into browser
atr browser screenshot --output /tmp/dnd.png
For browser-only workflows, see the atr-browser skill. For combined workflows, both daemons can run simultaneously on different ports (browser: 9333, computer: 9334).
atr computer ask)Instead of issuing one command at a time, you can describe a desktop task in plain language and let an agent loop drive the screenshots, clicks, and keystrokes:
atr computer ask "open xclock and tell me what time it shows"
atr computer ask "list the open windows that contain 'chrome' in the title"
atr computer ask --max-steps 30 --timeout 10m "open the GNOME calculator and compute 17 * 23"
The agent uses the LLM backend configured for ATR (backend: gemini-api | vertex-ai | vertex-claude | claude-cli in ~/.atr/config.yaml). Default model aliases:
| Backend | Tier | Model |
|---|---|---|
gemini-api / vertex-ai | flash | gemini-3.7-flash |
gemini-api / vertex-ai | pro | gemini-3.1-pro-preview |
vertex-claude | sonnet | claude-sonnet-5 |
vertex-claude | opus | claude-opus-5 |
Override per-run with the global --model flag (e.g. atr --model pro computer ask "..."). With backend: claude-cli, the model flag is ignored and Claude CLI is invoked as a subprocess.
Tools the agent can call (curated subset):
computer_screenshot (image fed back to the LLM), computer_displays, computer_active_window, computer_list_windows, computer_positioncomputer_click, computer_type, computer_press_key, computer_key_chord, computer_focus_window, computer_window_state (minimize/maximize/restore/close), computer_launch_appLimits and gotchas:
--model pro a 10-step task is measurable spend.atr computer start --countdown-mode per-app so the first action against an app prompts and subsequent ones auto-approve.ATR uses root coordinates as the public API for clicks, moves, drags, and window positions. Root coords have a single bounding-box origin at (0, 0) covering all monitors — every visible coordinate is non-negative, matching xrandr and the X11 root window. atr computer --json window list and atr computer displays both return root coords.
For interactive use it's often easier to think in display-local pixels. Every mouse command accepts --display N, which interprets x and y as pixels relative to that display's top-left:
# Display 0 is primary (whose root origin may NOT be (0, 0) on multi-monitor setups)
atr computer click --display 0 100 200 # display-local
atr computer click 1540 200 # root coords (equivalent on a setup where primary is at root (1440, 0))
atr computer screenshot --region X,Y,W,H is always display-local within the chosen --display.
A common workflow:
atr computer displays # see each display's root bounds
atr computer --json window list # find a window's root bounds
atr computer screenshot --display 0 --region X,Y,W,H # crop using display-local pixels
atr computer click --display 0 X Y # click the spot you cropped
atr computer --json window list to enumerate windows, then operate on a specific ID for stability.WM_CLASS (window class), so all Chrome windows share one approval.--output to a local path the user expects.--display N with display-local pixels for new code; reach for absolute root coords only when relaying values from window list.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/atr-analyzeRun tests, linters, type checkers, and builds with AI-powered analysis. Use this INSTEAD OF running test/lint/build commands directly via Bash. Wraps any command (pytest, jest, go test, make test, npm test, make lint, mypy, tsc, eslint, golangci-lint, cargo clippy, make typecheck, make build, etc.) to produce clean summarized output, keeping conversation context small. When a test or lint fails, ATR analyzes the full output and returns actionable failure insights./atr-authorWrite, author, add or record an ATR behaviour test. Convert a manual test case or a QA script into a .test.txt spec. Use when creating a new browser test, turning a bug report into a regression test, or fixing a spec that compiles badly, produces a false pass, or keeps needing repair. Companion to atr-behavior, which covers running tests that already exist./atr-behaviorRun behavior tests, run browser tests, execute .test.txt files, run e2e tests with ATR, replay compiled browser tests, natural language browser testing, or triage a failing ATR behaviour test. For writing or recording a new spec, use atr-author instead./atr-browserControl browser, automate browser interactions, navigate to URLs, click on webpages, fill forms, take screenshots, inspect webpages, web scraping with browser, test websites manually, or interact with web pages programmatically using ATR browser server mode. Pairs with the atr-computer skill when a workflow needs the OS desktop too (drag-and-drop from the file manager, system dialogs, native apps)./atr-recordRecord a browser session to disk and read back what went wrong — console errors, failed requests, and the frames that were on screen when they happened. Use when a browser run failed and the transcript is not enough, when you need evidence of a flaky reproduction, or when somebody wants to watch what an agent did. Also covers `atr remote`, the live view that streams the running browser into a web page. Pairs with atr-browser, which drives the browser this records.npx claudepluginhub imyousuf/agentic-test-runner --plugin atr-skillsOther plugins' skills for the same job